[xml] Problem in libxml compiling with libxslt
- From: miep <miep belboek com>
- To: xml gnome org
- Subject: [xml] Problem in libxml compiling with libxslt
- Date: Wed, 7 Apr 2004 08:44:24 +0200
Hi list,
(version libxml 2.2.6.8, libxslt 1.1.5)
I'm trying to compile a program with libxslt, and that gives problems with libxml.
On my NetBSD 1.6.2-box, no problems.
The same program on an old OpenBSD-machine (2.7 kernel):
mymachine:214 > !make
make
gcc btzoek.c ../AUX/*.o htmlutil.o -I/usr/local/include -I/usr/local/include/libxml2
-I/usr/local/include/libxslt -I/usr/local/pgsql/include -L/usr/local/lib -L/usr/local/pgsql/lib -lpq -lz -lm
-lxml2 -lxslt -g -o btzoek
In file included from /usr/local/include/libxslt/xsltInternals.h:20,
from btzoek.w:36:
/usr/local/include/libxml2/libxml/dict.h:30: syntax error before `xmlDictPtr'
/usr/local/include/libxml2/libxml/dict.h:32: syntax error before `xmlDictPtr'
/usr/local/include/libxml2/libxml/dict.h:34: syntax error before `int'
/usr/local/include/libxml2/libxml/dict.h:36: syntax error before `void'
/usr/local/include/libxml2/libxml/dict.h:42: syntax error before `const'
/usr/local/include/libxml2/libxml/dict.h:43: syntax error before `xmlDictLookup'
/usr/local/include/libxml2/libxml/dict.h:46: syntax error before `const'
/usr/local/include/libxml2/libxml/dict.h:47: syntax error before `xmlDictQLookup'
/usr/local/include/libxml2/libxml/dict.h:50: syntax error before `int'
/usr/local/include/libxml2/libxml/dict.h:53: syntax error before `int'
btzoek.w: In function `main':
btzoek.w:312: `xmlLoadExtDtdDefaultValue' undeclared (first use in this function)
btzoek.w:312: (Each undeclared identifier is reported only once
btzoek.w:312: for each function it appears in.)
btzoek.w:312: `XML_COMPLETE_ATTRS' undeclared (first use in this function)
*** Error code 1
Stop in /usr/local/www.boektrust.nl/scripts/SEARCH (line 13 of Makefile).
Now, the problem seems to be caused by XMLPUBFUN macro's in libxml/dict.h, but as far as I can trace, these
are only used when compiling on MS-platforms.
Que pasa?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]