[xml] Problem compiling libxml2-2.6.4
- From: Ian Marlier <ian onepost net>
- To: <xml gnome org>
- Subject: [xml] Problem compiling libxml2-2.6.4
- Date: Tue, 30 Dec 2003 18:26:14 -0500
I'm trying to compile libxml2-2.6.4 on a Mac OS X machine. Configure runs
fine, but make fails at the same place every time, and I don't know enough
coding to solve this...
-------
<lots of compilation messages...>
source='valid.c' object='valid.lo' libtool=yes \
depfile='.deps/valid.Plo' tmpdepfile='.deps/valid.TPlo' \
depmode=gcc /bin/sh ./depcomp \
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include
-I./include -D_REENTRANT -g -O2 -Wall -c -o valid.lo `test -f
'valid.c' || echo './'`valid.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -g -O2
-Wall -c valid.c -Wp,-MD,.deps/valid.TPlo -fno-common -DPIC -o
.libs/valid.o
valid.c: In function `xmlFreeID':
valid.c:2398: structure has no member named `doc'
valid.c:2399: structure has no member named `doc'
valid.c: In function `xmlAddID':
valid.c:2458: structure has no member named `doc'
make[2]: *** [valid.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
------
I looked for the functions that were having problems, and this is what I
found:
[network:~/libxml2-2.6.4] marlier# grep -n "xmlFreeID" valid.c
2387: * xmlFreeID:
2393:xmlFreeID(xmlIDPtr id) {
2485: xmlFreeID(ret);
2494: * xmlFreeIDTable:
2500:xmlFreeIDTable(xmlIDTablePtr table) {
2501: xmlHashFree(table, (xmlHashDeallocator) xmlFreeID);
2592: xmlHashUpdateEntry(table, ID, NULL, (xmlHashDeallocator)
xmlFreeID);
6301: xmlFreeIDTable(doc->ids);
6498: xmlFreeIDTable(doc->ids);
[network:~/libxml2-2.6.4] marlier# grep -n "xmlAddID" valid.c
2410: * xmlAddID:
2421:xmlAddID(xmlValidCtxtPtr ctxt, xmlDocPtr doc, const xmlChar *value,
2444: "xmlAddID: Table creation failed!\n");
4117: if (xmlAddID(ctxt, doc, value, attr) == NULL)
4314: if (xmlAddID(ctxt, doc, value, (xmlAttrPtr) ns) == NULL)
[network:~/libxml2-2.6.4] marlier#
Any ideas?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]