On Sun, Jan 25, 2009 at 01:56:22PM -0000, Richard Brice wrote:
> I am getting the following compile error in regress_http.c on a Cygwin 
> platform
>  
> make[4]: Entering directory 
> `/home/rbrice/curl-loader-0.47/build/libevent/libevent-1.4.4-stable/test'
> 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:113: error: storage size of 'ai' isn't known
> regress_http.c:133: warning: implicit declaration of function `getaddrinfo'
> regress_http.c:137: error: dereferencing pointer to incomplete type
> regress_http.c:138: error: dereferencing pointer to incomplete type
> regress_http.c:149: warning: implicit declaration of function `freeaddrinfo'
> regress_http.c:113: warning: unused variable `ai'


Hm.  I don't have Cygwin installed anywhere at the moment, but this
looks like a missing #include in regress_http.c.  Can you find out
which header is supposed defines getaddrinfo in Cygwin, and make sure
it does?

-- 
Nick
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to