[LARTC] iproute2 problems

Linux Advanced Routing and Traffic Control

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

 



I've got a slackware8 system with kernel 2.4.13 self-installed.

I selected all the advanced routing/etc options (i figured i'd rather have a
slightly bloated kernel and more options than having to recompile) as
include.

I couldn't find the ip tool on my system, so i downloaded the latest from
the location in the HOWTO.
When compiling it, I hit this:

---------------
make[1]: Entering directory `/usr/src/iproute2/lib'
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include-glibc -inclu
de
../include-glibc/glibc-bugs.h -I/usr/src/linux/include -I../include -DRESOLV
E_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
---------------

Do I have something missing/wrong?
I set this path in the makefile and commented out the 2 lines for if you are
using bind, since I don't have bind and am using glibc.
---------------
#options if you compile with libc5, and without a bind>=4.9.4 libresolv
LDLIBS=
ADDLIB=inet_ntop.o inet_pton.o
---------------

Any help is greatly appreciated.




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