[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: link error with gettext on cygwin

From: Eric Blake
Subject: Re: link error with gettext on cygwin
Date: Thu, 17 Jun 2010 09:35:48 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Mnenhy/0.8.2 Thunderbird/3.0.4

On 06/16/2010 07:33 PM, Bruno Haible wrote:
> Hi Eric,
> Eric Blake wrote:
>> I'm failing to build gettext out of the box on cygwin:
>> ...
>> Creating library file: .libs/libgettextlib.dll.a
>> ./.libs/libcroco_rpl.a(libcroco_rpl_la-cr-sel-eng.o): In function
>> `lang_pseudo_class_handler':
>> /home/eblake/gettext-
>> undefined reference to `_xmlFree'
> Hmm, I haven't seen this error, because I never had libxml2 preinstalled
> when building gettext on Cygwin.

At the time of my test, I had libxml2 preinstalled, but not libcroco.
After installing libcroco, I got further (no longer had that particular
link error), so there is something different between cygwin's prebuild
libcroco and the gettext libcroco_rpl that was causing that failure.

But I still couldn't get a complete build, because I then ran into a bug
with the cygwin linker claiming that libintl.dll.a had an invalid symbol
relocation (don't have the error message handy to paste at the moment,
but I'll move the discussion over to the cygwin list at this point,
since it is now tripping a bug in the toolchain and not in the source code).

>> Any suggestions on what to try next?
> You can try configuring with --without-libxml2-prefix. Then the installed
> libxml2 will not be used, leading to a bigger libgettextlib, but hopefully
> no link error.

All right, I'll give that a try as well.

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]