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'
make[4]: *** [regress_http.o] Error 1
make[4]: Leaving directory 
`/home/rbrice/curl-loader-0.47/build/libevent/libevent-1.4.4-stable/test'
make[3]: *** [install] Error 2
make[3]: Leaving directory 
`/home/rbrice/curl-loader-0.47/build/libevent/libevent-1.4.4-stable/test'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory 
`/home/rbrice/curl-loader-0.47/build/libevent/libevent-1.4.4-stable'
make[1]: *** [install] Error 2
make[1]: Leaving directory 
`/home/rbrice/curl-loader-0.47/build/libevent/libevent-1.4.4-stable'
make: *** [lib/libevent.a] Error 2
 
 
This occurs in both libevent v1.4.4 as well as v1.4.9. I did see this posting 
http://monkeymail.org/archives/libevent-users/2007-June/000685.html 
<https://webmail.vegagroup.net/exchweb/bin/redir.asp?URL=https://webmail.vegagroup.net/exchweb/bin/redir.asp?URL=https://webmail.vegagroup.net/exchweb/bin/redir.asp?URL=http://monkeymail.org/archives/libevent-users/2007-June/000685.html>
  but I can't make heads or tails out it.
 
Am I missing a package? Do I need to edit regress_http.c?
 
Richard Brice

______________________________________________________________________
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