[oe] xbmc: task `compile` fails with `/tools/TexturePacker/XBMCTex.cpp:394: undefined reference to `__lzo_init2'`

Eric Colleu eric.colleu at gmail.com
Tue Nov 30 06:53:13 UTC 2010


Try to add this patch to your xbmc recipe:

diff -Naur a/configure.in b/configure.in
--- a/configure.in 2010-07-17 16:50:02.838501479 +0200
+++ b/configure.in 2010-07-17 16:50:20.633376618 +0200
@@ -1205,12 +1205,6 @@
   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
-
 if test "x$use_ccache" != "xno"; then
   AC_PATH_PROG(CCACHE,ccache,none)
   if test "$ac_cv_path_CCACHE" = "none"; then
diff -Naur xbmc-31903/tools/TexturePacker/XBMCTex.cpp
xbmc-31903.patch/tools/TexturePacker/XBMCTex.cpp
--- a/tools/TexturePacker/XBMCTex.cpp 2010-07-17 16:28:40.000000000 +0200
+++ b/tools/TexturePacker/XBMCTex.cpp 2010-07-17 16:50:20.634375824 +0200
@@ -37,7 +37,7 @@
 #endif

 #ifdef _LINUX
-#include <lzo1x.h>
+#include <lzo/lzo1x.h>
 #else
 #include "../../xbmc/lib/liblzo/LZO1X.H"
 #endif

Eric Colleu

2010/11/26 Paul Menzel <paulepanter at users.sourceforge.net>

> Dear OE folks,
>
>
> `bitbake -k xbmc` fails with the following error in task `compile`.
>
>        […]
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012-correct-lzo-include.patch
Type: text/x-patch
Size: 866 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20101130/73a26365/attachment-0002.bin>


More information about the Openembedded-devel mailing list