Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25193 - iproute2 and 2.6
Summary: iproute2 and 2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 12736 25691
  Show dependency tree
 
Reported: 2003-07-24 12:13 UTC by Chuck Brewer
Modified: 2003-09-03 19:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chuck Brewer 2003-07-24 12:13:32 UTC
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.
Comment 1 Phattanon Duangdara 2003-07-31 02:34:10 UTC
** 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
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-08-16 23:14:21 UTC
-r4 now builds against /usr/include/linux headers.

please test and report back to this back.
Comment 3 jago25_98 2003-08-26 05:53:20 UTC
I'm unable to find iproute_20010824-10.diff.gz on any of the servers to test r4

-11 is available however...
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-08-28 17:13:39 UTC
should be fixed, sorry about that.
Comment 5 Luke Maurer (Jyrinx) 2003-09-03 19:56:57 UTC
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.)