Help ! failed to install iproute2 in Slackware

Qzruh

Member
Sep 19, 2000
122
0
0
I want to limit bandwidth used in some network connected to a linux gateway, and it need an iproute2.

I have download iproute2 and try to compile it with "make" but the result is :

glibc-bugs.h -I/usr/src/linux/include -I../include -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 for `llproto_names[1].id' is not constant
make[1]: *** [ll_proto.o] Error 1
make[1]: Leaving directory `/usr/src/iproute2/lib'
make: *** [all] Error 2

i search all the related document but i didnt find any explanation.....

What is wrong ??
i'm using slackware 7.1 with 2.2.19 (failed) and 2.4.5 (failed too)

thanx a lot

Andy
 

Bremen

Senior member
Mar 22, 2001
658
0
0
The error your showing would appear to have nothing to do with the kernel (who's numbers your quoted, but rather the glibc version).

Actually come to think of it neither the 2.2.19 or 2.4.5 kernels were included in 7.1. The default kernel should be 2.2.16. Are you sure you didn't install the 'current' tree instead? Current is not the latest release for slackware, instead it is a development tree that is constantly being modified. This would seem to be the case since the newer glibc 2.2.3 is included instead of 2.1.3. If you can I recommend restarting with an actual 7.1 installation, since the current branch is not guaranteed to be stable...