Libprelude build error with Cygwin

Alexey Mitrofanov <[email protected]>
Newsgroups gmane.comp.security.ids.prelude.user
Message-ID <[email protected]>
I'm trying to build libprelude-0.9.21.1 with latest Cygwin
./configure works good

make fails 

 gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wstrict-prototypes -Wmissing-
prototypes -Wmissing-declarations -Wbad
-function-cast -Wcast-qual -Wcast-align -Wnested-externs -Wunused -Wformat -
Wformat-security -I./include -I.. -I../src/i
nclude -I./libprelude-error -I../libmissing -I../libmissing -I/include -I/usr/include -I/usr/
include -g -O2 -MT prelude-
client.lo -MD -MP -MF .deps/prelude-client.Tpo -c prelude-client.c  -DDLL_EXPORT -
DPIC -o .libs/prelude-client.o
prelude-client.c:281: warning: "struct in6_addr" declared inside parameter list
prelude-client.c:281: warning: its scope is only this definition or declaration, which is 
probably not what you want
prelude-client.c: In function `is_loopback_ipv6':
prelude-client.c:283: error: storage size of 'lo' isn't known
prelude-client.c:285: error: `AF_INET6' undeclared (first use in this function)
prelude-client.c:285: error: (Each undeclared identifier is reported only once
prelude-client.c:285: error: for each function it appears in.)
prelude-client.c:283: warning: unused variable `lo'
prelude-client.c: In function `is_loopback':
prelude-client.c:302: error: `AF_INET6' undeclared (first use in this function)
prelude-client.c: In function `get_node_address_vlan_num':
prelude-client.c:531: warning: int format, long int arg (arg 3)
make[3]: *** [prelude-client.lo] Error 1
make[3]: Leaving directory `/home/libprelude-0.9.21.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/libprelude-0.9.21.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/libprelude-0.9.21.1'
make: *** [all] Error 2

How can i fix it?

_______________________________________________
Prelude-user site list
[email protected]
http://lists.prelude-ids.org/mailman/listinfo/prelude-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.