[xml] libxml2-2.4.22 or 2.4.23 fails to build on win32/mingw



Hi
 
on win 32 with gcc 2.95.3, and msys environment, libxml2 fails to build at "nanohttp.c"
 
configure ok
make ok until :
------------------------------>
 
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include       -g -O2 -Wall -c nanohttp.c
rm -f .libs/nanohttp.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -O2 -Wall -c nanohttp.c     -DDLL_EXPORT -DPIC -o .libs/nanohttp.lo
nanohttp.c: In function `xmlNanoHTTPConnectAttempt':
nanohttp.c:742: warning: implicit declaration of function `fcntl'
nanohttp.c:742: `F_GETFL' undeclared (first use in this function)
nanohttp.c:742: (Each undeclared identifier is reported only once
nanohttp.c:742: for each function it appears in.)
nanohttp.c:750: `F_SETFL' undeclared (first use in this function)
nanohttp.c: At top level:
include/win32config.h:86: warning: `isinf' defined but not used
include/win32config.h:101: warning: `isnan' defined but not used
make[2]: *** [nanohttp.lo] Error 1
make[2]: Leaving directory `/c/libxml2-2.4.22'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/libxml2-2.4.22'
make: *** [all-recursive-am] Error 2


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