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