curl-library
problem in connect.c under cygwin?
Date: Thu, 4 Oct 2001 12:37:37 -0400
Hi there.
I'm attempting to build curl 7.9.1-pre2 under cygwin, to try out the
cygwin tools a bit and also to see if I can test out the cookie-jar
changes that should be in there. I can successfully compile and run the
7.9 released tarball, however I can't successfully compile the
7.9.1-pre2 tarball; I get the following error during compile:
make all-recursive
[ snip... ]
Making all in lib
make[2]: Entering directory `/usr/src/curl-7.9.1-pre2/lib'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. \
-I. -I.. -I../src -I../include -g -O2 -c -o connect.lo\
`test -f connect.c || echo './'`connect.c
rm -f .libs/connect.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../include -g \
-O2 -c connect.c -DDLL_EXPORT -DPIC -o .libs/connect.lo
connect.c: In function `Curl_connecthost':
connect.c:461: called object is not a function
make[2]: *** [connect.lo] Error 1
make[2]: Leaving directory `/usr/src/curl-7.9.1-pre2/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/curl-7.9.1-pre2'
make: *** [all] Error 2
Line 460-461 appears to be:
/* create an IPv4 TCP socket */
sockfd = socket(AF_INET, SOCK_STREAM, 0);
Just wanted to report this as an FYI. I am not subscribed to the
curl-library list, so if you want any more info out of me, please reply
directly.
Thanks,
--Kevin
Received on 2001-10-04