Re: Another error: multiple definition of _libxml_xmlNewNode (was: Re: [xml] Release of libxml2-2.6.16)
- From: Daniel Veillard <veillard redhat com>
- To: "Gerrit P. Haase" <gp familiehaase de>
- Cc: xml gnome org
- Subject: Re: Another error: multiple definition of _libxml_xmlNewNode (was: Re: [xml] Release of libxml2-2.6.16)
- Date: Thu, 11 Nov 2004 11:12:19 -0500
On Thu, Nov 11, 2004 at 09:21:30AM +0100, Gerrit P. Haase wrote:
Daniel Veillard wrote:
A new release hit the server:
ftp://xmlsoft.org/ and GNOME FTP mirrors
http://xmlsoft.org/
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
-Wl,--out-implib,.libs/libxml2mod.dll.a
.libs/libxml2-py.o(.text+0x8df0):libxml2-py.c: multiple definition of
`_libxml_xmlNewNode'
makes no sense to me. Seems the generated libxml2-py.c is broken or
something:
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
`_libxml_xmlURIGetPath'
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
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]