lighttpd forum lighty > cygwin compile Lighttpd 1.4.19 error

Posted by Usen Xia
on 19.04.2008 12:11
While I using cygwin compiling Lighttpd 1.4.19 ,I failed!

The error message:

mod_extforward.c: In function `ipstr_to_sockaddr':
mod_extforward.c:298: error: storage size of `hints' isn't known
mod_extforward.c:312: error: `AI_NUMERICHOST' undeclared (first use in
this func
tion)
mod_extforward.c:312: error: (Each undeclared identifier is reported
only once
mod_extforward.c:312: error: for each function it appears in.)
mod_extforward.c:314: warning: implicit declaration of function
`getaddrinfo'
mod_extforward.c:317: warning: implicit declaration of function
`gai_strerror'
mod_extforward.c:317: warning: format argument is not a pointer (arg 4)
mod_extforward.c:318: error: `EAI_SYSTEM' undeclared (first use in this
function
)
mod_extforward.c:298: warning: unused variable `hints'
mod_extforward.c: In function `mod_extforward_uri_handler':
mod_extforward.c:395: warning: unused variable `addrs_left'
make[2]: *** [mod_extforward.lo] Error 1
make[2]: Leaving directory `/cygdrive/e/lighttpd/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/e/lighttpd'
make: *** [all] Error 2

What can I do for it?

I search it at our forum,and I find the topic
http://forum.lighttpd.net/topic/34008

And I using its solution,but I also failed.

Anyone seen this error while using cygwin compiled lighttpd 1.4.19?

How to solve it?

Thanks!
Posted by Usen Xia
on 19.04.2008 13:59
And I search help ,I guss I can compile lighttpd 1.4.19 without 
mod_extforward.

After I do that, I succeed compiling lighttpd under cygwin.

The solution:

   After "./configure ",and I "cd src" ,and edit makefile ,makefile.am 
and makefile.in .I delet any including "mod_extforward" .

  After I done that,start "make && make install ",the result is succeed!



Posted by Mr.Jeff (Guest)
on 02.05.2008 08:35
Use Cygwin Release2.

http://cygwin.com/setup/1.7/
Posted by Usen Xia
on 02.05.2008 12:34
Mr.Jeff wrote:
> Use Cygwin Release2.
> 
> http://cygwin.com/setup/1.7/

Thank you!

I will try it.