Re: [mpls-linux-general] Compile quagga-0.97.3 fail
Status: Beta
Brought to you by:
jleu
|
From: <ble...@in...> - 2005-04-26 10:02:15
|
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. |