trying to compile this on x86-64 I get the following output, has this
been compiled on x86?
Code:
--------------------
sudo make
cc -O2 -Wall -DHAIRTUNES_STANDALONE hairtunes.c alac.o http.o -o
shairport_helper -lm -lpthread -lao -lssl -lcrypto
hairtunes.c: In function rtp_thread_func:
hairtunes.c:396:15: warning: unused variable si_len [-Wunused-variable]
hairtunes.c: In function audio_thread_func:
hairtunes.c:903:17: warning: format %li expects argument of type long
int, but argument 3 has type ssize_t [-Wformat]
hairtunes.c: In function http_on_headers_complete:
hairtunes.c:923:9: warning: format %li expects argument of type long int,
but argument 3 has type ssize_t [-Wformat]
hairtunes.c:923:9: warning: format %lu expects argument of type long
unsigned int, but argument 4 has type size_t [-Wformat]
hairtunes.c: At top level:
hairtunes.c:669:13: warning: bf_est_reset defined but not used
[-Wunused-function]
/usr/bin/ld: i386:x86-64 architecture of input file `alac.o' is incompatible
with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `http.o' is incompatible
with i386 output
collect2: ld returned 1 exit status
make: *** [shairport_helper] Error 1
--------------------
------------------------------------------------------------------------
atca's Profile: http://forums.slimdevices.com/member.php?userid=56880
View this thread: http://forums.slimdevices.com/showthread.php?t=100379
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins