* [LARTC] Problem compiling tc
@ 2002-01-04 19:03 Jose Celestino
2002-01-05 13:23 ` bert hubert
0 siblings, 1 reply; 2+ messages in thread
From: Jose Celestino @ 2002-01-04 19:03 UTC (permalink / raw)
To: lartc
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
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] Problem compiling tc
2002-01-04 19:03 [LARTC] Problem compiling tc Jose Celestino
@ 2002-01-05 13:23 ` bert hubert
0 siblings, 0 replies; 2+ messages in thread
From: bert hubert @ 2002-01-05 13:23 UTC (permalink / raw)
To: lartc
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
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-01-05 13:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-04 19:03 [LARTC] Problem compiling tc Jose Celestino
2002-01-05 13:23 ` bert hubert
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.