xbmc_svn: apply upstream patch »complete replacement of liblzo with liblzo2, linux was already liblzo2«
PATCH 1/1 xbmc_svn: apply upstream patch »complete replacement of liblzo with liblzo2, linux was already liblzo2«
Date: Tue, 30 Nov 2010 16:45:26 +0100
Task compile fails with /bin/grep: /usr/lib/libz.la: No such file or directory.
| make -C .. | make[2]: Entering directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/lib/libass' | cd . && /bin/sh ./config.status Makefile | config.status: creating Makefile | make[2]: Leaving directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/lib/libass' | make[2]: Entering directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/lib/libass' | make[3]: Entering directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/lib/libass' | Making all in libass | make[4]: Entering directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/lib/libass/libass' | cd .. && /bin/sh ./config.status libass/Makefile depfiles | config.status: creating libass/Makefile | config.status: executing depfiles commands | make[4]: Leaving directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/lib/libass/libass' | make[4]: Entering directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/lib/libass/libass' | CC ass.o | CC ass_cache.o | CC ass_font.o | CC ass_fontconfig.o | CC ass_render.o | CC ass_utils.o | CC ass_bitmap.o | CC ass_library.o | CC ass_drawing.o | CC ass_parse.o | CC ass_strtod.o | LINK libass.la | arm-angstrom-linux-gnueabi-libtool: link: warning: library `/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libfreetype.la' was moved. | /bin/grep: /usr/lib/libz.la: No such file or directory | /bin/sed: can't read /usr/lib/libz.la: No such file or directory | arm-angstrom-linux-gnueabi-libtool: link: `/usr/lib/libz.la' is not a valid libtool archive | make[4]: *** [libass.la] Error 1 | make[4]: Leaving directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/lib/libass/libass' | make[3]: *** [all-recursive] Error 1 | make[3]: Leaving directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/lib/libass' | make[2]: *** [all] Error 2 | make[2]: Leaving directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/lib/libass' | make[1]: *** [../libass/.libs/libass.so] Error 2 | make[1]: Leaving directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/lib/libass/xbmc' | make: *** [dvdpcodecs] Error 2 | FATAL: oe_runmake failed | ERROR: Function do_compile failed
NOTE: package xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe: task do_compile: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /oe/openembedded/recipes/xbmc/xbmc_svn.bb do_compile failed
ERROR: Task 13 (/oe/openembedded/recipes/xbmc/xbmc_svn.bb, do_compile) failed with 256
ERROR: '/oe/openembedded/recipes/xbmc/xbmc_svn.bb' failed
ERROR: '/oe/openembedded/recipes/xbmc/xbmc_svn.bb' failed
ERROR: '/oe/openembedded/recipes/xbmc/xbmc_svn.bb' failed
A fix was provided upstream in changeset 35484 [1][2] and on the list by Eric Colleu [3].
This patch is build tested with angstrom-2008.1 and minimal.
[1] http://trac.xbmc.org/changeset/35484
[2] https://github.com/xbmc/xbmc/commit/9e765ccae4ef9753c94b793f44931d84f65ca99c
[3] http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-November/027418.html
--- recipes/xbmc/xbmc/0012-fix-lzo-things.patch | 45 +++++++++++++++++++++++++++ recipes/xbmc/xbmc_svn.bb | 3 +- 2 files changed, 47 insertions(+), 1 deletions(-) create mode 100644 recipes/xbmc/xbmc/0012-fix-lzo-things.patch
recipes/xbmc/xbmc/0012-fix-lzo-things.patch new file +45 -0
@@ -0,0 +1,45 @@ +status: applied +origin: https://github.com/xbmc/xbmc/commit/9e765ccae4ef9753c94b793f44931d84f65ca99c + +Index: /tools/TexturePacker/Makefile.in +=================================================================== +--- /tools/TexturePacker/Makefile.in (revision 33752) ++++ /tools/TexturePacker/Makefile.in (revision 35484) +@@ -3,5 +3,5 @@ + DEFINES = + ifeq ($(findstring osx,$(ARCH)),osx) +-LIBS = ../../xbmc/lib/libsquish/libsquish-@[email protected] -L/opt/local/lib -lSDL_image -lSDL -llzo ++LIBS = ../../xbmc/lib/libsquish/libsquish-@[email protected] -L/opt/local/lib -lSDL_image -lSDL -llzo2 + else + LIBS = ../../xbmc/lib/libsquish/libsquish-@[email protected] -lSDL_image -lSDL -llzo2 +Index: /tools/TexturePacker/XBMCTex.cpp +=================================================================== +--- /tools/TexturePacker/XBMCTex.cpp (revision 35328) ++++ /tools/TexturePacker/XBMCTex.cpp (revision 35484) +@@ -41,5 +41,5 @@ + + #ifdef _LINUX +-#include <lzo1x.h> ++#include <lzo/lzo1x.h> + #else + #include "../../xbmc/lib/liblzo/LZO1X.H" +Index: /configure.in +=================================================================== +--- /configure.in (revision 35468) ++++ /configure.in (revision 35484) +@@ -1074,5 +1074,4 @@ + AC_HEADER_STDC + AC_HEADER_SYS_WAIT +-AC_CHECK_HEADERS([lzo/lzo1.h]) + AC_CHECK_HEADERS([arpa/inet.h fcntl.h float.h inttypes.h limits.h locale.h \ + malloc.h memory.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h \ +@@ -1186,10 +1185,4 @@ + else + final_message="$final_message\n MID Support:\tNo" +-fi +- +-if test -d "/usr/include/lzo"; then +- INCLUDES="$INCLUDES -I/usr/include/lzo" +-else +- INCLUDES="$INCLUDES" + fi
recipes/xbmc/xbmc_svn.bb +2 -1
@@ -7,7 +7,7 @@ require recipes/egl/egl.inc SRCREV = "e2ab481ebe964321c358ab9d6402088c714adcbe" PV = "10.05" -PR = "r9" +PR = "r10" PR_append = "+gitr${SRCPV}" SRC_URI = "git://xbmc.git.sourceforge.net/gitroot/xbmc/xbmc;protocol=git;branch=master \
@@ -22,6 +22,7 @@ file://0008-configure.in-also-pass-down-target-when-using-host-a.patch \ file://0009-Added-a-configure-option-disable-optical-drive.patch \ file://0010-Fixed-so-compile-worked-when-disabling-optical.patch \ file://0011-reverted-so-normal-bootstrap-doesn-t-exclude-gnu-con.patch \ +file://0012-fix-lzo-things.patch \ " inherit autotools gettext
Signature · 1 line
1.7.2.3
Date: Tue, 30 Nov 2010 16:45:26 +0100
Task compile fails with /bin/grep: /usr/lib/libz.la: No such file or directory.
| SDL_anigif.c:1: warning: switch -mcpu=cortex-a8 conflicts with -march= switch
| arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -MD -c -isystem/oe/build/angstrom-dev/sysroots /armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive -fvisibility-inlines-hidden -fPIC -DPIC -D_REEN TRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall -O2 -mfloat-abi=softfp -mno-apcs-stack-check -Wa,-march=armv7a -mcpu=cortex-a8 -mfpu=neon -mvectorize-with-neon -quad -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -fper missive -fvisibility-inlines-hidden -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall -O2 -mfloat-abi=softfp -mno-apcs-stack-check -Wa,-march= armv7a -mcpu=cortex-a8 -mfpu=neon -mvectorize-with-neon-quad -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations - frename-registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive -fvisibility-inlines-hidden -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall - O2 -mfloat-abi=softfp -mno-apcs-stack-check -Wa,-march=armv7a -mcpu=cortex-a8 -mfpu=neon -mvectorize-with-neon-quad -D_LINUX -D_FILE_DEFINED -D__STDC_CONSTANT_MACROS -DBIN_INSTALL _PATH="\"/usr/lib/xbmc\"" -DINSTALL_PATH="\"/usr/share/xbmc\"" -DHAS_SDL_JOYSTICK -D'SVN_REV="Unknown"' -D_ARMEL -DHAVE_CONFIG_H -I../../xbmc/utils -I../../guilib -I../../xbmc/lin ux -I../../xbmc/lib/libsquish -D_GNU_SOURCE=1 -D_REENTRANT -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/ -I/oe/build/angstrom-dev /sysroots/armv7a-angstrom-linux-gnueabi/usr/include/SDL -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/alsa -I/oe/build/angstrom-de v/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/dbus-1.0 -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/freetype2 -I/oe/build/ angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/fribidi -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/glib-2.0 -I/ oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/libpng12 -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/dbus-1.0/include
-I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/glib-2.0/include -I/oe/build/angstrom-dev/sysroots/i686-linux/usr/armv7a/include -I/hom
e/paul/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git XBTFWriter.cpp -o XBTFWriter.o
| XBTFWriter.cpp:1: warning: switch -mcpu=cortex-a8 conflicts with -march= switch
| arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -MD -c -isystem/oe/build/angstrom-dev/sysroots /armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive -fvisibility-inlines-hidden -fPIC -DPIC -D_REEN TRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall -O2 -mfloat-abi=softfp -mno-apcs-stack-check -Wa,-march=armv7a -mcpu=cortex-a8 -mfpu=neon -mvectorize-with-neon -quad -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -fper missive -fvisibility-inlines-hidden -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall -O2 -mfloat-abi=softfp -mno-apcs-stack-check -Wa,-march= armv7a -mcpu=cortex-a8 -mfpu=neon -mvectorize-with-neon-quad -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations - frename-registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive -fvisibility-inlines-hidden -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall - O2 -mfloat-abi=softfp -mno-apcs-stack-check -Wa,-march=armv7a -mcpu=cortex-a8 -mfpu=neon -mvectorize-with-neon-quad -D_LINUX -D_FILE_DEFINED -D__STDC_CONSTANT_MACROS -DBIN_INSTALL _PATH="\"/usr/lib/xbmc\"" -DINSTALL_PATH="\"/usr/share/xbmc\"" -DHAS_SDL_JOYSTICK -D'SVN_REV="Unknown"' -D_ARMEL -DHAVE_CONFIG_H -I../../xbmc/utils -I../../guilib -I../../xbmc/lin ux -I../../xbmc/lib/libsquish -D_GNU_SOURCE=1 -D_REENTRANT -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/ -I/oe/build/angstrom-dev /sysroots/armv7a-angstrom-linux-gnueabi/usr/include/SDL -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/alsa -I/oe/build/angstrom-de v/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/dbus-1.0 -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/freetype2 -I/oe/build/ angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/fribidi -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/glib-2.0 -I/ oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/libpng12 -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/dbus-1.0/include
-I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/glib-2.0/include -I/oe/build/angstrom-dev/sysroots/i686-linux/usr/armv7a/include -I/hom
e/paul/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git XBMCTex.cpp -o XBMCTex.o
| XBMCTex.cpp:1: warning: switch -mcpu=cortex-a8 conflicts with -march= switch
| XBMCTex.cpp: In function 'CXBTFFrame createXBTFFrame(SDL_Surface*, CXBTFWriter&, double, unsigned int)':
| XBMCTex.cpp:235: warning: unused variable 'format'
| XBMCTex.cpp:236: warning: unused variable 'colorMSE'
| XBMCTex.cpp:236: warning: unused variable 'alphaMSE'
| arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build/angstrom-dev/sysroots/armv7a -angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive -fvisibility-inlines-hidden -fPIC -DPIC -D_REENTRANT - D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall -O2 -mfloat-abi=softfp -mno-apcs-stack-check -Wa,-march=armv7a -mcpu=cortex-a8 -mfpu=neon -mvectorize-with-neon-quad - isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive
-fvisibility-inlines-hidden -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall -O2 -mfloat-abi=softfp -mno-apcs-stack-check -Wa,-march=armv7a
-mcpu=cortex-a8 -mfpu=neon -mvectorize-with-neon-quad -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename -registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive -fvisibility-inlines-hidden -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall -O2 -mfl
oat-abi=softfp -mno-apcs-stack-check -Wa,-march=armv7a -mcpu=cortex-a8 -mfpu=neon -mvectorize-with-neon-quad SDL_anigif.o XBTFWriter.o XBMCTex.o ../../guilib/XBTF.o -L/home/pa
ul/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl, --hash-style=gnu ../../xbmc/lib/libsquish/libsquish-arm.a -lSDL_image -lSDL -llzo2 -o TexturePacker
| XBMCTex.o: In function `main':
| /oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/tools/TexturePacker/XBMCTex.cpp:394: undefined reference to `__lzo_init2' | collect2: ld returned 1 exit status
| make[1]: *** [TexturePacker] Error 1
| make[1]: Leaving directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/tools/TexturePacker' | make: *** [tools/TexturePacker/TexturePacker] Error 2
| FATAL: oe_runmake failed
| ERROR: Function do_compile failed
NOTE: package xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe: task do_compile: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /oe/openembedded/recipes/xbmc/xbmc_svn.bb do_compile failed
ERROR: Task 13 (/oe/openembedded/recipes/xbmc/xbmc_svn.bb, do_compile) failed with 256
ERROR: '/oe/openembedded/recipes/xbmc/xbmc_svn.bb' failed
ERROR: '/oe/openembedded/recipes/xbmc/xbmc_svn.bb' failed
ERROR: '/oe/openembedded/recipes/xbmc/xbmc_svn.bb' failed
A fix was provided upstream in changeset 35484 [1][2] and on the list by Eric Colleu [3].
This patch is build tested with angstrom-2008.1 and minimal.
[1] http://trac.xbmc.org/changeset/35484
[2] https://github.com/xbmc/xbmc/commit/9e765ccae4ef9753c94b793f44931d84f65ca99c
[3] http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-November/027418.html
---
v2: fix error message in commit message
--- recipes/xbmc/xbmc/0012-fix-lzo-things.patch | 45 +++++++++++++++++++++++++++ recipes/xbmc/xbmc_svn.bb | 3 +- 2 files changed, 47 insertions(+), 1 deletions(-) create mode 100644 recipes/xbmc/xbmc/0012-fix-lzo-things.patch
recipes/xbmc/xbmc/0012-fix-lzo-things.patch new file +45 -0
@@ -0,0 +1,45 @@ +status: applied +origin: https://github.com/xbmc/xbmc/commit/9e765ccae4ef9753c94b793f44931d84f65ca99c + +Index: /tools/TexturePacker/Makefile.in +=================================================================== +--- /tools/TexturePacker/Makefile.in (revision 33752) ++++ /tools/TexturePacker/Makefile.in (revision 35484) +@@ -3,5 +3,5 @@ + DEFINES = + ifeq ($(findstring osx,$(ARCH)),osx) +-LIBS = ../../xbmc/lib/libsquish/libsquish-@[email protected] -L/opt/local/lib -lSDL_image -lSDL -llzo ++LIBS = ../../xbmc/lib/libsquish/libsquish-@[email protected] -L/opt/local/lib -lSDL_image -lSDL -llzo2 + else + LIBS = ../../xbmc/lib/libsquish/libsquish-@[email protected] -lSDL_image -lSDL -llzo2 +Index: /tools/TexturePacker/XBMCTex.cpp +=================================================================== +--- /tools/TexturePacker/XBMCTex.cpp (revision 35328) ++++ /tools/TexturePacker/XBMCTex.cpp (revision 35484) +@@ -41,5 +41,5 @@ + + #ifdef _LINUX +-#include <lzo1x.h> ++#include <lzo/lzo1x.h> + #else + #include "../../xbmc/lib/liblzo/LZO1X.H" +Index: /configure.in +=================================================================== +--- /configure.in (revision 35468) ++++ /configure.in (revision 35484) +@@ -1074,5 +1074,4 @@ + AC_HEADER_STDC + AC_HEADER_SYS_WAIT +-AC_CHECK_HEADERS([lzo/lzo1.h]) + AC_CHECK_HEADERS([arpa/inet.h fcntl.h float.h inttypes.h limits.h locale.h \ + malloc.h memory.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h \ +@@ -1186,10 +1185,4 @@ + else + final_message="$final_message\n MID Support:\tNo" +-fi +- +-if test -d "/usr/include/lzo"; then +- INCLUDES="$INCLUDES -I/usr/include/lzo" +-else +- INCLUDES="$INCLUDES" + fi
recipes/xbmc/xbmc_svn.bb +2 -1
@@ -7,7 +7,7 @@ require recipes/egl/egl.inc SRCREV = "e2ab481ebe964321c358ab9d6402088c714adcbe" PV = "10.05" -PR = "r10" +PR = "r11" PR_append = "+gitr${SRCPV}" SRC_URI = "git://xbmc.git.sourceforge.net/gitroot/xbmc/xbmc;protocol=git;branch=master \
@@ -22,6 +22,7 @@ file://0008-configure.in-also-pass-down-target-when-using-host-a.patch \ file://0009-Added-a-configure-option-disable-optical-drive.patch \ file://0010-Fixed-so-compile-worked-when-disabling-optical.patch \ file://0011-reverted-so-normal-bootstrap-doesn-t-exclude-gnu-con.patch \ +file://0012-fix-lzo-things.patch \ " inherit autotools gettext
Signature · 1 line
1.7.2.3
Am Freitag, den 24.12.2010, 20:01 +0100 schrieb Paul Menzel:
Quoted 1 line
Date: Tue, 30 Nov 2010 16:45:26 +0100
This is commit 17ccf452 [4]. My thanks go to Khem for pushing this patch.
Quoted 1 line
Task
compilefails with/bin/grep: /usr/lib/libz.la: No such file or directory.
As you can see below the actual error is the following.
tools/TexturePacker/XBMCTex.cpp:394: undefined reference to `__lzo_init2'
[…]
Quoted 17 lines
| arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build/angstrom-dev/sysroots/armv7a -angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive -fvisibility-inlines-hidden -fPIC -DPIC -D_REENTRANT -
D_LARGEFILE64_SOURCE-D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall -O2 -mfloat-abi=softfp -mno-apcs-stack-check -Wa,-march=armv7a -mcpu=cortex-a8 -mfpu=neon -mvectorize-with-neon-quad - isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive
-fvisibility-inlines-hidden -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall -O2 -mfloat-abi=softfp -mno-apcs-stack-check -Wa,-march=armv7a
-mcpu=cortex-a8 -mfpu=neon -mvectorize-with-neon-quad -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename -registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive -fvisibility-inlines-hidden -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall -O2 -mfl
oat-abi=softfp -mno-apcs-stack-check -Wa,-march=armv7a -mcpu=cortex-a8 -mfpu=neon -mvectorize-with-neon-quad SDL_anigif.o XBTFWriter.o XBMCTex.o../../guilib/XBTF.o-L/home/pa
ul/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl, --hash-style=gnu ../../xbmc/lib/libsquish/libsquish-arm.a -lSDL_image -lSDL -llzo2 -o TexturePacker
| XBMCTex.o: In function `main':
| /oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/tools/TexturePacker/XBMCTex.cpp:394: undefined reference to `__lzo_init2' | collect2: ld returned 1 exit status
| make[1]: *** [TexturePacker] Error 1
| make[1]: Leaving directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe/git/tools/TexturePacker' | make: *** [tools/TexturePacker/TexturePacker] Error 2
| FATAL:oe_runmakefailed
Quoted 8 lines
| ERROR: Function
do_compilefailed
NOTE: package xbmc-10.05-r9+gitr0+e2ab481ebe964321c358ab9d6402088c714adcbe: taskdo_compile: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /oe/openembedded/recipes/xbmc/xbmc_svn.bbdo_compilefailed
ERROR: Task 13 (/oe/openembedded/recipes/xbmc/xbmc_svn.bb,do_compile) failed with 256
ERROR: '/oe/openembedded/recipes/xbmc/xbmc_svn.bb' failed
ERROR: '/oe/openembedded/recipes/xbmc/xbmc_svn.bb' failed
ERROR: '/oe/openembedded/recipes/xbmc/xbmc_svn.bb' failed
I am sorry for messing that up.
[…]
Thanks,
Paul