|
From: | Saurabh Deshmukh |
Subject: | Zebra-0.95a not able to install on IPv6 stack(onLinux) |
Date: | Mon, 18 Feb 2013 11:00:11 +0000 |
Hi, I’m trying to install zebra-0.95a on Linux(Red_Hat_Linux 6.3) box with pure IPV6 stack(means no IPv4) and facing compilation issues while running ‘make’ command. i.e I’m using: “Linux IPv6 stack for GNU/Linux 2.2.x and higher”
as its said to be supported on Zebra. Here is what I tried: 1) Downloaded zebra(zebra-0.95a.tar.gz) from
http://ftp.sunet.se/pub/network/zebra/ 2) Copied it to Linux home directory and extracted there. 3) Executed the below command zebra-0.95a/ folder: ./configure –prefix= /osszoneuser/osszone/user/test/Live_simulators/zebra
(as I want to install it in this directory and not in default). make I get the below error upon running ‘make’ command(also attached the full trace), hence installation isn’t successful on pure IPV6 stack, though the same steps succeeds on IPv4 stack. 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:130: warning: dereferencing type-punned pointer will break strict-aliasing rules 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 /usr/include/arpa/inet.h:65: note: expected âchar * __restrict__â but argument is of type âu_char *â make[2]: *** [rtadv.o] Error 1 make[2]: Leaving directory `/osszoneuser/osszone/user/test/Live_simulators/zebra/zebra-0.95a/zebra' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/osszoneuser/osszone/user/test/Live_simulators/zebra/zebra-0.95a' make: *** [all] Error 2 Here is the results of running ‘netstat –rn’ : address@hidden zebra-0.95a]$ netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 Here is the results of running ‘ifconfig –a’: address@hidden zebra-0.95a]$ ifconfig -a eth0 Link encap:Ethernet HWaddr 00:50:56:8A:62:67 inet6 addr: a44:d0c5:0:2101::a13:f512/64 Scope:Global inet6 addr: fe80::250:56ff:fe8a:6267/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1859284 errors:0 dropped:0 overruns:0 frame:0 TX packets:2066983 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:378173273 (360.6 MiB) TX bytes:229367289 (218.7 MiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:5635 errors:0 dropped:0 overruns:0 frame:0 TX packets:5635 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:7546052 (7.1 MiB) TX bytes:7546052 (7.1 MiB) Thanks, Saurabh Deshmukh Dev Expert-Focus Master PBG-OSS +91 40154784 (office) AMDOCS |
EMBRACE CHALLENGE
EXPERIENCE SUCCESS |
make_Log.txt
Description: make_Log.txt
[Prev in Thread] | Current Thread | [Next in Thread] |