On 28.5.2010 11:51, Simone Morandini wrote:
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@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.
Hi Simone, this is a known bug. It is fixed differently in current git repository, but you can for example use my hot fix from Fedora RPMs. (Attached). Ondrej
Thanks a lot, Simone.
Hi Ondrej,
this is a known bug. It is fixed differently in current git repository, but you can for example use my hot fix from Fedora RPMs. (Attached).
thanks for the patch, after that it compiled regularly (of course!). Plus, I see that version 1.2.3 compiles fine as well... Thanks! Regards, Simone. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
participants (2)
-
Ondrej Filip -
Simone Morandini