LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   XBMC 12 compiling fails on current (http://www.linuxquestions.org/questions/slackware-14/xbmc-12-compiling-fails-on-current-4175456720/)

vdemuth 04-03-2013 11:49 AM

XBMC 12 compiling fails on current
 
Anyone managed to get the latest version (12.0) of XBMC running on current.

Have tried both the slackbuild, sbopkg and building from source and whichever method is used the failure/error is the same. Extract below.

Code:

make[1]: Entering directory `/tmp/SBo/xbmc-12.0/tools/TexturePacker'
/usr/bin/ccache g++ -I. -I/tmp/SBo/xbmc-12.0/lib -I/tmp/SBo/xbmc-12.0/xbmc -I/tmp/SBo/xbmc-12.0/xbmc/linux -O2 -O2 -fPIC -I/tmp/SBo/xbmc-12.0/include -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG=1 -D_LINUX -DUSE_LZO_PACKING -DTARGET_POSIX -DTARGET_LINUX -D_LINUX -D_FILE_DEFINED -D__STDC_CONSTANT_MACROS -DBIN_INSTALL_PATH="\"/usr/lib64/xbmc\"" -DINSTALL_PATH="\"/usr/share/xbmc\"" -DHAS_SDL_JOYSTICK -DMID -D'GIT_REV="Unknown"' -DHAVE_CONFIG_H  -I/tmp/SBo/xbmc-12.0/lib -I/tmp/SBo/xbmc-12.0/xbmc -D_GNU_SOURCE=1 -D_REENTRANT -I/tmp/SBo/xbmc-12.0 -I/tmp/SBo/xbmc-12.0/taglib-1.8/usr/include -I/usr/include/SDL -I/usr/include/alsa -I/usr/include/dbus-1.0 -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/libpng14 -I/usr/include/mysql -I/usr/lib64/dbus-1.0/include -I/tmp/SBo/xbmc-12.0/lib/ffmpeg -I/tmp/SBo/xbmc-12.0/xbmc/linux -I/tmp/SBo/xbmc-12.0/xbmc/cores/dvdplayer md5.cpp SDL_anigif.cpp XBTFWriter.cpp XBMCTex.cpp /tmp/SBo/xbmc-12.0/xbmc/guilib/XBTF.cpp -L/tmp/SBo/xbmc-12.0/taglib-1.8/usr/lib64 -ltag -L/tmp/SBo/xbmc-12.0/lib/libsquish -lsquish -lSDL_image -lSDL -llzo2 -o TexturePacker
CPP    xbmc/commons/ilog.o
AR      xbmc/commons/commons.a
LD      xbmc-xrandr
/usr/lib64/gcc/x86_64-slackware-linux/4.8.0/../../../../x86_64-slackware-linux/bin/ld: /tmp/ccL3QqpG.o: undefined reference to symbol '__pthread_key_create@@GLIBC_2.2.5'
/usr/lib64/gcc/x86_64-slackware-linux/4.8.0/../../../../x86_64-slackware-linux/bin/ld: note: '__pthread_key_create@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line
/lib64/libpthread.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [TexturePacker] Error 1
make[1]: Leaving directory `/tmp/SBo/xbmc-12.0/tools/TexturePacker'
make: *** [tools/TexturePacker/TexturePacker] Error 2
make: *** Waiting for unfinished jobs....

Could do with getting this running.

willysr 04-03-2013 12:59 PM

try upgrading your binutils to the latest one on -Current and recompile

fskmh 04-03-2013 02:41 PM

I'm running slack64-current (Apr 3) with binutils-2.23.52.0.1-x86_64-2 and I've just compiled xbmc-12.1 without any ld errors about libpthread.

vdemuth 04-04-2013 12:35 AM

Quote:

Originally Posted by willysr (Post 4924452)
try upgrading your binutils to the latest one on -Current and recompile

That worked.

Thanks


All times are GMT -5. The time now is 03:13 AM.