This is the mail archive of the
mailing list for the Cygwin project.
RE: please update libXML (undefined references)
- From: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>
- To: <cygwin-apps at cygwin dot com>
- Date: Mon, 22 Jul 2002 09:16:51 +1000
- Subject: RE: please update libXML (undefined references)
I believe I had a similar problem with libwmf.
libwmf makes two libraries - lets call them A and B. libA
is depends on libB. When libtool relinked libA during
"make install" it linked libA with the installed version of
libB, and not the libB I had just built. The older version
of libB did not have some of the symbols in the new version
and so it failed with "undefined reference" messages.
The work around was to manually copy the new version of
libB.dll.a into /usr/lib before retrying "make install".
I don't know why libtool is relinking, as I don't think
it is required and it does doesn't work in this case.
From: Gerrit P. Haase [mailto:firstname.lastname@example.org]
Sent: Monday, 22 July 2002 2:49
To: Robert Collins
Subject: Re: please update libXML
What is weird: during make install I get this:
libtool: install: warning: relinking `libxml2mod.la'
What is that good for? Why is everything relinked during 'make
Anyway, would not bother me if there wouldn't happen this:
Creating library file: .libs/libxml2mod.dll.a
.libs/libxml2-py.o: In function `libxml_xmlNewNsPropEatName':
/sourcecode/XML/libxml2-2.4.23/python/libxml2-py.c:3569: undefined reference to `_xmlNewNsPropEatName'
.libs/libxml2-py.o: In function `libxml_xmlNewNodeEatName':
/sourcecode/XML/libxml2-2.4.23/python/libxml2-py.c:5016: undefined reference to `_xmlNewNodeEatName'
.libs/libxml2-py.o: In function `libxml_xmlNewDocNodeEatName':
/sourcecode/XML/libxml2-2.4.23/python/libxml2-py.c:5666: undefined reference to `_xmlNewDocNodeEatName'
.libs/libxml2-py.o: In function `libxml_xmlXPathNodeSetFreeNs':
/sourcecode/XML/libxml2-2.4.23/python/libxml2-py.c:6107: undefined reference to `_xmlXPathNodeSetFreeNs'
.libs/libxml2-py.o: In function `libxml_xmlDocFormatDump':
/sourcecode/XML/libxml2-2.4.23/python/libxml2-py.c:6728: undefined reference to `_xmlDocFormatDump'
And it works well with the 'make' run?
I wonder why I didn't see all this weird problems when
building the previous version?