LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Error while compiling zebra (https://www.linuxquestions.org/questions/linux-networking-3/error-while-compiling-zebra-442613/)

bkankur 05-07-2006 08:58 PM

Error while compiling zebra
 
Hello Friends,

I am getting error while compiling Zebra in uClinux and using kernel 2.4.x. Can anyone tell me which file i am missing or which parameter i need to enable in kernel as solution for the below error?

The Error which i am getting is as below..

Thanx in Advance.

Regards,
Ankur.


The Error while compiling zebra ==>

make[4]: Entering directory `/mnt/c/uClinux-dist/user/zebra/zebra'
source='rt_socket.c' object='rt_socket.o' libtool=no \
depfile='.deps/rt_socket.Po' tmpdepfile='.deps/rt_socket.TPo' \
depmode=gcc /bin/sh ../depcomp \
arm-elf-gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -elf2flt -c `test -f 'rt_socket.c' || echo './'`rt_socket.c
rt_socket.c: In function `kernel_rtm_ipv4':
rt_socket.c:100: `RTM_ADD' undeclared (first use in this function)
rt_socket.c:100: (Each undeclared identifier is reported only once
rt_socket.c:100: for each function it appears in.)
rt_socket.c:105: `RTM_DELETE' undeclared (first use in this function)
rt_socket.c: In function `kernel_add_ipv4':
rt_socket.c:183: `RTM_ADD' undeclared (first use in this function)
rt_socket.c: In function `kernel_delete_ipv4':
rt_socket.c:189: `RTM_DELETE' undeclared (first use in this function)
rt_socket.c: In function `kernel_rtm_ipv6_multipath':
rt_socket.c:317: `RTM_ADD' undeclared (first use in this function)
rt_socket.c:322: `RTM_DELETE' undeclared (first use in this function)
rt_socket.c: In function `kernel_add_ipv6':
rt_socket.c:417: `RTM_ADD' undeclared (first use in this function)
rt_socket.c: In function `kernel_delete_ipv6':
rt_socket.c:423: `RTM_DELETE' undeclared (first use in this function)
rt_socket.c: In function `kernel_delete_ipv6_old':
rt_socket.c:431: `RTM_DELETE' undeclared (first use in this function)
make[4]: *** [rt_socket.o] Error 1
make[4]: Leaving directory `/mnt/c/uClinux-dist/user/zebra/zebra'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/mnt/c/uClinux-dist/user/zebra'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/mnt/c/uClinux-dist/user/zebra'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/mnt/c/uClinux-dist/user'
make: *** [user_only] Error 2

kmokrzcyki 07-24-2006 09:48 AM

I had the same problem with zebra 0.94.
Download 0.95a.

ftp://ftp.sunet.se/pub/network/zebra/zebra-0.95a.tar.gz


All times are GMT -5. The time now is 03:06 PM.