/ Zope / Apsis / Pound Mailing List / Archive / 2008 / 2008-02 / Pound >2.3.2 won't compile on cygwin anymore

[ << ] [ >> ]

[ Pound Cookie Size Limit in 2.4 / "Alfonso ... ] [ Strange problem with post data / Agustin Lopez ... ]

Pound >2.3.2 won't compile on cygwin anymore
mcbokassa(at)googlemail.com
2008-02-27 15:15:32 [ FULL ]
Hello,

i recently compiled Pound 2.3.2 on cygwin without problem. Now i'd  
like to use the 'AddHeader'-feature within a HTTP-Listener and thus  
needed to compile 2.4f. make stopps with a msg that probably has to  
dowith IPv6-support, that i don't need ;-). I tried the official 2.4  
with the same results. It seems as if the introduction of IPv6 in the  
2.4 release might be involved :

"""
asc(at)Pandora:/src/Pound-2.4f$ make
"gcc" -DF_CONF=\"/usr/local/etc/pound.cfg\" -DVERSION=\""2.3.2"\" - 
DC_SSL=\"""\" -DC_T_RSA=\""0"\" -DC_OWNER=\"""\" -DC_GROUP=\"""\" - 
DC_SUPER=\""0"\" -g -O2  -DUPER -DNEED_STACK -DHAVE_SYSLOG_H=1   - 
D_REENTRANT -D_THREAD_SAFE -Wstrict-prototypes -pipe   -c -o pound.o  
pound.c
In file included from pound.c:29:
pound.h:288: error: field `addr' has incomplete type
pound.h:291: error: field `ha_addr' has incomplete type
pound.h:342: error: field `addr' has incomplete type
pound.h:373: error: field `from_host' has incomplete type
pound.c: In function `main':
pound.c:241: error: `PF_INET6' undeclared (first use in this function)
pound.c:241: error: (Each undeclared identifier is reported only once
pound.c:241: error: for each function it appears in.)
pound.c:412: error: `AF_INET6' undeclared (first use in this function)
make: *** [pound.o] Error 1
"""

Unfortunately i'm neither a gcc- nor a C-language-wizard. I know  
'cygwin' does not belong to the major targeted platforms, but maybe  
it's just a simple thing to fix ?

thx and greets, andreas

MailBoxer