[mpls-linux-general] Quagga Compilation failed after LDP patch
Status: Beta
Brought to you by:
jleu
From: Bhartendu M. <bha...@gm...> - 2008-03-12 13:53:23
|
[root@localhost zebra]# make if gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -DMULTIPATH_NUM=1 -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 test_main.o -MD -MP -MF ".deps/test_main.Tpo" -c -o test_main.o test_main.c; \ then mv -f ".deps/test_main.Tpo" ".deps/test_main.Po"; else rm -f ".deps/test_main.Tpo"; exit 1; fi In file included from test_main.c:35: ../zebra/zserv.h:114: warning: âstruct zmpls_xcâ declared inside parameter list ../zebra/zserv.h:114: warning: its scope is only this definition or declaration, which is probably not what you want ../zebra/zserv.h:117: warning: âstruct zmpls_xcâ declared inside parameter list ../zebra/zserv.h:120: warning: âstruct zmpls_in_segmentâ declared inside parameter list ../zebra/zserv.h:123: warning: âstruct zmpls_in_segmentâ declared inside parameter list ../zebra/zserv.h:126: warning: âstruct zmpls_out_segmentâ declared inside parameter list ../zebra/zserv.h:129: warning: âstruct zmpls_out_segmentâ declared inside parameter list ../zebra/zserv.h:138: warning: âstruct zmpls_ftnâ declared inside parameter list ../zebra/zserv.h:141: warning: âstruct zmpls_ftnâ declared inside parameter list In file included from ../zebra/interface.h:26, from test_main.c:38: ../zebra/redistribute.h:49: warning: âstruct zmpls_xcâ declared inside parameter list ../zebra/redistribute.h:50: warning: âstruct zmpls_xcâ declared inside parameter list ../zebra/redistribute.h:51: warning: âstruct zmpls_ftnâ declared inside parameter list ../zebra/redistribute.h:52: warning: âstruct zmpls_ftnâ declared inside parameter list ../zebra/redistribute.h:53: warning: âstruct zmpls_in_segmentâ declared inside parameter list ../zebra/redistribute.h:54: warning: âstruct zmpls_in_segmentâ declared inside parameter list ../zebra/redistribute.h:55: warning: âstruct zmpls_out_segmentâ declared inside parameter list ../zebra/redistribute.h:56: warning: âstruct zmpls_out_segmentâ declared inside parameter list if gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -DMULTIPATH_NUM=1 -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 zebra_rib.o -MD -MP -MF ".deps/zebra_rib.Tpo" -c -o zebra_rib.o zebra_rib.c; \ then mv -f ".deps/zebra_rib.Tpo" ".deps/zebra_rib.Po"; else rm -f ".deps/zebra_rib.Tpo"; exit 1; fi In file included from zebra_rib.c:39: ../zebra/zserv.h:114: warning: âstruct zmpls_xcâ declared inside parameter list ../zebra/zserv.h:114: warning: its scope is only this definition or declaration, which is probably not what you want ../zebra/zserv.h:117: warning: âstruct zmpls_xcâ declared inside parameter list ../zebra/zserv.h:120: warning: âstruct zmpls_in_segmentâ declared inside parameter list ../zebra/zserv.h:123: warning: âstruct zmpls_in_segmentâ declared inside parameter list ../zebra/zserv.h:126: warning: âstruct zmpls_out_segmentâ declared inside parameter list ../zebra/zserv.h:129: warning: âstruct zmpls_out_segmentâ declared inside parameter list ../zebra/zserv.h:138: warning: âstruct zmpls_ftnâ declared inside parameter list ../zebra/zserv.h:141: warning: âstruct zmpls_ftnâ declared inside parameter list In file included from zebra_rib.c:40: ../zebra/redistribute.h:49: warning: âstruct zmpls_xcâ declared inside parameter list ../zebra/redistribute.h:50: warning: âstruct zmpls_xcâ declared inside parameter list ../zebra/redistribute.h:51: warning: âstruct zmpls_ftnâ declared inside parameter list ../zebra/redistribute.h:52: warning: âstruct zmpls_ftnâ declared inside parameter list ../zebra/redistribute.h:53: warning: âstruct zmpls_in_segmentâ declared inside parameter list ../zebra/redistribute.h:54: warning: âstruct zmpls_in_segmentâ declared inside parameter list ../zebra/redistribute.h:55: warning: âstruct zmpls_out_segmentâ declared inside parameter list ../zebra/redistribute.h:56: warning: âstruct zmpls_out_segmentâ declared inside parameter list zebra_rib.c:1273: warning: no previous prototype for ârib_queue_addâ zebra_rib.c:97: warning: âvrf_freeâ defined but not used zebra_rib.c:113: warning: âvrf_lookup_by_nameâ defined but not used zebra_rib.c:2798: warning: ârib_if_upâ defined but not used zebra_rib.c:2805: warning: ârib_if_downâ defined but not used if gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -DMULTIPATH_NUM=1 -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 interface.o -MD -MP -MF ".deps/interface.Tpo" -c -o interface.o interface.c; \ then mv -f ".deps/interface.Tpo" ".deps/interface.Po"; else rm -f ".deps/interface.Tpo"; exit 1; fi In file included from ../zebra/redistribute.h:28, from ../zebra/interface.h:26, from interface.c:37: ../zebra/zserv.h:114: warning: âstruct zmpls_xcâ declared inside parameter list ../zebra/zserv.h:114: warning: its scope is only this definition or declaration, which is probably not what you want ../zebra/zserv.h:117: warning: âstruct zmpls_xcâ declared inside parameter list ../zebra/zserv.h:120: warning: âstruct zmpls_in_segmentâ declared inside parameter list ../zebra/zserv.h:123: warning: âstruct zmpls_in_segmentâ declared inside parameter list ../zebra/zserv.h:126: warning: âstruct zmpls_out_segmentâ declared inside parameter list ../zebra/zserv.h:129: warning: âstruct zmpls_out_segmentâ declared inside parameter list ../zebra/zserv.h:138: warning: âstruct zmpls_ftnâ declared inside parameter list ../zebra/zserv.h:141: warning: âstruct zmpls_ftnâ declared inside parameter list In file included from ../zebra/interface.h:26, from interface.c:37: ../zebra/redistribute.h:49: warning: âstruct zmpls_xcâ declared inside parameter list ../zebra/redistribute.h:50: warning: âstruct zmpls_xcâ declared inside parameter list ../zebra/redistribute.h:51: warning: âstruct zmpls_ftnâ declared inside parameter list ../zebra/redistribute.h:52: warning: âstruct zmpls_ftnâ declared inside parameter list ../zebra/redistribute.h:53: warning: âstruct zmpls_in_segmentâ declared inside parameter list ../zebra/redistribute.h:54: warning: âstruct zmpls_in_segmentâ declared inside parameter list ../zebra/redistribute.h:55: warning: âstruct zmpls_out_segmentâ declared inside parameter list ../zebra/redistribute.h:56: warning: âstruct zmpls_out_segmentâ declared inside parameter list interface.c:884: warning: âif_supported_familyâ defined but not used if gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -DMULTIPATH_NUM=1 -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 connected.o -MD -MP -MF ".deps/connected.Tpo" -c -o connected.o connected.c; \ then mv -f ".deps/connected.Tpo" ".deps/connected.Po"; else rm -f ".deps/connected.Tpo"; exit 1; fi In file included from connected.c:35: ../zebra/zserv.h:114: warning: âstruct zmpls_xcâ declared inside parameter list ../zebra/zserv.h:114: warning: its scope is only this definition or declaration, which is probably not what you want ../zebra/zserv.h:117: warning: âstruct zmpls_xcâ declared inside parameter list ../zebra/zserv.h:120: warning: âstruct zmpls_in_segmentâ declared inside parameter list ../zebra/zserv.h:123: warning: âstruct zmpls_in_segmentâ declared inside parameter list ../zebra/zserv.h:126: warning: âstruct zmpls_out_segmentâ declared inside parameter list ../zebra/zserv.h:129: warning: âstruct zmpls_out_segmentâ declared inside parameter list ../zebra/zserv.h:138: warning: âstruct zmpls_ftnâ declared inside parameter list ../zebra/zserv.h:141: warning: âstruct zmpls_ftnâ declared inside parameter list In file included from connected.c:36: ../zebra/redistribute.h:49: warning: âstruct zmpls_xcâ declared inside parameter list ../zebra/redistribute.h:50: warning: âstruct zmpls_xcâ declared inside parameter list ../zebra/redistribute.h:51: warning: âstruct zmpls_ftnâ declared inside parameter list ../zebra/redistribute.h:52: warning: âstruct zmpls_ftnâ declared inside parameter list ../zebra/redistribute.h:53: warning: âstruct zmpls_in_segmentâ declared inside parameter list ../zebra/redistribute.h:54: warning: âstruct zmpls_in_segmentâ declared inside parameter list ../zebra/redistribute.h:55: warning: âstruct zmpls_out_segmentâ declared inside parameter list ../zebra/redistribute.h:56: warning: âstruct zmpls_out_segmentâ declared inside parameter list if gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -DMULTIPATH_NUM=1 -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 debug.o -MD -MP -MF ".deps/debug.Tpo" -c -o debug.o debug.c; \ then mv -f ".deps/debug.Tpo" ".deps/debug.Po"; else rm -f ".deps/debug.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -DMULTIPATH_NUM=1 -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 zebra_vty.o -MD -MP -MF ".deps/zebra_vty.Tpo" -c -o zebra_vty.o zebra_vty.c; \ then mv -f ".deps/zebra_vty.Tpo" ".deps/zebra_vty.Po"; else rm -f ".deps/zebra_vty.Tpo"; exit 1; fi In file included from zebra_vty.c:31: ../zebra/zserv.h:114: warning: âstruct zmpls_xcâ declared inside parameter list ../zebra/zserv.h:114: warning: its scope is only this definition or declaration, which is probably not what you want ../zebra/zserv.h:117: warning: âstruct zmpls_xcâ declared inside parameter list ../zebra/zserv.h:120: warning: âstruct zmpls_in_segmentâ declared inside parameter list ../zebra/zserv.h:123: warning: âstruct zmpls_in_segmentâ declared inside parameter list ../zebra/zserv.h:126: warning: âstruct zmpls_out_segmentâ declared inside parameter list ../zebra/zserv.h:129: warning: âstruct zmpls_out_segmentâ declared inside parameter list ../zebra/zserv.h:138: warning: âstruct zmpls_ftnâ declared inside parameter list ../zebra/zserv.h:141: warning: âstruct zmpls_ftnâ declared inside parameter list zebra_vty.c: In function âdo_zebra_static_ipv4â: zebra_vty.c:131: warning: cast discards qualifiers from pointer target type zebra_vty.c: At top level: zebra_vty.c:148: warning: no previous prototype for âzebra_static_ipv4â zebra_vty.c: In function âvty_show_ipv6_routeâ: zebra_vty.c:2672: error: invalid storage class for function âshow_ipv6_routeâ zebra_vty.c:2672: error: âshow_ipv6_routeâ undeclared (first use in this function) zebra_vty.c:2672: error: (Each undeclared identifier is reported only once zebra_vty.c:2672: error: for each function it appears in.) zebra_vty.c:2678: error: invalid storage class for function âshow_ipv6_routeâ zebra_vty.c:2678: warning: no previous prototype for âshow_ipv6_routeâ zebra_vty.c: In function âshow_ipv6_routeâ: zebra_vty.c:2694: warning: too many arguments for format zebra_vty.c: In function âvty_show_ipv6_routeâ: zebra_vty.c:2702: error: invalid storage class for function âshow_ipv6_route_prefix_longerâ zebra_vty.c:2702: error: âshow_ipv6_route_prefix_longerâ undeclared (first use in this function) zebra_vty.c:2710: error: invalid storage class for function âshow_ipv6_route_prefix_longerâ zebra_vty.c:2710: warning: no previous prototype for âshow_ipv6_route_prefix_longerâ zebra_vty.c: In function âshow_ipv6_route_prefix_longerâ: zebra_vty.c:2736: warning: too many arguments for format zebra_vty.c: In function âvty_show_ipv6_routeâ: zebra_vty.c:2744: error: invalid storage class for function âshow_ipv6_route_protocolâ zebra_vty.c:2744: error: âshow_ipv6_route_protocolâ undeclared (first use in this function) zebra_vty.c:2757: error: invalid storage class for function âshow_ipv6_route_protocolâ zebra_vty.c:2757: warning: no previous prototype for âshow_ipv6_route_protocolâ zebra_vty.c: In function âshow_ipv6_route_protocolâ: zebra_vty.c:2797: warning: too many arguments for format zebra_vty.c: In function âvty_show_ipv6_routeâ: zebra_vty.c:2805: error: invalid storage class for function âshow_ipv6_route_addrâ zebra_vty.c:2805: error: âshow_ipv6_route_addrâ undeclared (first use in this function) zebra_vty.c:2812: error: invalid storage class for function âshow_ipv6_route_addrâ zebra_vty.c:2812: warning: no previous prototype for âshow_ipv6_route_addrâ zebra_vty.c:2843: error: invalid storage class for function âshow_ipv6_route_prefixâ zebra_vty.c:2843: error: âshow_ipv6_route_prefixâ undeclared (first use in this function) zebra_vty.c:2850: error: invalid storage class for function âshow_ipv6_route_prefixâ zebra_vty.c:2850: warning: no previous prototype for âshow_ipv6_route_prefixâ zebra_vty.c:2885: error: invalid storage class for function âstatic_config_ipv6â zebra_vty.c:2885: warning: no previous prototype for âstatic_config_ipv6â zebra_vty.c:2947: error: invalid storage class for function âzebra_ip_configâ zebra_vty.c:2947: warning: no previous prototype for âzebra_ip_configâ zebra_vty.c:2964: warning: no previous prototype for âzebra_vty_initâ zebra_vty.c:3091: error: expected declaration or statement at end of input make: *** [zebra_vty.o] Error 1 [root@localhost zebra]# |