[oe] gettext-native build troubles

Bill Roberts robewil1 at gmail.com
Thu Sep 9 23:23:37 UTC 2010


Hello,
I've been trying to make a build from the .dev branch, but I cannot seem to
get past building gettext-native (version 0.18).  It seems to be a similar
error to one from a past post, where libxml2 from the host was used, but
libz from the staging.

http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg03981.html

However, it seems that the fix in that case is in the gettext recipe.  In
the log it looked like the link was trying to use my host libxml2, and the
libxml2-native package in OE, but I'm not really sure.

I'm wondering if anyone could offer some advice for how to get around or fix
this error.
Thanks,
Bill

-- a snippet from log.do_compile --

i686-linux-libtool: link: gcc -std=gnu99
-isystem/home/bill/SoftwareDevel/projects/Webdt_embedded/OE_toolchain/angstrom-dev/sysroots/i686-linux/usr/include
 -O2 -g -Wl,-rpath-link
-Wl,/home/bill/SoftwareDevel/projects/Webdt_embedded/OE_toolchain/angstrom-dev/sysroots/i686-linux/usr/lib

-Wl,-rpath
-Wl,/home/bill/SoftwareDevel/projects/Webdt_embedded/OE_toolchain/angstrom-dev/sysroots/i686-linux/usr/lib

-Wl,-O1
-o .libs/msgcmp msgcmp-msgcmp.o msgcmp-msgl-fsearch.o
-L/home/bill/SoftwareDevel/projects/Webdt_embedded/OE_toolchain/angstrom-dev/sysroots/i686-linux/usr/lib

./.libs/libgettextsrc.so
/home/bill/SoftwareDevel/projects/Webdt_embedded/OE_toolchain/angstrom-dev/work/i686-linux/gettext-native-0.18-r2/gettext-0.18/gettext-tools/gnulib-lib/.libs/libgettextlib.so

/usr/lib/libacl.so
/usr/lib/libattr.so
/usr/lib/libcroco-0.6.so
/usr/lib/libxml2.so
/usr/lib/libglib-2.0.so
/home/bill/SoftwareDevel/projects/Webdt_embedded/OE_toolchain/angstrom-dev/sysroots/i686-linux/usr/lib/libxml2.so

-ldl
/home/bill/SoftwareDevel/projects/Webdt_embedded/OE_toolchain/angstrom-dev/sysroots/i686-linux/usr/lib/libz.so

-lncurses -lc -lm -Wl,-rpath
-Wl,/home/bill/SoftwareDevel/projects/Webdt_embedded/OE_toolchain/angstrom-dev/sysroots/i686-linux/usr/lib

/usr/lib/libxml2.so: undefined reference to `gzdirect at ZLIB_1.2.2.3'
/usr/lib/libxml2.so: undefined reference to `gzopen64 at ZLIB_1.2.3.3'
collect2: ld returned 1 exit status



More information about the Openembedded-devel mailing list