use  http://win6.jp/Cygwin/cygwin-1.5.25-15-ipv6-0.22.zip

I have the latest Cygwin

$ uname -srv
CYGWIN_NT-5.1 1.5.25(0.156/4/2) 2008-06-12 19:34

Yet I get the following compile errors/warnings (slightly different
for
libevent v1.4.4 in my previous post) and the make exits before
building
any binaries.

Given you can compile and I can't, that would imply that I am missing
some library or something. Does libevent have any package
dependencies?


gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../compat -g -Wall -c
regress_http.c
regress_http.c: In function `http_connect':
regress_http.c:102: error: storage size of 'ai' isn't known
regress_http.c:112: warning: implicit declaration of function
`getaddrinfo'
regress_http.c:116: error: dereferencing pointer to incomplete type
regress_http.c:117: error: dereferencing pointer to incomplete type
regress_http.c:126: warning: implicit declaration of function
`freeaddrinfo'
regress_http.c:102: warning: unused variable `ai'
regress_http.c: In function `http_readcb':
regress_http.c:144: warning: implicit declaration of function
`evhttp_parse_lines'
make[4]: *** [regress_http.o] Error 1
make[4]: Leaving directory

`/home/rbrice/curl-loader-0.47/build/libevent/libevent-1.4.9-stable/test'
make[3]: *** [install] Error 2
make[3]: Leaving directory

`/home/rbrice/curl-loader-0.47/build/libevent/libevent-1.4.9-stable/test'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/home/rbrice/curl-loader-0.47/build/libevent/libevent-1.4.9-stable'
make[1]: *** [install] Error 2
make[1]: Leaving directory
`/home/rbrice/curl-loader-0.47/build/libevent/libevent-1.4.9-stable'
make: *** [lib/libevent.a] Error 2
$
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to