Alternate links (better)?
Original IProute2/IPutils source can be found here:
... and here too:
Nice alternative to the rather useless Debian only link if you don't use Debian!
I'm the newbies in linux
I'm using slackware 9.1 eith kernel 2.4.22, when i compile iproute2-2.4.7 showing the error like this
make: Entering directory `/usr/src/iproute2/lib'
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -Werror -g -I../include-glibc -include ../include-glibc/glibc-bugs.h -I/usr/src/linux/include -I../include -DRESOLVE_HOSTNAMES -c -o ll_map.o ll_map.c
In file included from ../include-glibc/netinet/in.h:7,
/usr/src/linux/include/linux/in.h:140: field `gr_group' has incomplete type
/usr/src/linux/include/linux/in.h:141: confused by earlier errors, bailing out
make: *** [ll_map.o] Error 1
make: Leaving directory `/usr/src/iproute2/lib'
make: *** [all] Error 2
What's the problem?
Re: compiling in/for Linux 2.6
Never mind, it works now.
compiling in/for Linux 2.6
Has anyone gotten iproute2 to compile against a 2.6.0-testX kernel? I get various errors about structs in device.h not being defined. It's not clear if there's a simple fix for this. I believe that this has been the case since Linux 2.5.70 or thereabouts.
If iproute wont compile in recent linux
You need to remove (or comment out) this line from lib/ll_proto.c:
in my version, this was on line 36.
The ETH_P_ECHO constant was removed some time ago and the default code will not compile with that line included.
Lightweight and powerful automated software deployment.
An object-oriented, type safe, multi-threaded approach to computer algebra.