Re: [mpls-linux-general] Compile quagga-0.97.3 fail
Status: Beta
Brought to you by:
jleu
|
From: Jiun-Shian H. <as...@sy...> - 2005-04-26 14:24:22
|
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 ----- Original Message ----- 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 When you patch your quagga, the file is located here : /usr/src/quagga-0.97.3/lib/zmpls.c I think you must install automake and autoconf with packages. It depends on you distribution Selon Jiun-Shian Ho <as...@sy...>: > 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 users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > 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. > > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |