Compiling libxml2.4.26 under Win2k (with mingw or cygwin)
| Newsgroups | gmane.comp.video.gimp.windows.devel |
|---|---|
| Message-ID | <B76B75D34ACFD31180A600606DDFE79B0E57483C@mbtlipnt04.btlabs.bt.co.uk> |
Has anyone been successfull compiling libxml-2.4.26 using mingw under msys
OR cygwin?
When I run ./configure all is fine, then, I run make. The output is as
follows:
$ make
make all-recursive
make[1]: Entering directory `/c/src/libxml2-2.4.26'
Making all in include
make[2]: Entering directory `/c/src/libxml2-2.4.26/include'
Making all in libxml
make[3]: Entering directory `/c/src/libxml2-2.4.26/include/libxml'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/c/src/libxml2-2.4.26/include/libxml'
make[3]: Entering directory `/c/src/libxml2-2.4.26/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/c/src/libxml2-2.4.26/include'
make[2]: Leaving directory `/c/src/libxml2-2.4.26/include'
Making all in .
make[2]: Entering directory `/c/src/libxml2-2.4.26'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include
-I./include -g -O2 -Wall -c SAX.c
rm -f .libs/SAX.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -O2 -Wall -c
SAX.c -DDLL_EXPORT -DPIC -o .libs/SAX.lo
In file included from libxml.h:13,
from SAX.c:11:
include/win32config.h:51: parse error before "sizeof"
include/win32config.h:53: `d' undeclared here (not in a function)
include/win32config.h:53: `expon' undeclared here (not in a function)
include/win32config.h:53: initializer element is not constant
include/win32config.h:54: parse error before "if"
include/win32config.h:66: parse error before "sizeof"
include/win32config.h:68: redefinition of `val'
include/win32config.h:53: `val' previously defined here
include/win32config.h:68: `d' undeclared here (not in a function)
include/win32config.h:68: `expon' undeclared here (not in a function)
include/win32config.h:68: initializer element is not constant
include/win32config.h:69: parse error before "if"
make[2]: *** [SAX.lo] Error 1
make[2]: Leaving directory `/c/src/libxml2-2.4.26'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/src/libxml2-2.4.26'
make: *** [all-recursive-am] Error 2
Any help MUCH appreciated!
Regards,
Martyn
To Post a message, send it to: [email protected]
To Unsubscribe, send a blank message to: [email protected]
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/