i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -march=athlon-xp -mtune=athlon-xp -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o m_pedit.o m_pedit.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 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 !!! ERROR: sys-apps/iproute2-2.6.19.20061214 failed. Call stack: ebuild.sh, line 1580: Called dyn_compile ebuild.sh, line 945: Called src_compile iproute2-2.6.19.20061214.ebuild, line 69: Called die !!! make !!! If you need support, post the topmost build error, and the call stack if relevant.