[oe] gettext-native fails to build

Peter Chubb peter.chubb at nicta.com.au
Wed Jun 29 00:33:22 UTC 2011


I changed BB_NUMBER_THREADS to 1 and got a bit further (I delete the
tmp directory again before this run...)

Now autotools gets built and staged before gettext-native.  I see
instead:

libtool: link: ccache gcc -std=gnu99 -isystem/usr/src/oe/tmp-zaurus/sysroots/x86_64-linux/usr/include -O2 -g -Wl,-rpath -Wl,\$ORIGIN/../lib -Wl,-rpath-link -Wl,/usr/src/oe/tmp-zaurus/sysroots/x86_64-linux/usr/lib -Wl,-rpath -Wl,/usr/src/oe/tmp-zaurus/sysroots/x86_64-linux/usr/lib -Wl,-O1 -o .libs/msgcmp msgcmp-msgcmp.o msgcmp-msgl-fsearch.o  -L/usr/src/oe/tmp-zaurus/sysroots/x86_64-linux/usr/lib ./.libs/libgettextsrc.so -lm -Wl,-rpath -Wl,/usr/src/oe/tmp-zaurus/sysroots/x86_64-linux/usr/lib
| /usr/bin/ldERROR: Function 'do_compile' failed (see /usr/src/oe/tmp-zaurus/work/x86_64-linux/gettext-native-0.18-r6/temp/log.do_compile.31884 for further information)
| : msgcmp-msgl-fsearch.o: undefined reference to symbol 'hash_insert_entry'
| /usr/bin/ld: note: 'hash_insert_entry' is defined in DSO /usr/src/oe/tmp-zaurus/work/x86_64-linux/gettext-native-0.18-r6/gettext-0.18/gettext-tools/gnulib-lib/.libs/libgettextlib-0.18.so so try adding it to the linker command line
| /usr/src/oe/tmp-zaurus/work/x86_64-linux/gettext-native-0.18-r6/gettext-0.18/gettext-tools/gnulib-lib/.libs/libgettextlib-0.18.so: could not read symbols: Invalid operation
| collect2: ld returned 1 exit status
| make[4]: *** [msgcmp] Error 1
| make[4]: Leaving directory `/usr/src/oe/tmp-zaurus/work/x86_64-linux/gettext-native-0.18-r6/gettext-0.18/gettext-tools/src'
| make[3]: *** [all] Error 2

I don't quite understand this -- running nm on libgettextlib-0.18.so
shows all the symbols there.

Peter C
--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au           ERTOS within National ICT Australia




More information about the Openembedded-devel mailing list