iproute is doing the climb down the /usr/src/linux sym, like so many other broken packages:( Check this out- # Our patch does two things for us; First, it syncs up with Debian's # iproute 20010824-9 package; Secondly, it adds htb3 support. The Debian # patch tweaks the iproute compile so that we use an included pkt_sched.h # header rather than looking at the one in /usr/src/linux/include/linux # This allows us to always enable HTB3 without compile problems; however # other parts of the source tree are still dependent upon having a kernel # source tree in /usr/src/linux. Okay, but this isnt true..adding another sed to the makefile will fix this. From the README- 1. Look at start of Makefile and set correct values for: KERNEL_INCLUDE should point to correct linux kernel include directory. And since kernel-headers is required by all profiles,all we need to do is sed the Makefile to /usr/include.
** This problem cause by socketbits.h in include-glibc directory of iproute build directory. ** Replace of symlink it with current kernel socket.h may solve this ... - Problem Found in 2.4.22-pre3 and later
-r4 now builds against /usr/include/linux headers. please test and report back to this back.
I'm unable to find iproute_20010824-10.diff.gz on any of the servers to test r4 -11 is available however...
should be fixed, sorry about that.
I was just now having the same problem with vanilla 2.4.22 final. Grabbed -r4 and it compiles fine. (Seems to me this fix should be put into x86 stable pretty soon ... this is really easy to trip over.)