Comments for iproute2
26 May 2004 20:16
Compiling iproute2
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[1]: 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,
from ll_map.c:19:
/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[1]: *** [ll_map.o] Error 1
make[1]: Leaving directory `/usr/src/iproute2/lib'
make: *** [all] Error 2
What's the problem?
26 Oct 2003 14:09
Re: compiling in/for Linux 2.6
Never mind, it works now.
12 Sep 2003 07:35
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.
29 Jun 2002 05:24
If iproute wont compile in recent linux
You need to remove (or comment out) this line from lib/ll_proto.c:
__PF(ECHO,echo)
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.
A program that turns a common subset of DocBook XML into PostScript.
Alternate links (better)?
Original IProute2/IPutils source can be found here:
ftp://ftp.tux.org/people/alexey-kuznetsov/ip-routing/ (ftp://ftp.tux.org/people/alexey-kuznetsov/ip-routing/)
... and here too:
www.tux.org/pub/net/ip... (www.tux.org/pub/net/ip...)
Nice alternative to the rather useless Debian only link if you don't use Debian!