2011-10-02, 17:02
Hi guys,
I installed libshairport with the bundled Makefile and configured --with-airtunes, but building xbmc fails on AirTunesServer.
This is Gentoo GCC 4.5.3 on x86_64.
Interestingly, the xbmc live ebuild fails already in configure:
Perhaps I am missing some dependencies?
I installed libshairport with the bundled Makefile and configured --with-airtunes, but building xbmc fails on AirTunesServer.
Code:
CPP AirTunesServer.o
AirTunesServer.cpp: In member function ‘bool CAirTunesServer::Initialize(const CStdString&)’:
AirTunesServer.cpp:346:22: error: aggregate ‘printfPtr funcPtr’ has incomplete type and cannot be defined
/tmp/xbmc/xbmc/utils/CharsetConverter.h: At global scope:
/tmp/xbmc/xbmc/utils/CharsetConverter.h:83:157: warning: ‘g_charsetConverter’ defined but not used
make[1]: *** [AirTunesServer.o] Error 1
make[1]: Leaving directory `/tmp/xbmc/xbmc/network'
make: *** [xbmc/network/network.a] Error 2
This is Gentoo GCC 4.5.3 on x86_64.
Interestingly, the xbmc live ebuild fails already in configure:
Code:
configure:22819: checking for shairport_set_ao in -lshairport
configure:22844: x86_64-pc-linux-gnu-gcc -o conftest -march=core2 -maes -mpclmul -msahf -msse3 -msse4 -msse4.1 -msse4.2 -mssse3 -mstackrealign -mtune=generic -O2 -pipe -fPIC -DPIC -D_REENTRANT -D_LARGEFILE6
4_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG=1 -Wl,-O1 -Wl,--as-needed conftest.c -lshairport -lsmbclient -lXrandr -lavahi-client -lavahi-common -lpulse -lmicrohttpd -lSDL_image -lSDL_mixer -lrt -ljasper -lre
solv -ldl -lyajl -lssh -lmysqlclient -lssl -lcrypto -lz -llzo2 -lpthread -ltiff -ljpeg -lbz2 -lGLU -lGLEW -lGL -Wl,-O1 -Wl,--as-needed -rdynamic -L/usr/lib64/mysql -lmysqlclient -L/usr//lib64 -lz -lcrypt -
lnsl -lm -L/usr/lib64/ -lssl -lcrypto -lfontconfig -lfribidi -lsqlite3 -lpng14 -lpcre -lpcrecpp -lcdio -lm -lsamplerate -lfreetype -lasound -ldbus-1 -lpthread -lrt -lSDL -lpthread -l
X11 -lXext -lXt -lX11 -lXmu -lXt -lX11 >&5
/usr/local/lib64/libshairport.so: undefined reference to `sincos'
/usr/local/lib64/libshairport.so: undefined reference to `pow'
collect2: ld returned 1 exit status
Perhaps I am missing some dependencies?