|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
[zebra 23194] rtadv.c: In function 'rtadv_recv_packet':Hi,
I got this error when I try to compile Zebra ! PLEASE HELP ! rgds Fred make[2]: Leaving directory `/home/fbovy/zebra/zebra-0.95a/lib' Making all in zebra make[2]: Entering directory `/home/fbovy/zebra/zebra-0.95a/zebra' source='rtadv.c' object='rtadv.o' libtool=no \ depfile='.deps/rtadv.Po' tmpdepfile='.deps/rtadv.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'rtadv.c' || echo './'`rtadv.c rtadv.c: In function 'rtadv_recv_packet': rtadv.c:123: error: dereferencing pointer to incomplete type rtadv.c:124: error: dereferencing pointer to incomplete type rtadv.c:124: error: dereferencing pointer to incomplete type rtadv.c: In function 'rtadv_send_packet': rtadv.c:149: error: invalid application of 'sizeof' to incomplete type 'struct in6_pktinfo' rtadv.c:194: warning: operation on 'node' may be undefined rtadv.c:268: error: dereferencing pointer to incomplete type rtadv.c:269: error: dereferencing pointer to incomplete type rtadv.c: In function 'rtadv_prefix_lookup': rtadv.c:476: warning: operation on 'node' may be undefined rtadv.c: In function 'rtadv_config_write': rtadv.c:977: warning: operation on 'node' may be undefined rtadv.c:982: warning: pointer targets in passing argument 3 of 'inet_ntop' differ in signedness make[2]: *** [rtadv.o] Error 1 make[2]: Leaving directory `/home/fbovy/zebra/zebra-0.95a/zebra' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/fbovy/zebra/zebra-0.95a' make: *** [all] Error 2 [root@skydivefred zebra-0.95a]# _______________________________________________ Zebra mailing list Zebra@... http://ml.zebra.org/mailman/listinfo/zebra |
|
|
[zebra 23195] Re: rtadv.c: In function 'rtadv_recv_packet':On Sat, 2009-08-01 at 11:44 +0200, fred wrote:
> Hi, > I got this error when I try to compile Zebra ! > PLEASE HELP ! 1) You don't say what platform or distribution you are running. 2) That version of Zebra (which is the latest) is almost 4 years old and nothings been released since. 3) Zebra itself has been pretty much replaced by Quagga, a branch years ago, which is now approaching a release candidate for 1.0 before too long. 4) Current version for Quagga is 0.99.14, released not too long ago. 5) What happens when you try with Quagga instead. http://www.quagga.net Mike > rgds > Fred > > make[2]: Leaving directory `/home/fbovy/zebra/zebra-0.95a/lib' > Making all in zebra > make[2]: Entering directory `/home/fbovy/zebra/zebra-0.95a/zebra' > source='rtadv.c' object='rtadv.o' libtool=no \ > depfile='.deps/rtadv.Po' tmpdepfile='.deps/rtadv.TPo' \ > depmode=gcc3 /bin/sh ../depcomp \ > gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" > -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c > `test -f 'rtadv.c' || echo './'`rtadv.c > rtadv.c: In function 'rtadv_recv_packet': > rtadv.c:123: error: dereferencing pointer to incomplete type > rtadv.c:124: error: dereferencing pointer to incomplete type > rtadv.c:124: error: dereferencing pointer to incomplete type > rtadv.c: In function 'rtadv_send_packet': > rtadv.c:149: error: invalid application of 'sizeof' to incomplete type > 'struct in6_pktinfo' > rtadv.c:194: warning: operation on 'node' may be undefined > rtadv.c:268: error: dereferencing pointer to incomplete type > rtadv.c:269: error: dereferencing pointer to incomplete type > rtadv.c: In function 'rtadv_prefix_lookup': > rtadv.c:476: warning: operation on 'node' may be undefined > rtadv.c: In function 'rtadv_config_write': > rtadv.c:977: warning: operation on 'node' may be undefined > rtadv.c:982: warning: pointer targets in passing argument 3 of > 'inet_ntop' differ in signedness > make[2]: *** [rtadv.o] Error 1 > make[2]: Leaving directory `/home/fbovy/zebra/zebra-0.95a/zebra' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/fbovy/zebra/zebra-0.95a' > make: *** [all] Error 2 > [root@skydivefred zebra-0.95a]# > > _______________________________________________ > Zebra mailing list > Zebra@... > http://ml.zebra.org/mailman/listinfo/zebra Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw@... /\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/ NIC whois: MHW9 | An optimist believes we live in the best of all PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it! _______________________________________________ Zebra mailing list Zebra@... http://ml.zebra.org/mailman/listinfo/zebra |
| Free embeddable forum powered by Nabble | Forum Help |