RE: [xml] compiling libxml v2.4.26 with mingw under win2k
- From: martyn 2 russell bt com
- To: xml gnome org
- Subject: RE: [xml] compiling libxml v2.4.26 with mingw under win2k
- Date: Thu, 14 Nov 2002 12:12:47 -0000
Ok. Now that I am using CYGWIN with MINGW as the compiler with -mno-cygwin
it seems to configure fine and compile fine up to one point, the nanohttp
part of the library. The output is as follows, any ideas?
Also, if I am not mistaken, are these not LINUX calls to socket functions.
Do these functions not exist under cygwin? or msys? If not, can I avoid
using nanohttp?
Plus - thanks Elizabeth for your input, this compilation has been done with
version 2.4.25-special which you sent me the link to.
.
.
.
make[2]: Entering directory `/cygdrive/c/src/libxml2-2.4.25-special'
source='nanohttp.c' object='nanohttp.lo' libtool=yes \
depfile='.deps/nanohttp.Plo' tmpdepfile='.deps/nanohttp.TPlo' \
depmode=gcc3 /bin/bash ./depcomp \
/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-I./include -I./include -mno-cygwin -Wall -c -o nanohttp.lo `test -f
'nanohtt
p.c' || echo './'`nanohttp.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -mno-cygwin -Wall
-c nanohttp.c -MT nanohttp.lo -MD -MP -MF .deps/nanohttp.TPlo -DPIC
nanohttp.c: In function `xmlNanoHTTPSend':
nanohttp.c:432: warning: implicit declaration of function `send'
nanohttp.c:440: `EWOULDBLOCK' undeclared (first use in this function)
nanohttp.c:440: (Each undeclared identifier is reported only once
nanohttp.c:440: for each function it appears in.)
nanohttp.c:457: storage size of `tv' isn't known
nanohttp.c:458: `fd_set' undeclared (first use in this function)
nanohttp.c:458: parse error before "wfd"
nanohttp.c:462: warning: implicit declaration of function `FD_ZERO'
nanohttp.c:462: `wfd' undeclared (first use in this function)
nanohttp.c:463: warning: implicit declaration of function `FD_SET'
nanohttp.c:464: warning: implicit declaration of function `select'
nanohttp.c:457: warning: unused variable `tv'
nanohttp.c: In function `xmlNanoHTTPRecv':
nanohttp.c:484: `fd_set' undeclared (first use in this function)
nanohttp.c:484: parse error before "rfd"
nanohttp.c:485: storage size of `tv' isn't known
nanohttp.c:530: warning: implicit declaration of function `recv'
nanohttp.c:540: `EINPROGRESS' undeclared (first use in this function)
nanohttp.c:541: `EWOULDBLOCK' undeclared (first use in this function)
nanohttp.c:547: `ECONNRESET' undeclared (first use in this function)
nanohttp.c:548: `ESHUTDOWN' undeclared (first use in this function)
nanohttp.c:561: `rfd' undeclared (first use in this function)
nanohttp.c:485: warning: unused variable `tv'
nanohttp.c: At top level:
nanohttp.c:715: warning: `struct sockaddr' declared inside parameter list
nanohttp.c:715: warning: its scope is only this definition or declaration,
which is probably not what you want
nanohttp.c: In function `xmlNanoHTTPConnectAttempt':
nanohttp.c:717: warning: implicit declaration of function `socket'
nanohttp.c:717: `PF_INET' undeclared (first use in this function)
nanohttp.c:717: `SOCK_STREAM' undeclared (first use in this function)
nanohttp.c:717: `IPPROTO_TCP' undeclared (first use in this function)
nanohttp.c:718: `fd_set' undeclared (first use in this function)
nanohttp.c:718: parse error before "wfd"
nanohttp.c:719: storage size of `tv' isn't known
nanohttp.c:746: warning: implicit declaration of function `fcntl'
nanohttp.c:746: `F_GETFL' undeclared (first use in this function)
nanohttp.c:754: `F_SETFL' undeclared (first use in this function)
nanohttp.c:770: warning: implicit declaration of function `connect'
nanohttp.c:770: dereferencing pointer to incomplete type
nanohttp.c:772: `EINPROGRESS' undeclared (first use in this function)
nanohttp.c:773: `EWOULDBLOCK' undeclared (first use in this function)
nanohttp.c:788: `wfd' undeclared (first use in this function)
nanohttp.c:810: warning: implicit declaration of function `FD_ISSET'
nanohttp.c:813: warning: implicit declaration of function `getsockopt'
nanohttp.c:813: `SOL_SOCKET' undeclared (first use in this function)
nanohttp.c:813: `SO_ERROR' undeclared (first use in this function)
nanohttp.c:719: warning: unused variable `tv'
nanohttp.c: In function `xmlNanoHTTPConnectHost':
nanohttp.c:858: storage size of `ia' isn't known
nanohttp.c:859: storage size of `sockin' isn't known
nanohttp.c:873: warning: implicit declaration of function `gethostbyname'
nanohttp.c:873: warning: assignment makes pointer from integer without a
cast
nanohttp.c:919: dereferencing pointer to incomplete type
nanohttp.c:920: dereferencing pointer to incomplete type
nanohttp.c:920: `AF_INET' undeclared (first use in this function)
nanohttp.c:922: dereferencing pointer to incomplete type
nanohttp.c:922: dereferencing pointer to incomplete type
nanohttp.c:923: dereferencing pointer to incomplete type
nanohttp.c:925: warning: implicit declaration of function `htons'
nanohttp.c:939: warning: passing arg 1 of `xmlNanoHTTPConnectAttempt' from
incompatible pointer type
nanohttp.c:858: warning: unused variable `ia'
nanohttp.c:859: warning: unused variable `sockin'
make[2]: *** [nanohttp.lo] Error 1
make[2]: Leaving directory `/cygdrive/c/src/libxml2-2.4.25-special'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/src/libxml2-2.4.25-special'
make: *** [all] Error 2
Regards,
Martyn
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]