Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-07-2006, 08:58 PM   #1
LQ Newbie
Registered: Feb 2005
Posts: 22

Rep: Reputation: 15
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.


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
Old 07-24-2006, 09:48 AM   #2
LQ Newbie
Registered: Jan 2004
Posts: 15

Rep: Reputation: 0
I had the same problem with zebra 0.94.
Download 0.95a.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
zebra and ospfd: error mandana Linux - Networking 0 03-09-2006 02:59 PM
Zebra and OSPF? caps_phisto Linux - Networking 0 12-28-2004 03:08 PM
zebra - ripd beowulf Linux - Networking 0 03-31-2003 11:27 AM
is there a zebra in the house? baldy3105 Linux - Networking 1 02-10-2003 03:55 AM
Zebra printer esael Linux - Hardware 0 10-14-2002 10:53 AM

All times are GMT -5. The time now is 05:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration