| Summary: | sys-apps/iproute2-2.6.25.20080417 fails with older linux-headers | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | cilly <cilly> |
| Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
cilly
2008-06-25 09:12:39 UTC
Your error is caused by a too-old linux-headers (you need ~x86). Once you fix that, you'll probably get another error, quoted below. The ebuild should work fine if include/netinet/ is not removed from the iproute2 source tree. Fix the ebuild (line 34) not to do that and it should compile. make[1]: Entering directory `/var/tmp/portage/sys-apps/iproute2-2.6.25.20080417/work/iproute2-2.6.25/misc' gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o ss.o ss.c ss.c: In function 'tcp_show_info': ss.c:1338: error: 'struct tcp_info' has no member named 'tcpi_rcv_rtt' ss.c:1339: error: 'struct tcp_info' has no member named 'tcpi_rcv_rtt' ss.c:1340: error: 'struct tcp_info' has no member named 'tcpi_rcv_space' ss.c:1341: error: 'struct tcp_info' has no member named 'tcpi_rcv_space' make[1]: *** [ss.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-apps/iproute2-2.6.25.20080417/work/iproute2-2.6.25/misc' Since two of my machines where the package built without incident are both using full ~x86 or ~x86_64, I suspect iproute2-2.6.25 might require the include/netinet/ headers from glibc 2.8 snapshots, rather than 2.6.1. I am using the latest stable linux-headers:
eix linux-headers
[I] sys-kernel/linux-headers
Available versions: [M]*2.0.40-r1 [M]*2.2.26-r1 [M]2.4.26-r1 [M]2.4.33.3 [M]~2.4.36 2.6.17-r2 2.6.23-r3 ~2.6.24 ~2.6.25-r1 ~2.6.25-r3 ~2.6.25-r4
Installed versions: 2.6.23-r3(09:29:05 AM 02/20/2008)
Homepage: http://www.kernel.org/ http://www.gentoo.org/
Description: Linux system headers
dont mix stable and unstable http://sources.gentoo.org/sys-apps/iproute2/iproute2-2.6.25.20080417.ebuild?r1=1.2&r2=1.4 |