Compiling for IPv6

Simone Morandini simone.morandini at mix-it.net
Fri May 28 11:51:29 CEST 2010


Hi all,

I'd like to set up an IPv6 instance of BIRD for our members, but I'm 
having some troubles with "make".
When I issue "./configure --enable-ipv6" everything goes fine, but the 
subsequent "make" at a certain poing gives these errors:

[...]
gcc -I../ -I../.. -g -O2 -Wall -Wstrict-prototypes -Wno-parentheses 
-Wno-pointer-sign -o bitops.o -c bitops.c
gcc -I../ -I../.. -g -O2 -Wall -Wstrict-prototypes -Wno-parentheses 
-Wno-pointer-sign -o checksum.o -c checksum.c
gcc -I../ -I../.. -g -O2 -Wall -Wstrict-prototypes -Wno-parentheses 
-Wno-pointer-sign -o event.o -c event.c
event.c: In function ‘ev_run_list’:
../lib/lists.c:132: warning: dereferencing pointer ‘({anonymous})’ does 
break strict-aliasing rules
../lib/lists.c:115: note: initialized from here
gcc -I../ -I../.. -g -O2 -Wall -Wstrict-prototypes -Wno-parentheses 
-Wno-pointer-sign -o io.o -c io.c
io.c: In function ‘sysio_process_rx_cmsgs’:
io.c:704: error: dereferencing pointer to incomplete type
io.c:705: error: dereferencing pointer to incomplete type
io.c: In function ‘sk_read’:
io.c:1380: error: invalid application of ‘sizeof’ to incomplete type 
‘struct in6_pktinfo’
make[2]: *** [io.o] Error 1
make[2]: Leaving directory `/usr/local/src/bird-1.2.2/obj/lib'
make[1]: *** [subdir] Error 2
make[1]: Leaving directory `/usr/local/src/bird-1.2.2/obj'
make: *** [all] Error 2
[root at rs1 bird-1.2.2]#


On the same machine BIRD compiles successfully without the v6 option. Am 
I missing something basic here?
The box runs on a Fedora 12.

Thanks a lot,
Simone.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Bird-users mailing list