Skip to contentSkip to conversation

Problem compiling tc

LARTC Jose Celestino 2 participants 2 messages Jan 4, 2002 – Jan 5, 2002

lore
Share & tools
lore
#0 lore raw

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?

Signature · 7 lines
Jose Celestino <[email protected]>
---------------------------------
Systems Administration - http://www.sapo.pt

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
#1 lore raw
Quoted 9 lines · Jose Celestino

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

Signature · 8 lines
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

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/