(emerging iproute2) ... 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_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 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 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. localhost linux # uname -a Linux localhost 2.4.33.4-hardened-grsec #2 SMP Mon Dec 25 03:55:55 EET 2006 i686 AMD Athlon(tm) 64 Processor 3500+ AuthenticAMD GNU/Linux localhost linux # gcc -v Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/specs Configured with: /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.6 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 3.4.6 (Gentoo 3.4.6-r2, ssp-3.4.6-1.0, pie-8.7.9)