Summary: | iproute fails to build on recent kernels | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael C. Ferguson <michael.christopher.ferguson> |
Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | michael.christopher.ferguson |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michael C. Ferguson
2003-09-22 09:16:12 UTC
it's known that headers newer than 2.4.19 don't allow the package to build. sys-apps/iproute-20010824-r4 points to the headers in /usr/include/ instead of in the kernel tree. Email from Tue, 23 Sep 2003 21:46:49 -0500
> ??? The headers I'm running on the machine *are* 2.4.19. The kernel in
> /usr/src/linux is at 2.4.22.
>
> michael@cvs michael $ cat /usr/include/linux/version.h
> #define UTS_RELEASE "2.4.19"
> #define LINUX_VERSION_CODE 132115
> #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
>
> Should I downgrade the kernel to get iproute to build? This doesn't make any
> sense to me, but I will do that if it's necessary.
Nope, you don't need to downgrade the kernel at all.
-r3 of iproute built against the headers in /usr/src/linux
-r4 of iproute builds against the headers in /usr/include instead.
P.S. please respond to bugs on bugzilla, so that emails don't get lost along the way.
Hi Robin, Thanks for the clarification -- I had misread your reply and though you were talking about the same version I was.. :P I noticed -r4 is unmasked now; it emerged without errors on my systems and appears to be working very well. Thanks for your support, Michael |