First sorry for the cross-posting. I have the following problem compiling iproute2 (001007) on Debian 2.2 with kernel 2.4.16 when patched with htb2_tc.diff The problem I faced was: include -I../include -DRESOLVE_HOSTNAMES -c -o ll_proto.o ll_proto.c ll_proto.c:36: `ETH_P_ECHO'' undeclared here (not in a function) ll_proto.c:36: initializer element is not constant ll_proto.c:36: (near initialization for `llproto_names[1].id'') make[1]: *** [ll_proto.o] Error 1 make[1]: Leaving directory `/usr/src/iproute2/lib'' make: *** [all] Error 2 I solved it by comenting line 36 of lib/ll_proto.c __PF(ECHO,echo) Will this break something? Is this problem known? -- Jose Celestino <japc@co.sapo.pt> --------------------------------- Systems Administration - http://www.sapo.pt
On Fri, Jan 04, 2002 at 07:03:23PM +0000, Jose Celestino wrote:> First sorry for the cross-posting. > > I have the following problem compiling iproute2 (001007) on Debian 2.2 > with kernel 2.4.16 when patched with htb2_tc.diff > > The problem I faced was: > > include -I../include -DRESOLVE_HOSTNAMES -c -o ll_proto.o ll_proto.c > ll_proto.c:36: `ETH_P_ECHO'' undeclared here (not in a function)People have resolved this problem by removing the echo line, or by using a newer version of iproute. Regards, bert -- http://www.PowerDNS.com Versatile DNS Software & Services http://www.tk the dot in .tk Netherlabs BV / Rent-a-Nerd.nl - Nerd Available - Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc