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
$
 

 
________________________________

From: libevent-users-boun...@monkey.org on behalf of ???
Sent: Mon 26/01/2009 10:58
To: libevent-users@monkey.org
Subject: [Libevent-users] Libevent , Cygwin , 



compiled libevent under cygwin with new cygwin1.dll from
http://win6.jp/Cygwin/

all ok but in regress test

        Simple DNS resolve: [Timed out] FAILED
        IPv6 DNS resolve: [Timed out] SKIPPED
        Simple reverse DNS resolve: [Timed out] FAILED

who can explain why occurs this errors  ?

http://ssss35.blogspot.com/2009/01/compile-memcached-windows-cygwin-all.html
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users



______________________________________________________________________
Reg Office: SELEX Systems Integration Ltd, Broad Oak Business Park, Portsmouth, 
PO3 5PQ, UK.

Registered in England - Number 05321115


This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to