[quagga-dev 4583] Which Linux Kernel Version?

Daniel Ng daniel_ng11 at lycos.com
Fri Feb 23 05:49:44 GMT 2007


Hi,

I get a successful build if I compile with uclibc and Kernel 2.6.12.

However, if I build with the standard glibc and Kernel 2.6.14, I get the output 
at the bottom of this post.

This output seems to suggest a problem with the Kernel Header file rtnetlink.h. 

The above results were found using quagga 0.99.6. I do not have these problems 
with quagga 0.98.6.

Do you think it's a problem with the version of Linux Kernel I'm using? If so, 
which version would you recommend I use? And would I have to worry about 
compatibility of this recommended version of the Kernel and my version of 
glibc/uclibc?

Cheers,
Daniel

Output of ./configure --host=ppc-linux --CC=ppc-linux-gcc

Quagga configuration
--------------------
quagga version          : 0.99.6
host operationg system  : linux-gnu
source code location    : .
compiler                : ppc-linux-gcc
compiler flags          : -Os -fno-omit-frame-pointer -g -std=c99 -Wall -Wsign-
compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-
prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual
includes                :
linker flags            :  -lm -lcrypt   -lcap
state file directory    : /opt/eldknfs/dng/usr/local/quagga/etc
config file directory   : /opt/eldknfs/dng/usr/local/quagga/etc
example directory       : /opt/eldknfs/dng/usr/local/quagga/etc
user to run as          : quagga
group to run as         : quagga
group for vty sockets   :
config file mask        : 0600
log file mask           : 0600



Output of make install-

 ppc-linux-gcc -DHAVE_CONFIG_H -
DSYSCONFDIR=\"/opt/eldknfs/dng/usr/local/quagga/etc/\" -I. -I. -I.. -I.. -I.. -
I../lib -Os -fno-omit-frame-pointer -g -std=c99 -Wall -Wsign-compare -Wpointer-
arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-
declarations -Wchar-subscripts -Wcast-qual -MT network.lo -MD -MP -
MF .deps/network.Tpo -c network.c  -fPIC -DPIC -o .libs/network.o
In file included from ./zebra.h:165,
                 from network.c:23:
/home/opt/eldk4/usr/../ppc_82xx/usr/include/linux/rtnetlink.h:533: error: parse 
error before '__u64'
/home/opt/eldk4/usr/../ppc_82xx/usr/include/linux/rtnetlink.h:535: error: parse 
error before 'ndts_hash_grows'
/home/opt/eldk4/usr/../ppc_82xx/usr/include/linux/rtnetlink.h:536: error: parse 
error before 'ndts_res_failed'
/home/opt/eldk4/usr/../ppc_82xx/usr/include/linux/rtnetlink.h:537: error: parse 
error before 'ndts_lookups'
/home/opt/eldk4/usr/../ppc_82xx/usr/include/linux/rtnetlink.h:538: error: parse 
error before 'ndts_hits'
/home/opt/eldk4/usr/../ppc_82xx/usr/include/linux/rtnetlink.h:539: error: parse 
error before 'ndts_rcv_probes_mcast'
/home/opt/eldk4/usr/../ppc_82xx/usr/include/linux/rtnetlink.h:540: error: parse 
error before 'ndts_rcv_probes_ucast'
/home/opt/eldk4/usr/../ppc_82xx/usr/include/linux/rtnetlink.h:541: error: parse 
error before 'ndts_periodic_gc_runs'
/home/opt/eldk4/usr/../ppc_82xx/usr/include/linux/rtnetlink.h:542: error: parse 
error before 'ndts_forced_gc_runs'
/home/opt/eldk4/usr/../ppc_82xx/usr/include/linux/rtnetlink.h:702: error: parse 
error before '__u64'
/home/opt/eldk4/usr/../ppc_82xx/usr/include/linux/rtnetlink.h:704: error: parse 
error before 'base_addr'
/home/opt/eldk4/usr/../ppc_82xx/usr/include/linux/rtnetlink.h:708: error: parse 
error before '}' token
make[2]: *** [network.lo] Error 1
make[2]: Leaving directory `/home/dng/hpx800/quagga-0.99.6/lib'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/dng/hpx800/quagga-0.99.6/lib'
make: *** [install-recursive] Error 1





More information about the Quagga-dev mailing list