[prev in list] [next in list] [prev in thread] [next in thread] 

List:       prelude-user
Subject:    [prelude-user] Libprelude build error with Cygwin
From:       Alexey Mitrofanov <amitrofanov () inbox ! lv>
Date:       2008-10-31 14:20:35
Message-ID: 1225462835.490b1433c2ba0 () www ! inbox ! lv
[Download RAW message or body]

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
Prelude-user@prelude-ids.org
http://lists.prelude-ids.org/mailman/listinfo/prelude-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic