Re: [mpls-linux-devel] Quagga compile error
Status: Beta
Brought to you by:
jleu
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 |