|
From: | Matthew Woehlke |
Subject: | Re: gettext 0.17 build failure (expat related, multiple platforms) |
Date: | Mon, 30 Mar 2009 17:12:59 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.21) Gecko/20090320 Fedora/2.0.0.21-1.fc10 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 |
Bruno Haible wrote:
Matthew Woehlke wrote in <http://lists.gnu.org/archive/html/bug-gnu-utils/2009-03/msg00088.html>:gcc -g -O2 -o .libs/xgettext [objects] ./.libs/libgettextsrc.so /home/install/gnu/build/arch/gettext-0.17/gettext-tools/gnulib-lib/.libs/libgettextlib.so -L/home/install/gnu/arch/lib -lncurses /home/install/gnu/build/arch/gettext-0.17/gettext-tools/intl/.libs/libintl.so /home/install/gnu/arch/lib/libiconv.so -lc /home/install/gnu/arch/lib/libexpat.so -R/home/install/gnu/arch/lib Undefined first referenced symbol in file XML_GetFeatureList xgettext-x-glade.o ld: fatal: Symbol referencing errors. No output written to .libs/xgettext collect2: ld returned 1 exit status make[4]: *** [xgettext] Error 1Well, XML_GetFeatureList is part of the expat API, whether it be version 1.95.8, 2.0.0, or 2.0.1. The question is therefore: why is this symbol not picked up by the linker? 1) What is "nm /home/install/gnu/arch/lib/libexpat.so | grep XML_GetFeatureList" ?
empty
2) What is "nm /home/install/gnu/arch/lib/libexpat.so | grep ' T '" ?
also empty? Here's a sample line of just 'nm /path/to/libexpat.so' (note that this is not GNU nm...):
[Index] Value Size Type Bind Other Shndx Name[373] | 12480| 8|FUNC |GLOB |0 |10 |XML_GetBase
3) What configure options did you pass when configuring expat?
Just '--prefix=/home/install/gnu/arch' (and depending on when I built it, possibly CFLAGS/LDFLAGS to get it to use other stuff in the PREFIX).
4) Is there maybe an older version of libexpat in /usr/lib/ ?
On <insert esoteric platform>? Seems unlikely. (Also, I checked the box I'm currently poking; nope, no stray libexpat.)
I'd happily tell gettext not to use expat, but there doesn't seem to be an option for that :-(.
PS: About gettext, please write to bug-gnu-gettext. If you post through gmane, it does not reach all the recipients of bug-gnu-gettext.
This sounds like a case of "gmane should have a proper alias for this list"? -- Matthew Please do not quote my e-mail address unobfuscated in message bodies. --Microsoft has become the next IBM; a dinosaur struggling to survive in the age of more able-to-adapt mammals (FLOSS). It remains to be seen if they'll be able to adapt before they go extinct.
[Prev in Thread] | Current Thread | [Next in Thread] |