on the system installed iproute2 ver: 2.6.16.20060323, update to sys-apps/iproute2-2.6.19.20061214 fails. Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. emerge sys-apps/iproute2
i386-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -march=pentium4 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o m_ipt.o m_ipt.c In file included from ../include/libiptc/libiptc.h:6, from ../include/iptables.h:5, from m_ipt.c:20: ../include/linux/netfilter_ipv4/ip_tables.h:20:38: linux/netfilter/x_tables.h: No such file or directory In file included from ../include/libiptc/libiptc.h:6, from ../include/iptables.h:5, from m_ipt.c:20: ../include/linux/netfilter_ipv4/ip_tables.h:87: error: field `counters' has incomplete type ../include/linux/netfilter_ipv4/ip_tables.h:115:39: linux/netfilter/xt_tcpudp.h: No such file or directory ../include/linux/netfilter_ipv4/ip_tables.h:144: error: `XT_FUNCTION_MAXNAMELEN' undeclared here (not in a function) In file included from m_ipt.c:20: ../include/iptables.h:56: warning: "struct xt_entry_match" declared inside parameter list ../include/iptables.h:56: warning: its scope is only this definition or declaration, which is probably not what you want ../include/iptables.h:63: warning: "struct xt_entry_match" declared inside parameter list ../include/iptables.h:70: warning: "struct xt_entry_match" declared inside parameter list ../include/iptables.h:74: warning: "struct xt_entry_match" declared inside parameter list i386-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -march=pentium4 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o m_pedit.o m_pedit.c m_ipt.c: In function `build_st': m_ipt.c:356: error: invalid application of `sizeof' to incomplete type `xt_entry_target' m_ipt.c:360: error: dereferencing pointer to incomplete type m_ipt.c:364: error: dereferencing pointer to incomplete type m_ipt.c:368: error: dereferencing pointer to incomplete type m_ipt.c: In function `parse_ipt': m_ipt.c:499: error: dereferencing pointer to incomplete type m_ipt.c: In function `print_ipt': m_ipt.c:547: error: dereferencing pointer to incomplete type m_ipt.c:559: error: dereferencing pointer to incomplete type make[1]: *** [m_ipt.o] Error 1 make[1]: *** Waiting for unfinished jobs.... rm emp_ematch.lex.c emp_ematch.yacc.c make[1]: Leaving directory `/var/tmp/portage/sys-apps/iproute2-2.6.19.20061214/work/iproute2-2.6.19-061214/tc' make: *** [all] Error 2
Your kernel headers version sucks, upgrade it. *** This bug has been marked as a duplicate of bug 158599 ***
IMHO this is no duplicate of bug #158599 as the reporter there has a system with linux-headers-2.6.x/kernel-2.6.x running and not linux-headers-2.4.x/kernel-2.4.x. When I upgrade my default-linux/x86/no-nptl/2.4 profiled system to the latest available ~x86 linux-headers, I'm still unable to compile iproute2-2.6.19.20061214 with the exact same errormessage posted by the initial reporter here... shpac, If I were you, I'd reopen this bug. Cheers Poly-C
kernel headers - are latest for 2.4.x hardened tree: sys-kernel/linux-headers-2.4.26-r1 may by iprouter2 too new for 2.4 kernels and shout be masked (like fuse sys-fs/fuse-2.6.0 for 2.4.x kernels?)
Maybe you just shouldn't use 2.4 profile.
no ... try kernel-headers-2.4.33.1 ... if those dont work, use the 2.6 headers
Wow, you REALLY care much about 2.4-profile... by the way... default-linux/x86/no-nptl/2.4 profile doesn't allow me to install linux-headers-2.6.x
yeah that mask should prob be dropped using 2.6 headers on a 2.4 kernel is generally safe
*** Bug 167463 has been marked as a duplicate of this bug. ***
*** Bug 167848 has been marked as a duplicate of this bug. ***
*** Bug 168028 has been marked as a duplicate of this bug. ***