Re: Another error: multiple definition of _libxml_xmlNewNode (was: Re: [xml] Release of libxml2-2.6.16)

On Thu, Nov 11, 2004 at 09:21:30AM +0100, Gerrit P. Haase wrote:
Daniel Veillard wrote:

   A new release hit the server: and GNOME FTP mirrors

Getting another error in the python subdirectory:
ccache gcc -shared  .libs/libxml.o .libs/types.o .libs/libxml2-py.o 
-L/usr/lib -L/ftproot/pub/libxml2/libxml2-2.6.16/.build/.libs 
../.libs/libxml2.dll.a -L/usr/lib/python2.3/config 
/usr/lib/python2.3/config/libpython2.3.dll.a  -Wl,-s -o 
.libs/cygxml2mod.dll -Wl,--image-base=0x10000000 
.libs/libxml2-py.o(.text+0x8df0):libxml2-py.c: multiple definition of 

  makes no sense to me. Seems the generated libxml2-py.c is broken or

paphio:~/XML -> grep libxml_xmlNewNode python/libxml2-py.c python/libxml.c
python/libxml2-py.c:libxml_xmlNewNodeEatName(PyObject *self ATTRIBUTE_UNUSED, PyObject *args) {
python/libxml.c:libxml_xmlNewNode(ATTRIBUTE_UNUSED PyObject * self, PyObject * args)
python/libxml.c:    {(char *) "xmlNewNode", libxml_xmlNewNode, METH_VARARGS, NULL},
paphio:~/XML ->

.libs/libxml.o(.text+0x3b90):libxml.c: first defined here
Creating library file: .libs/libxml2mod.dll.a
.libs/libxml.o(.data+0x154):libxml.c: undefined reference to 

  yeah some generation of the bindings got broken 

paphio:~/XML -> grep libxml_xmlURIGetPath python/libxml2-py.c python/libxml.c
python/libxml2-py.c:libxml_xmlURIGetPath(PyObject *self ATTRIBUTE_UNUSED, PyObject *args) {
paphio:~/XML ->


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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