Re: [mpls-linux-general] Compile quagga-0.97.3 fail
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2005-04-26 14:31:18
|
On Tue, Apr 26, 2005 at 10:24:00PM +0800, Jiun-Shian Ho wrote: > I download the original quagga-0.97.3.tar.gz and patch quagga.diff from > mpls-linux-0.946a > now I can get zmpls.c > and I run the automake and autoconf (native tool, not cross tool) > However, I got the same error message. > My platform is FC-3 and my cross tool-chain is arm-elf from uClinux.org I think it is related to it attempting to compile rt_socket.c On linux it should use rt_netlink.c I think your 'configure' is not detecting your system correctly. Can you build quagga 0.97.3 without the MPLS patch? > ----- Original Message -----=20 > From: <ble...@in...> > To: "Jiun-Shian Ho" <as...@sy...> > Sent: Tuesday, April 26, 2005 8:22 PM > Subject: Re: [mpls-linux-general] Compile quagga-0.97.3 fail >=20 >=20 > When you patch your quagga, the file is located here : > /usr/src/quagga-0.97.3/lib/zmpls.c >=20 > I think you must install automake and autoconf with packages. > It depends on you distribution >=20 > Selon Jiun-Shian Ho <as...@sy...>: >=20 > > Hi, > > Could you talk more, > > quagga-0.97.3-1.FC3.tar.bz2 do not include zmpls.c > > and how can I automake and autoconf for cross compiler ? > > > > > > > > ----- Original Message ----- > > From: <ble...@in...> > > To: "Jiun-Shian Ho" <as...@sy...> > > Cc: <mpl...@li...> > > Sent: Tuesday, April 26, 2005 6:01 PM > > Subject: Re: [mpls-linux-general] Compile quagga-0.97.3 fail > > > > > > Hi, > > > > You have to lookup to the file zmpls.c > > When you patch quagga, you need to have automake and autoconf installed= in > > order > > to regenerate the makefiles. > > verify it > > > > > > Selon Jiun-Shian Ho <as...@sy...>: > > > > > Hi, > > > I compile quagga-0.97.3 from mpls-linux.sf.net with cross-compiler > > > (arm-elf) > > > and fail with below message > > > > > > rt_socket.c: In function `kernel_rtm_ipv4': > > > rt_socket.c:103: error: `RTM_ADD' undeclared (first use in this > > > function) > > > rt_socket.c:103: error: (Each undeclared identifier is reported only > > > once > > > rt_socket.c:103: error: for each function it appears in.) > > > rt_socket.c:108: error: `RTM_DELETE' undeclared (first use in this > > > function) > > > rt_socket.c: In function `kernel_add_ipv4': > > > rt_socket.c:197: error: `RTM_ADD' undeclared (first use in this > > > function) > > > rt_socket.c: In function `kernel_delete_ipv4': > > > rt_socket.c:211: error: `RTM_DELETE' undeclared (first use in this > > > function) > > > rt_socket.c: In function `kernel_rtm_ipv6_multipath': > > > rt_socket.c:343: error: `RTM_ADD' undeclared (first use in this > > > function) > > > rt_socket.c:348: error: `RTM_DELETE' undeclared (first use in this > > > function) > > > rt_socket.c: In function `kernel_add_ipv6': > > > rt_socket.c:447: error: `RTM_ADD' undeclared (first use in this > > > function) > > > rt_socket.c: In function `kernel_delete_ipv6': > > > rt_socket.c:461: error: `RTM_DELETE' undeclared (first use in this > > > function) > > > rt_socket.c: In function `kernel_delete_ipv6_old': > > > rt_socket.c:477: error: `RTM_DELETE' undeclared (first use in this > > > function) > > > make[2]: *** [rt_socket.o] Error 1 > > > make[2]: Leaving directory `/root/work/mpls/work/quagga-0.97.3/zebra' > > > make[1]: *** [all-recursive] Error 1 > > > make[1]: Leaving directory `/root/work/mpls/work/quagga-0.97.3' > > > make: *** [all] Error 2 > > > > > > > > > I search whole system can not find RTM_ADD or RTM_DELETE. > > > Can anyone kind give me some hints ? > > > > > > Bets regards, > > > JS H. > > > > > > > > > > > > > > > ------------------------------------------------------- > > > SF email is sponsored by - The IT Product Guide > > > Read honest & candid reviews on hundreds of IT Products from real use= rs. > > > Discover which products truly live up to the hype. Start reading now. > > > http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick > > > _______________________________________________ > > > mpls-linux-general mailing list > > > mpl...@li... > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > > > > > > ---------------------------------------------------------------- > > This message was sent using IMP, the Internet Messaging Program. > > > > > > >=20 >=20 >=20 >=20 > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general --=20 James R. Leu jl...@mi... |