[LARTC] Problem compiling tc

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux