[quagga-users 14371] powerpc zebra issues

Kavita Raghunathan speak2kavita at gmail.com
Fri Jul 29 18:20:58 BST 2016


Hi, Ive been struggling for awhile to get zebra running on powerpc. I have
some questions:
1. What is a stable version of quagga for linux host build and linux
powerpc ? So far I have experimented with 19,20,23,24. All of them fail at
some point (see 2 and 3)

2. Some of the releases fail with the following error in configure:
checking whether does this OS have IPv6 stack... configure: error: Failed
to detect IPv6 stack
My configure looks like this:

./configure --host=powerpc
--with-cflags=-I//opt/eldk-5.2.1/powerpc-e500v2/sysroots/ppce500v2-linux-gnuspe/usr/include
--with-sysroot=/opt/eldk-5.2.1/powerpc-e500v2/sysroots/ppce500v2-linux-gnuspe
--target=powerpc --host=powerpc  --disable-ipv6 --disable-bgpd
--disable-ripd -disable-ripngd --disable-ospf6d

3. Some of the releases fail in make with the following error and there are
several issues with the zebra make (not this only occurs when zebra is
enabled but I need zebra to get ospfd to work). Linux uses netlink, not
route socket. kernel_netlink is empty.
<deleted>
kernel_socket.c:1149:25: error: field 'ifa' has incomplete type
kernel_socket.c:1179:5: warning: passing argument 1 of 'rtmsg_debug' from
incompatible pointer type [enabled by default]
kernel_socket.c:1096:1: note: expected 'struct rt_msghdr *' but argument is
of type 'const struct message (*)[1]'
kernel_socket.c:1181:7: warning: assignment from incompatible pointer type
[enabled by default]
kernel_socket.c:1187:10: error: dereferencing pointer to incomplete type
kernel_socket.c:1187:10: error: request for member 'rtm_msglen' in
something not a structure or union
kernel_socket.c:1187:23: warning: comparison between pointer and integer
[enabled by default]
kernel_socket.c:1190:7: error: dereferencing pointer to incomplete type
kernel_socket.c:1190:7: error: request for member 'rtm_msglen' in something
not a structure or union
kernel_socket.c:1190:32: error: dereferencing pointer to incomplete type
kernel_socket.c:1190:32: error: request for member 'rtm_type' in something
not a structure or union
kernel_socket.c:1194:14: error: dereferencing pointer to incomplete type
kernel_socket.c:1194:14: error: request for member 'rtm_type' in something
not a structure or union
kernel_socket.c:1199:7: warning: passing argument 1 of 'rtm_read' from
incompatible pointer type [enabled by default]
kernel_socket.c:763:1: note: expected 'struct rt_msghdr *' but argument is
of type 'struct rt_msghdr *'
kernel_socket.c:1202:7: warning: passing argument 1 of 'ifm_read' from
incompatible pointer type [enabled by default]
kernel_socket.c:319:1: note: expected 'struct if_msghdr *' but argument is
of type 'const struct message (*)[1]'
kernel_socket.c:1206:7: warning: passing argument 1 of 'ifam_read' from
incompatible pointer type [enabled by default]
kernel_socket.c:614:1: note: expected 'struct ifa_msghdr *' but argument is
of type 'const struct message (*)[1]'
kernel_socket.c:1215:51: error: dereferencing pointer to incomplete type
kernel_socket.c:1215:51: error: request for member 'rtm_type' in something
not a structure or union
make[2]: *** [kernel_socket.o] Error 1
make[2]: Leaving directory `/opt/quagga/quagga-0.99.19/zebra'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/quagga/quagga-0.99.19'
make: *** [all] Error 2

Please help. To me it appears that theres no version out there that
compiles out of the box for linux host and powerpc target and some
modifications are necessary.
Regards
Kavita
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quagga.net/pipermail/quagga-users/attachments/20160729/ad7f170f/attachment.html>


More information about the Quagga-users mailing list