2015-03-05, 15:18
Kodi 15.0a1 on Arch Linux (x86_64).
It looks like Texturepacker is failing to link statically, I got no issue if I remove the static linking (# sed '/--enable-static/d' -i tools/depends/native/TexturePacker/Makefile).
See full build log: https://dl.dropboxusercontent.com/u/6902...0305-1.log
It looks like Texturepacker is failing to link statically, I got no issue if I remove the static linking (# sed '/--enable-static/d' -i tools/depends/native/TexturePacker/Makefile).
Code:
g++ -DTARGET_POSIX -DUSE_LZO_PACKING -g -D_DEBUG -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu++11 -llzo2 -ljpeg -lgif -lpng16 -lm -lz -lm -L/tmp/archlinux-pkgbuilds/kodi-devel/src/kodi-15.0a1-Isengard/tools/depends/native/libsquish-native/squish-install/lib -lsquish -static -Wl,-O1,--sort-common,--as-needed,-z,relro -o TexturePacker md5.o XBTFWriter.o TexturePacker.o DecoderManager.o decoder/PNGDecoder.o decoder/JPGDecoder.o decoder/GifHelper.o decoder/GIFDecoder.o XBTF.o -llzo2 -ljpeg -lgif -lpng16 -lm -lz -lm -L/tmp/archlinux-pkgbuilds/kodi-devel/src/kodi-15.0a1-Isengard/tools/depends/native/libsquish-native/squish-install/lib -lsquish
/usr/bin/ld: cannot find -llzo2
/usr/bin/ld: cannot find -ljpeg
/usr/bin/ld: cannot find -lgif
/usr/bin/ld: cannot find -lpng16
/usr/bin/ld: cannot find -llzo2
/usr/bin/ld: cannot find -ljpeg
/usr/bin/ld: cannot find -lgif
/usr/bin/ld: cannot find -lpng16
collect2: error: ld returned 1 exit status
Makefile:423: recipe for target 'TexturePacker' failed
make[2]: *** [TexturePacker] Error 1
make[2]: Leaving directory '/tmp/archlinux-pkgbuilds/kodi-devel/src/kodi-15.0a1-Isengard/tools/depends/native/TexturePacker/native'
Makefile:313: recipe for target 'all' failed
make[1]: *** [all] Error 2
See full build log: https://dl.dropboxusercontent.com/u/6902...0305-1.log