[xml] compiling libxml v2.4.26 with mingw under win2k



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
British Telecommunications plc
Registered office: 81 Newgate Street London EC1A 7AJ
Registered in England no. 1800000
This electronic message contains information from British Telecommunications
plc which may be privileged or confidential. The information is intended to
be for the use of the individual(s) or entity named above. If you are not
the intended recipient be aware that any disclosure, copying, distribution
or use of the contents of this information is prohibited. If you have
received this electronic message in error, please notify us by telephone or
email (to the numbers or address above) immediately. 
Activity and use of the British Telecommunications plc E-mail system is
monitored to secure its effective operation and for other lawful business
purposes. Communications using this system will also be monitored and may be
recorded to secure effective operation and for other lawful business
purposes. 




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