iproute2 does not compile with kernel headers > 2.4.2 here

iproute2 does not compile with kernel headers > 2.4.2 here

Post by Achim Gottinge » Wed, 16 May 2001 01:02:36



Hi,

I have a problem here, since I update my kernel from 2.4.2, iproute2
compilations fails with
ll_proto.c:36:'ETH_P_ECHO' undeclared here (not in a function).

I used iproute2-2.2.4-now-ss001007.tar.gz ( I think that is the latest
available version ).

Does anyone know how to fix this problem?

bye achim~

 
 
 

iproute2 does not compile with kernel headers > 2.4.2 here

Post by Dick » Wed, 16 May 2001 05:24:07


I can confirm having the same problem with kernel 2.4.4, using
iputils-ss001110.tar.gz:

#make
make[1]: Entering directory `/mnt/hde/hde8/src/iproute2/lib'
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include-glibc
-include .
./include-glibc/glibc-bugs.h -I/usr/src/linux/include -I../include
-DRESOLVE_HOS
TNAMES   -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 `/mnt/hde/hde8/src/iproute2/lib'
make: *** [all] Error 2


> Hi,

> I have a problem here, since I update my kernel from 2.4.2, iproute2
> compilations fails with
> ll_proto.c:36:'ETH_P_ECHO' undeclared here (not in a function).

> I used iproute2-2.2.4-now-ss001007.tar.gz ( I think that is the latest
> available version ).

> Does anyone know how to fix this problem?

> bye achim~