[mpls-linux-devel] Build errors on quagga-mpls
Status: Beta
Brought to you by:
jleu
From: Han C. <hjc...@gm...> - 2011-01-14 05:06:53
|
Dear MPLS Linux devs, To play around with the latest MPLS enabled Quagga, I attempted to build it an ran into errors. The tarbal came from this gitweb address: http://mpls-linux.git.sourceforge.net/git/gitweb.cgi?p=mpls-linux/quagga;a=shortlog;h=refs/heads/master-mpls Even with no 'Configure' arguments, the build halts. The last lines are these: Making all in zebra make[2]: Entering directory `/root/quagga-mpls/quagga-8718163/zebra' gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -DMULTIPATH_NUM=1 -I. -I.. -I.. -I.. -I../lib -fPIE -g -std=gnu99 -Wall -I/root/quagga-mpls/quagga-87181 63/include -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -W missing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT main .o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c In file included from main.c:36: ../zebra/rib.h:121:1: warning: "STATIC_IPV4_BLACKHOLE" redefined ../zebra/rib.h:120:1: warning: this is the location of the previous definition In file included from main.c:37: ../zebra/rib.h:287: warning: âstruct route_nodeâ declared inside parameter list ../zebra/rib.h:287: warning: its scope is only this definition or declaration, w hich is probably not what you want main.c: In function âmainâ: main.c:329: warning: implicit declaration of function âmpls_vty_initâ mv -f .deps/main.Tpo .deps/main.Po gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -DMULTIPATH_NUM=1 -I. -I.. -I.. -I.. -I../lib -fPIE -g -std=gnu99 -Wall -I/root/quagga-mpls/quagga-87181 63/include -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -W missing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT zebr a_rib.o -MD -MP -MF .deps/zebra_rib.Tpo -c -o zebra_rib.o zebra_rib.c In file included from zebra_rib.c:38: ../zebra/rib.h:121:1: warning: "STATIC_IPV4_BLACKHOLE" redefined ../zebra/rib.h:120:1: warning: this is the location of the previous definition zebra_rib.c:1273: warning: no previous prototype for ârib_queue_addâ zebra_rib.c: In function âstatic_install_ipv4â: zebra_rib.c:2051: error: duplicate case value zebra_rib.c:2048: error: previously used here zebra_rib.c:2078: error: duplicate case value zebra_rib.c:2075: error: previously used here make[2]: *** [zebra_rib.o] Error 1 make[2]: Leaving directory `/root/quagga-mpls/quagga-8718163/zebra' make[1]: *** [all-recursive] Error 1 My environment: Citrix Xenserver 5.6.0 host with VM:FC8 i386 running the MPLS enabled kernel and its devel and header package. Got it from http://mpls-linux.sourceforge.net/fedora/8/i386/mpls/ GCC 4.1.2 Using git, cloning the repo and changing to master-mpls branch, gave the same result. Did something go wrong in the merging process, or is it platform dependent? Happy new year. Regards and cheers, Han Coumans |