Thread: [mpls-linux-devel] MPLS-Linux problem
Status: Beta
Brought to you by:
jleu
From: <ni...@ho...> - 2007-03-14 10:28:34
|
Hi, I'm trying to install mpls on Linux machines and I've problems when I c= ompile the quagga-mpls source from your repository =20 I'm using Fedora Core 5, kernels rpms from sourceforge and quagga-mpls and= ldp-portable from your repository I use your update-tools script to update autoconf and automake. First of al= l I modify create-links to point to ldp-portable directory. Then, I create= Makefile and when I'm going to compile and install quagga I find this erro= r: =20 #./configure --enable-vtysh --enable-mpls --enable-netlink #make =20 // after some compiling time zebra_vty.c:148: aviso: no hay un prototipo previo para =91zebra_static_ipv= 4=92 zebra_vty.c: En la funci=F3n =91vty_show_ipv6_route=92: zebra_vty.c:2668: error: clase de almacenamiento inv=E1lida para la funci= =F3n =91show_ipv6_route=92 zebra_vty.c:2668: error: =91show_ipv6_route=92 no se declar=F3 aqu=ED (prim= er uso en esta funci=F3n) zebra_vty.c:2668: error: (Cada identificador no declarado solamente se repo= rta una vez zebra_vty.c:2668: error: ara cada funcion en la que aparece.) zebra_vty.c:2674: error: clase de almacenamiento inv=E1lida para la funci= =F3n =91show_ipv6_route=92 zebra_vty.c:2674: aviso: no hay un prototipo previo para =91show_ipv6_route= =92 zebra_vty.c:2698: error: clase de almacenamiento inv=E1lida para la funci= =F3n =91show_ipv6_route_prefix_longer=92 zebra_vty.c:2698: error: =91show_ipv6_route_prefix_longer=92 no se declar= =F3 aqu=ED (primer uso en esta funci=F3n) zebra_vty.c:2706: error: clase de almacenamiento inv=E1lida para la funci= =F3n =91show_ipv6_route_prefix_longer=92 zebra_vty.c:2706: aviso: no hay un prototipo previo para =91show_ipv6_route= _prefix_longer=92 zebra_vty.c:2740: error: clase de almacenamiento inv=E1lida para la funci= =F3n =91show_ipv6_route_protocol=92 zebra_vty.c:2740: error: =91show_ipv6_route_protocol=92 no se declar=F3 aqu= =ED (primer uso en esta funci=F3n) zebra_vty.c:2753: error: clase de almacenamiento inv=E1lida para la funci= =F3n =91show_ipv6_route_protocol=92 zebra_vty.c:2753: aviso: no hay un prototipo previo para =91show_ipv6_route= _protocol=92 zebra_vty.c:2801: error: clase de almacenamiento inv=E1lida para la funci= =F3n =91show_ipv6_route_addr=92 zebra_vty.c:2801: error: =91show_ipv6_route_addr=92 no se declar=F3 aqu=ED = (primer uso en esta funci=F3n) zebra_vty.c:2808: error: clase de almacenamiento inv=E1lida para la funci= =F3n =91show_ipv6_route_addr=92 zebra_vty.c:2808: aviso: no hay un prototipo previo para =91show_ipv6_route= _addr=92 zebra_vty.c:2839: error: clase de almacenamiento inv=E1lida para la funci= =F3n =91show_ipv6_route_prefix=92 zebra_vty.c:2839: error: =91show_ipv6_route_prefix=92 no se declar=F3 aqu= =ED (primer uso en esta funci=F3n) zebra_vty.c:2846: error: clase de almacenamiento inv=E1lida para la funci= =F3n =91show_ipv6_route_prefix=92 zebra_vty.c:2846: aviso: no hay un prototipo previo para =91show_ipv6_route= _prefix=92 zebra_vty.c:2881: error: clase de almacenamiento inv=E1lida para la funci= =F3n =91static_config_ipv6=92 zebra_vty.c:2881: aviso: no hay un prototipo previo para =91static_config_i= pv6=92 zebra_vty.c:2943: error: clase de almacenamiento inv=E1lida para la funci= =F3n =91zebra_ip_config=92 zebra_vty.c:2943: aviso: no hay un prototipo previo para =91zebra_ip_config= =92 zebra_vty.c:2960: aviso: no hay un prototipo previo para =91zebra_vty_init= =92 zebra_vty.c:3087: error: expected declaration or statement at end of input make[2]: *** [zebra_vty.o] Error 1 make[2]: Leaving directory `/root/Desktop/anteriores/quagga-mpls/zebra' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/Desktop/anteriores/quagga-mpls' make: *** [all] Error 2 =20 Do you know the reason of this kind of errors? Has this situation happened = to someone? =20 Thanks in advance for your time =20 Regards,=20 Miguel Andr=E9s =20 =20 _________________________________________________________________ Busca desde cualquier p=E1gina Web con una protecci=F3n excepcional. Consig= ue la Barra de herramientas de Windows Live hoy mismo y GRATUITAMENTE. http://www.toolbar.live.com= |
From: James R. L. <jl...@mi...> - 2007-03-14 12:34:19
|
You need to enable IPv6 support. Why are your trying to compile quagga-mpls? There is a binary FC5 RPM for quagga-mpls already. On Wed, Mar 14, 2007 at 10:28:24AM +0000, Miguel Andr?s wrote: > Hi, I'm trying to install mpls on Linux machines and I've problems when I= compile the quagga-mpls source from your repository > =20 > I'm using Fedora Core 5, kernels rpms from sourceforge and quagga-mpls a= nd ldp-portable from your repository > I use your update-tools script to update autoconf and automake. First of = all I modify create-links to point to ldp-portable directory. Then, I crea= te Makefile and when I'm going to compile and install quagga I find this er= ror: > =20 > #./configure --enable-vtysh --enable-mpls --enable-netlink > #make > =20 > // after some compiling time > zebra_vty.c:148: aviso: no hay un prototipo previo para ?zebra_static_ipv= 4? > zebra_vty.c: En la funci?n ?vty_show_ipv6_route?: > zebra_vty.c:2668: error: clase de almacenamiento inv?lida para la funci?n= ?show_ipv6_route? > zebra_vty.c:2668: error: ?show_ipv6_route? no se declar? aqu? (primer uso= en esta funci?n) > zebra_vty.c:2668: error: (Cada identificador no declarado solamente se re= porta una vez > zebra_vty.c:2668: error: ara cada funcion en la que aparece.) > zebra_vty.c:2674: error: clase de almacenamiento inv?lida para la funci?n= ?show_ipv6_route? > zebra_vty.c:2674: aviso: no hay un prototipo previo para ?show_ipv6_route? > zebra_vty.c:2698: error: clase de almacenamiento inv?lida para la funci?n= ?show_ipv6_route_prefix_longer? > zebra_vty.c:2698: error: ?show_ipv6_route_prefix_longer? no se declar? aq= u? (primer uso en esta funci?n) > zebra_vty.c:2706: error: clase de almacenamiento inv?lida para la funci?n= ?show_ipv6_route_prefix_longer? > zebra_vty.c:2706: aviso: no hay un prototipo previo para ?show_ipv6_route= _prefix_longer? > zebra_vty.c:2740: error: clase de almacenamiento inv?lida para la funci?n= ?show_ipv6_route_protocol? > zebra_vty.c:2740: error: ?show_ipv6_route_protocol? no se declar? aqu? (p= rimer uso en esta funci?n) > zebra_vty.c:2753: error: clase de almacenamiento inv?lida para la funci?n= ?show_ipv6_route_protocol? > zebra_vty.c:2753: aviso: no hay un prototipo previo para ?show_ipv6_route= _protocol? > zebra_vty.c:2801: error: clase de almacenamiento inv?lida para la funci?n= ?show_ipv6_route_addr? > zebra_vty.c:2801: error: ?show_ipv6_route_addr? no se declar? aqu? (prime= r uso en esta funci?n) > zebra_vty.c:2808: error: clase de almacenamiento inv?lida para la funci?n= ?show_ipv6_route_addr? > zebra_vty.c:2808: aviso: no hay un prototipo previo para ?show_ipv6_route= _addr? > zebra_vty.c:2839: error: clase de almacenamiento inv?lida para la funci?n= ?show_ipv6_route_prefix? > zebra_vty.c:2839: error: ?show_ipv6_route_prefix? no se declar? aqu? (pri= mer uso en esta funci?n) > zebra_vty.c:2846: error: clase de almacenamiento inv?lida para la funci?n= ?show_ipv6_route_prefix? > zebra_vty.c:2846: aviso: no hay un prototipo previo para ?show_ipv6_route= _prefix? > zebra_vty.c:2881: error: clase de almacenamiento inv?lida para la funci?n= ?static_config_ipv6? > zebra_vty.c:2881: aviso: no hay un prototipo previo para ?static_config_i= pv6? > zebra_vty.c:2943: error: clase de almacenamiento inv?lida para la funci?n= ?zebra_ip_config? > zebra_vty.c:2943: aviso: no hay un prototipo previo para ?zebra_ip_config? > zebra_vty.c:2960: aviso: no hay un prototipo previo para ?zebra_vty_init? > zebra_vty.c:3087: error: expected declaration or statement at end of input > make[2]: *** [zebra_vty.o] Error 1 > make[2]: Leaving directory `/root/Desktop/anteriores/quagga-mpls/zebra' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/Desktop/anteriores/quagga-mpls' > make: *** [all] Error 2 > =20 > Do you know the reason of this kind of errors? Has this situation happene= d to someone? > =20 > Thanks in advance for your time > =20 > Regards,=20 > Miguel Andr?s > =20 > =20 > _________________________________________________________________ > Busca desde cualquier p?gina Web con una protecci?n excepcional. Consigue= la Barra de herramientas de Windows Live hoy mismo y GRATUITAMENTE. > http://www.toolbar.live.com > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share y= our > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > mpls-linux-devel mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel --=20 James R. Leu jl...@mi... |
From: Marco S. <mar...@s2...> - 2007-03-15 18:51:11
|
Hello, here's a short outline of the same error: > zebra_vty.c:2943: Fehler: ung=FCltige Speicherklasse f=FCr Funktion =BBze= bra_ip_config=AB > zebra_vty.c:2943: Warnung: kein vorheriger Prototyp f=FCr =BBzebra_ip_con= fig=AB > zebra_vty.c:2960: Warnung: kein vorheriger Prototyp f=FCr =BBzebra_vty_in= it=AB > zebra_vty.c:3087: Fehler: expected declaration or statement at end of inp= ut > make[2]: *** [zebra_vty.o] Fehler 1 > make[2]: Leaving directory `/usr/src/redhat/SOURCES/quagga-0.99.6/zebra' > make[1]: *** [all-recursive] Fehler 1 > make[1]: Leaving directory `/usr/src/redhat/SOURCES/quagga-0.99.6' > make: *** [all] Fehler 2 This happens, if I try to compile the patched quagga-sources from sf on my FC6 machine. I've got no other MPLS Packages installed on this machine (it is used for other work), perhaps you forgot to install the glibc-kernheaders from sf? I'm also trying to compile Quagga, because the zebra-daemon is not as stable as I wished... Which snapshot has been used for the RPM at sf? I encounter the following errors on my FC5 MPLS machines: In file included from /usr/include/sys/uio.h:24, from /usr/include/sys/socket.h:27, from /usr/include/linux/mpls.h:32, from mpls_netlink.c:1: /usr/include/sys/types.h:62: error: conflicting types for 'dev_t' /usr/include/linux/types.h:10: error: previous declaration of 'dev_t' w= as here /usr/include/sys/types.h:67: error: conflicting types for 'gid_t' /usr/include/linux/types.h:21: error: previous declaration of 'gid_t' w= as here /usr/include/sys/types.h:72: error: conflicting types for 'mode_t' /usr/include/linux/types.h:12: error: previous declaration of 'mode_t' = was here /usr/include/sys/types.h:77: error: conflicting types for 'nlink_t' /usr/include/linux/types.h:13: error: previous declaration of 'nlink_t'= was here /usr/include/sys/types.h:82: error: conflicting types for 'uid_t' /usr/include/linux/types.h:20: error: previous declaration of 'uid_t' w= as here In file included from /usr/include/sys/types.h:220, from /usr/include/sys/uio.h:24, from /usr/include/sys/socket.h:27, from /usr/include/linux/mpls.h:32, from mpls_netlink.c:1: /usr/include/sys/select.h:78: error: conflicting types for 'fd_set' /usr/include/linux/types.h:9: error: previous declaration of 'fd_set' w= as here make[2]: *** [mpls_netlink.o] Error 1 make[2]: Leaving directory `/usr/src/redhat/BUILD/quagga-0.99.6/zebra' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/quagga-0.99.6' make: *** [all] Error 2 Does anyone know, how to solve these declaration-problems? Regards, Marco > =20 > Hi, I'm trying to install mpls on Linux machines and I've problems > when I compile the quagga-mpls source from your repository > =A0 > I'm using Fedora Core 5, kernels =A0rpms from sourceforge and > quagga-mpls and ldp-portable from your repository > I use your update-tools script to update autoconf and automake. > First of all I modify=A0create-links to point to=A0ldp-portable > directory. Then, =A0I create=A0Makefile and when I'm going to compile > and install quagga I find this error: > =A0 > #./configure --enable-vtysh --enable-mpls --enable-netlink > #make > =A0 > // after some compiling time > =20 > zebra_vty.c:148: aviso: no hay un prototipo previo para =91zebra_static_i= pv4=92 > =20 > zebra_vty.c: En la funci=F3n =91vty_show_ipv6_route=92: > =20 > zebra_vty.c:2668: error: clase de almacenamiento inv=E1lida para la funci= =F3n =91show_ipv6_route=92 > =20 > zebra_vty.c:2668: error: =91show_ipv6_route=92 no se declar=F3 aqu=ED (pr= imer uso en esta funci=F3n) > =20 > zebra_vty.c:2668: error: (Cada identificador no declarado solamente se re= porta una vez > =20 > zebra_vty.c:2668: error: ara cada funcion en la que aparece.) > =20 > zebra_vty.c:2674: error: clase de almacenamiento inv=E1lida para la funci= =F3n =91show_ipv6_route=92 > =20 > zebra_vty.c:2674: aviso: no hay un prototipo previo para =91show_ipv6_rou= te=92 > =20 > zebra_vty.c:2698: error: clase de almacenamiento inv=E1lida para la > funci=F3n =91show_ipv6_route_prefix_longer=92 > =20 > zebra_vty.c:2698: error: =91show_ipv6_route_prefix_longer=92 no se > declar=F3 aqu=ED (primer uso en esta funci=F3n) > =20 > zebra_vty.c:2706: error: clase de almacenamiento inv=E1lida para la > funci=F3n =91show_ipv6_route_prefix_longer=92 > =20 > zebra_vty.c:2706: aviso: no hay un prototipo previo para =91show_ipv6_rou= te_prefix_longer=92 > =20 > zebra_vty.c:2740: error: clase de almacenamiento inv=E1lida para la > funci=F3n =91show_ipv6_route_protocol=92 > =20 > zebra_vty.c:2740: error: =91show_ipv6_route_protocol=92 no se declar=F3 a= qu=ED (primer uso en esta funci=F3n) > =20 > zebra_vty.c:2753: error: clase de almacenamiento inv=E1lida para la > funci=F3n =91show_ipv6_route_protocol=92 > =20 > zebra_vty.c:2753: aviso: no hay un prototipo previo para =91show_ipv6_rou= te_protocol=92 > =20 > zebra_vty.c:2801: error: clase de almacenamiento inv=E1lida para la funci= =F3n =91show_ipv6_route_addr=92 > =20 > zebra_vty.c:2801: error: =91show_ipv6_route_addr=92 no se declar=F3 aqu= =ED (primer uso en esta funci=F3n) > =20 > zebra_vty.c:2808: error: clase de almacenamiento inv=E1lida para la funci= =F3n =91show_ipv6_route_addr=92 > =20 > zebra_vty.c:2808: aviso: no hay un prototipo previo para =91show_ipv6_rou= te_addr=92 > =20 > zebra_vty.c:2839: error: clase de almacenamiento inv=E1lida para la funci= =F3n =91show_ipv6_route_prefix=92 > =20 > zebra_vty.c:2839: error: =91show_ipv6_route_prefix=92 no se declar=F3 aqu= =ED (primer uso en esta funci=F3n) > =20 > zebra_vty.c:2846: error: clase de almacenamiento inv=E1lida para la funci= =F3n =91show_ipv6_route_prefix=92 > =20 > zebra_vty.c:2846: aviso: no hay un prototipo previo para =91show_ipv6_rou= te_prefix=92 > =20 > zebra_vty.c:2881: error: clase de almacenamiento inv=E1lida para la funci= =F3n =91static_config_ipv6=92 > =20 > zebra_vty.c:2881: aviso: no hay un prototipo previo para =91static_config= _ipv6=92 > =20 > zebra_vty.c:2943: error: clase de almacenamiento inv=E1lida para la funci= =F3n =91zebra_ip_config=92 > =20 > zebra_vty.c:2943: aviso: no hay un prototipo previo para =91zebra_ip_conf= ig=92 > =20 > zebra_vty.c:2960: aviso: no hay un prototipo previo para =91zebra_vty_ini= t=92 > =20 > zebra_vty.c:3087: error: expected declaration or statement at end of input > =20 > make[2]: *** [zebra_vty.o] Error 1 > =20 > make[2]: Leaving directory > `/root/Desktop/anteriores/quagga-mpls/zebra' > =20 > make[1]: *** [all-recursive] Error 1 > =20 > make[1]: Leaving directory `/root/Desktop/anteriores/quagga-mpls' > =20 > make: *** [all] Error 2 > =A0 > Do you know the reason of this kind of errors? Has this situation happen= ed to someone? > =A0 > Thanks in advance for your time > =A0 > Regards,=20 > Miguel Andr=E9s > =A0 > =A0 |
From: James R. L. <jl...@mi...> - 2007-03-16 05:49:51
|
On Thu, Mar 15, 2007 at 07:49:03PM +0100, Marco Schmidt wrote: <snip> >=20 > This happens, if I try to compile the patched quagga-sources from sf > on my FC6 machine. I've got no other MPLS Packages installed on this > machine (it is used for other work), perhaps you forgot to install the > glibc-kernheaders from sf? > > I'm also trying to compile Quagga, because the zebra-daemon is not as > stable as I wished... Which snapshot has been used for the RPM at sf? > I encounter the following errors on my FC5 MPLS machines: I'm using http://quagga.net/download/quagga-0.99.6.tar.gz as the base, with my nexthop and MPLS framework changes which are significant. Can you elaborate on "zebra-daemon is not as stable"? What configure command line are you using before building quagga that resul= ts in the errors below? >=20 > In file included from /usr/include/sys/uio.h:24, > from /usr/include/sys/socket.h:27, > from /usr/include/linux/mpls.h:32, > from mpls_netlink.c:1: > /usr/include/sys/types.h:62: error: conflicting types for 'dev_t' > /usr/include/linux/types.h:10: error: previous declaration of 'dev_t'= was here > /usr/include/sys/types.h:67: error: conflicting types for 'gid_t' > /usr/include/linux/types.h:21: error: previous declaration of 'gid_t'= was here > /usr/include/sys/types.h:72: error: conflicting types for 'mode_t' > /usr/include/linux/types.h:12: error: previous declaration of 'mode_t= ' was here > /usr/include/sys/types.h:77: error: conflicting types for 'nlink_t' > /usr/include/linux/types.h:13: error: previous declaration of 'nlink_= t' was here > /usr/include/sys/types.h:82: error: conflicting types for 'uid_t' > /usr/include/linux/types.h:20: error: previous declaration of 'uid_t'= was here > In file included from /usr/include/sys/types.h:220, > from /usr/include/sys/uio.h:24, > from /usr/include/sys/socket.h:27, > from /usr/include/linux/mpls.h:32, > from mpls_netlink.c:1: > /usr/include/sys/select.h:78: error: conflicting types for 'fd_set' > /usr/include/linux/types.h:9: error: previous declaration of 'fd_set'= was here > make[2]: *** [mpls_netlink.o] Error 1 > make[2]: Leaving directory `/usr/src/redhat/BUILD/quagga-0.99.6/zebra' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/redhat/BUILD/quagga-0.99.6' > make: *** [all] Error 2 >=20 > Does anyone know, how to solve these declaration-problems? >=20 > Regards, > Marco >=20 >=20 >=20 > > =20 > > Hi, I'm trying to install mpls on Linux machines and I've problems > > when I compile the quagga-mpls source from your repository > > ? > > I'm using Fedora Core 5, kernels ?rpms from sourceforge and > > quagga-mpls and ldp-portable from your repository > > I use your update-tools script to update autoconf and automake. > > First of all I modify?create-links to point to?ldp-portable > > directory. Then, ?I create?Makefile and when I'm going to compile > > and install quagga I find this error: > > ? > > #./configure --enable-vtysh --enable-mpls --enable-netlink > > #make > > ? > > // after some compiling time > > =20 > > zebra_vty.c:148: aviso: no hay un prototipo previo para ?zebra_static_i= pv4? > > =20 > > zebra_vty.c: En la funci?n ?vty_show_ipv6_route?: > > =20 > > zebra_vty.c:2668: error: clase de almacenamiento inv?lida para la funci= ?n ?show_ipv6_route? > > =20 > > zebra_vty.c:2668: error: ?show_ipv6_route? no se declar? aqu? (primer u= so en esta funci?n) > > =20 > > zebra_vty.c:2668: error: (Cada identificador no declarado solamente se = reporta una vez > > =20 > > zebra_vty.c:2668: error: ara cada funcion en la que aparece.) > > =20 > > zebra_vty.c:2674: error: clase de almacenamiento inv?lida para la funci= ?n ?show_ipv6_route? > > =20 > > zebra_vty.c:2674: aviso: no hay un prototipo previo para ?show_ipv6_rou= te? > > =20 > > zebra_vty.c:2698: error: clase de almacenamiento inv?lida para la > > funci?n ?show_ipv6_route_prefix_longer? > > =20 > > zebra_vty.c:2698: error: ?show_ipv6_route_prefix_longer? no se > > declar? aqu? (primer uso en esta funci?n) > > =20 > > zebra_vty.c:2706: error: clase de almacenamiento inv?lida para la > > funci?n ?show_ipv6_route_prefix_longer? > > =20 > > zebra_vty.c:2706: aviso: no hay un prototipo previo para ?show_ipv6_rou= te_prefix_longer? > > =20 > > zebra_vty.c:2740: error: clase de almacenamiento inv?lida para la > > funci?n ?show_ipv6_route_protocol? > > =20 > > zebra_vty.c:2740: error: ?show_ipv6_route_protocol? no se declar? aqu? = (primer uso en esta funci?n) > > =20 > > zebra_vty.c:2753: error: clase de almacenamiento inv?lida para la > > funci?n ?show_ipv6_route_protocol? > > =20 > > zebra_vty.c:2753: aviso: no hay un prototipo previo para ?show_ipv6_rou= te_protocol? > > =20 > > zebra_vty.c:2801: error: clase de almacenamiento inv?lida para la funci= ?n ?show_ipv6_route_addr? > > =20 > > zebra_vty.c:2801: error: ?show_ipv6_route_addr? no se declar? aqu? (pri= mer uso en esta funci?n) > > =20 > > zebra_vty.c:2808: error: clase de almacenamiento inv?lida para la funci= ?n ?show_ipv6_route_addr? > > =20 > > zebra_vty.c:2808: aviso: no hay un prototipo previo para ?show_ipv6_rou= te_addr? > > =20 > > zebra_vty.c:2839: error: clase de almacenamiento inv?lida para la funci= ?n ?show_ipv6_route_prefix? > > =20 > > zebra_vty.c:2839: error: ?show_ipv6_route_prefix? no se declar? aqu? (p= rimer uso en esta funci?n) > > =20 > > zebra_vty.c:2846: error: clase de almacenamiento inv?lida para la funci= ?n ?show_ipv6_route_prefix? > > =20 > > zebra_vty.c:2846: aviso: no hay un prototipo previo para ?show_ipv6_rou= te_prefix? > > =20 > > zebra_vty.c:2881: error: clase de almacenamiento inv?lida para la funci= ?n ?static_config_ipv6? > > =20 > > zebra_vty.c:2881: aviso: no hay un prototipo previo para ?static_config= _ipv6? > > =20 > > zebra_vty.c:2943: error: clase de almacenamiento inv?lida para la funci= ?n ?zebra_ip_config? > > =20 > > zebra_vty.c:2943: aviso: no hay un prototipo previo para ?zebra_ip_conf= ig? > > =20 > > zebra_vty.c:2960: aviso: no hay un prototipo previo para ?zebra_vty_ini= t? > > =20 > > zebra_vty.c:3087: error: expected declaration or statement at end of in= put > > =20 > > make[2]: *** [zebra_vty.o] Error 1 > > =20 > > make[2]: Leaving directory > > `/root/Desktop/anteriores/quagga-mpls/zebra' > > =20 > > make[1]: *** [all-recursive] Error 1 > > =20 > > make[1]: Leaving directory `/root/Desktop/anteriores/quagga-mpls' > > =20 > > make: *** [all] Error 2 > > ? > > Do you know the reason of this kind of errors? Has this situation happ= ened to someone? > > ? > > Thanks in advance for your time > > ? > > Regards,=20 > > Miguel Andr?s > > ? > > ? >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share y= our > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > mpls-linux-devel mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel --=20 James R. Leu jl...@mi... |
From: Marco S. <mar...@s2...> - 2007-03-16 18:20:09
|
The command-line is the same Miguel tried: ./configure --enable-vtysh --enable-mpls --enable-netlink and a make afterwards -> leads to those declaration errors below. I have to add, that I changed the compiler-flag in the configure script from std=c99 to std=gnu99 because of an earlier compiling-error: http://www.gossamer-threads.com/lists/quagga/dev/13305#13305 ---------- Now to the stability of zebra: The network-topology I use, is the same of mpls-linux-labs (very helpful, indeed). I've experimented with LDP-enabeled-Link-Protection and experienced a few strange things. http://www.elcom.pub.ro/~adrian.popa/mpls-linux/mpls-linux-docs/4-1-link_protection.html First of all, today LSR E1 made the same problems Gonzalo mentions. All Routes are learned during OSPF-Phase, and although label mappings are recieved via LDP (can be seen via vtysh), E1 didn't send any labeled packets... All other Routers are doing almost ;-) fine. I'll try to help isolating this error, but I had no time to investigate this any further, because I wanted to show you that zebra crashes. All zebra debug options are enabled, these are the last few lines (complete log is appended): 2007/03/16 15:04:43 ZEBRA: netlink_talk: mpls-netlink-cmd type (29), seq=13 2007/03/16 15:04:43 ZEBRA: netlink_parse_info: mpls-netlink-cmd ACK: type=(29), seq=13, pid=0 2007/03/16 15:04:43 ZEBRA: netlink_parse_info: mpls-netlink-listen type (29), seq=0, pid=0 2007/03/16 15:04:43 ZEBRA: zebra message comes from socket [16] 2007/03/16 15:04:43 ZEBRA: zebra message received [ZEBRA_MPLS_FTN_ADD] 11 2007/03/16 15:04:43 ZEBRA: zebra message comes from socket [16] 2007/03/16 15:04:43 ZEBRA: zebra message received [ZEBRA_MPLS_XC_ADD] 11 ZEBRA: Received signal 11 at 1174053883 (si_addr 0x64, PC 0x80537cd); aborting... Program counter: /usr/sbin/zebra[0x80537cd] Backtrace for 9 stack frames: /usr/lib/quagga/libzebra.so.0(zlog_backtrace_sigsafe+0x47)[0xd3c267] /usr/lib/quagga/libzebra.so.0(zlog_signal+0x272)[0xd3c882] /usr/lib/quagga/libzebra.so.0[0xd49caa] [0x8a8440] /usr/sbin/zebra[0x80537cd] /usr/lib/quagga/libzebra.so.0(thread_call+0x3f)[0xd2d3ff] /usr/sbin/zebra(main+0x3ab)[0x80543cb] /lib/libc.so.6(__libc_start_main+0xdc)[0xa7a4e4] /usr/sbin/zebra[0x8050721] This happened at LSR E2 after (I'm not completely sure about the moment) disconnecting a link from E4 to E3. Pings are being sent from A2 to A3 all the time, so the packets would have to find the other possible way. I'll try it again on monday without enabling LDP. How do I configure the LSRs? I've taken all advice from the mailing list. The daemons are started with a little script in the following order: modprobe mpls4 service ... start (zebra, ospfd, ldpd) -> the conf files are chown'ed with quagga.quagga, they only contain -> information about the interfaces and ospf subnets, ldpd.conf is -> almost empty vtysh In vtysh I type: conf t -> mpls ldp -> ex int ethx -> mpls l 0 -> mpls ip -> end . Regards, Marco > On Thu, Mar 15, 2007 at 07:49:03PM +0100, Marco Schmidt wrote: > <snip> >> >> This happens, if I try to compile the patched quagga-sources from sf >> on my FC6 machine. I've got no other MPLS Packages installed on this >> machine (it is used for other work), perhaps you forgot to install the >> glibc-kernheaders from sf? >> >> I'm also trying to compile Quagga, because the zebra-daemon is not as >> stable as I wished... Which snapshot has been used for the RPM at sf? >> I encounter the following errors on my FC5 MPLS machines: > I'm using http://quagga.net/download/quagga-0.99.6.tar.gz as the base, > with my nexthop and MPLS framework changes which are significant. > Can you elaborate on "zebra-daemon is not as stable"? > What configure command line are you using before building quagga that results > in the errors below? >> >> In file included from /usr/include/sys/uio.h:24, >> from /usr/include/sys/socket.h:27, >> from /usr/include/linux/mpls.h:32, >> from mpls_netlink.c:1: >> /usr/include/sys/types.h:62: error: conflicting types for 'dev_t' >> /usr/include/linux/types.h:10: error: previous declaration of 'dev_t' was here >> /usr/include/sys/types.h:67: error: conflicting types for 'gid_t' >> /usr/include/linux/types.h:21: error: previous declaration of 'gid_t' was here >> /usr/include/sys/types.h:72: error: conflicting types for 'mode_t' >> /usr/include/linux/types.h:12: error: previous declaration of 'mode_t' was here >> /usr/include/sys/types.h:77: error: conflicting types for 'nlink_t' >> /usr/include/linux/types.h:13: error: previous declaration of 'nlink_t' was here >> /usr/include/sys/types.h:82: error: conflicting types for 'uid_t' >> /usr/include/linux/types.h:20: error: previous declaration of 'uid_t' was here >> In file included from /usr/include/sys/types.h:220, >> from /usr/include/sys/uio.h:24, >> from /usr/include/sys/socket.h:27, >> from /usr/include/linux/mpls.h:32, >> from mpls_netlink.c:1: >> /usr/include/sys/select.h:78: error: conflicting types for 'fd_set' >> /usr/include/linux/types.h:9: error: previous declaration of 'fd_set' was here >> make[2]: *** [mpls_netlink.o] Error 1 >> make[2]: Leaving directory `/usr/src/redhat/BUILD/quagga-0.99.6/zebra' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/usr/src/redhat/BUILD/quagga-0.99.6' >> make: *** [all] Error 2 >> >> Does anyone know, how to solve these declaration-problems? >> >> Regards, >> Marco |
From: James R. L. <jl...@mi...> - 2007-03-17 03:46:42
|
I am able to duplicate this. It looks like the include for linux/types.h is the culprit. As an attempt to fix I moved: #include <linux/types.h> after #include <sys/socket.h> and this seems to allow quagga to build, but I'm thinking this will have affects on iptables/ebtables/iproute2. I'll fire off a build to verify this. On Fri, Mar 16, 2007 at 07:19:35PM +0100, Marco Schmidt wrote: > The command-line is the same Miguel tried: > ./configure --enable-vtysh --enable-mpls --enable-netlink > and a make afterwards -> leads to those declaration errors below. >=20 > I have to add, that I changed the compiler-flag in the configure > script from std=3Dc99 to std=3Dgnu99 because of an earlier compiling-erro= r: > http://www.gossamer-threads.com/lists/quagga/dev/13305#13305 >=20 > ---------- > Now to the stability of zebra: > The network-topology I use, is the same of mpls-linux-labs (very > helpful, indeed). I've experimented with > LDP-enabeled-Link-Protection and experienced a few strange things. > http://www.elcom.pub.ro/~adrian.popa/mpls-linux/mpls-linux-docs/4-1-link_= protection.html >=20 > First of all, today LSR E1 made the same problems Gonzalo mentions. > All Routes are learned during OSPF-Phase, and although label mappings > are recieved via LDP (can be seen via vtysh), E1 didn't send any labeled > packets... All other Routers are doing almost ;-) fine. > I'll try to help isolating this error, but I had no time to investigate > this any further, because I wanted to show you that zebra crashes. >=20 > All zebra debug options are enabled, these are the last few lines > (complete log is appended): > 2007/03/16 15:04:43 ZEBRA: netlink_talk: mpls-netlink-cmd type (29), seq= =3D13 > 2007/03/16 15:04:43 ZEBRA: netlink_parse_info: mpls-netlink-cmd ACK: type= =3D(29), seq=3D13, pid=3D0 > 2007/03/16 15:04:43 ZEBRA: netlink_parse_info: mpls-netlink-listen type (= 29), seq=3D0, pid=3D0 > 2007/03/16 15:04:43 ZEBRA: zebra message comes from socket [16] > 2007/03/16 15:04:43 ZEBRA: zebra message received [ZEBRA_MPLS_FTN_ADD] 11 > 2007/03/16 15:04:43 ZEBRA: zebra message comes from socket [16] > 2007/03/16 15:04:43 ZEBRA: zebra message received [ZEBRA_MPLS_XC_ADD] 11 > ZEBRA: Received signal 11 at 1174053883 (si_addr 0x64, PC 0x80537cd); abo= rting... > Program counter: /usr/sbin/zebra[0x80537cd] > Backtrace for 9 stack frames: > /usr/lib/quagga/libzebra.so.0(zlog_backtrace_sigsafe+0x47)[0xd3c267] > /usr/lib/quagga/libzebra.so.0(zlog_signal+0x272)[0xd3c882] > /usr/lib/quagga/libzebra.so.0[0xd49caa] > [0x8a8440] > /usr/sbin/zebra[0x80537cd] > /usr/lib/quagga/libzebra.so.0(thread_call+0x3f)[0xd2d3ff] > /usr/sbin/zebra(main+0x3ab)[0x80543cb] > /lib/libc.so.6(__libc_start_main+0xdc)[0xa7a4e4] > /usr/sbin/zebra[0x8050721] >=20 > This happened at LSR E2 after (I'm not completely sure about the > moment) disconnecting a link from E4 to E3. Pings are being sent from > A2 to A3 all the time, so the packets would have to find the other > possible way. I'll try it again on monday without enabling LDP. >=20 > How do I configure the LSRs? I've taken all advice from the mailing > list. The daemons are started with a little script in the following > order: > modprobe mpls4 > service ... start (zebra, ospfd, ldpd) > -> the conf files are chown'ed with quagga.quagga, they only contain > -> information about the interfaces and ospf subnets, ldpd.conf is > -> almost empty > vtysh >=20 > In vtysh I type: > conf t -> mpls ldp -> ex > int ethx -> mpls l 0 -> mpls ip -> end > . >=20 > Regards, > Marco >=20 > > On Thu, Mar 15, 2007 at 07:49:03PM +0100, Marco Schmidt wrote: > > <snip> > >>=20 > >> This happens, if I try to compile the patched quagga-sources from sf > >> on my FC6 machine. I've got no other MPLS Packages installed on this > >> machine (it is used for other work), perhaps you forgot to install the > >> glibc-kernheaders from sf? > >> > >> I'm also trying to compile Quagga, because the zebra-daemon is not as > >> stable as I wished... Which snapshot has been used for the RPM at sf? > >> I encounter the following errors on my FC5 MPLS machines: >=20 > > I'm using http://quagga.net/download/quagga-0.99.6.tar.gz as the base, > > with my nexthop and MPLS framework changes which are significant. >=20 > > Can you elaborate on "zebra-daemon is not as stable"? >=20 > > What configure command line are you using before building quagga that r= esults > > in the errors below? >=20 > >>=20 > >> In file included from /usr/include/sys/uio.h:24, > >> from /usr/include/sys/socket.h:27, > >> from /usr/include/linux/mpls.h:32, > >> from mpls_netlink.c:1: > >> /usr/include/sys/types.h:62: error: conflicting types for 'dev_t' > >> /usr/include/linux/types.h:10: error: previous declaration of 'dev= _t' was here > >> /usr/include/sys/types.h:67: error: conflicting types for 'gid_t' > >> /usr/include/linux/types.h:21: error: previous declaration of 'gid= _t' was here > >> /usr/include/sys/types.h:72: error: conflicting types for 'mode_t' > >> /usr/include/linux/types.h:12: error: previous declaration of 'mod= e_t' was here > >> /usr/include/sys/types.h:77: error: conflicting types for 'nlink_t' > >> /usr/include/linux/types.h:13: error: previous declaration of 'nli= nk_t' was here > >> /usr/include/sys/types.h:82: error: conflicting types for 'uid_t' > >> /usr/include/linux/types.h:20: error: previous declaration of 'uid= _t' was here > >> In file included from /usr/include/sys/types.h:220, > >> from /usr/include/sys/uio.h:24, > >> from /usr/include/sys/socket.h:27, > >> from /usr/include/linux/mpls.h:32, > >> from mpls_netlink.c:1: > >> /usr/include/sys/select.h:78: error: conflicting types for 'fd_set' > >> /usr/include/linux/types.h:9: error: previous declaration of 'fd_s= et' was here > >> make[2]: *** [mpls_netlink.o] Error 1 > >> make[2]: Leaving directory `/usr/src/redhat/BUILD/quagga-0.99.6/ze= bra' > >> make[1]: *** [all-recursive] Error 1 > >> make[1]: Leaving directory `/usr/src/redhat/BUILD/quagga-0.99.6' > >> make: *** [all] Error 2 > >>=20 > >> Does anyone know, how to solve these declaration-problems? > >>=20 > >> Regards, > >> Marco >=20 > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share y= our > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > mpls-linux-devel mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel --=20 James R. Leu jl...@mi... |