This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

-----Original Message-----
From: Gerrit P. Haase [mailto:gp@familiehaase.de]
Sent: Monday, 22 July 2002 2:49 
To: Robert Collins
Cc: cygwin-apps@cygwin.com
Subject: Re: please update libXML


Hallo Robert,

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
install'?

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?


Gerrit
-- 
=^..^=


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]