>>> Install iptables-1.2.9-r2 into /var/tmp/portage/iptables-1.2.9-r2/image/ category net-firewall gcc -O2 -mcpu=i686 -fomit-frame-pointer -Iinclude -Wall -Wunused -I/usr/src/linux/include -DIPTABLES_VERSION=\"1.2.9\" -fPIC -o extensions/libipt_recent_sh.o -c extensions/libipt_recent.c In file included from include/libiptc/libiptc.h:6, from include/iptables.h:5, from extensions/libipt_recent.c:8: /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:255: warning: no semicolon at end of struct or union /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:255: error: syntax error before '*' token /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:259: error: syntax error before '}' token /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning: type defaults to `int' in declaration of `DECLARE_MUTEX' /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning: parameter names (without types) in function declaration /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning: `DECLARE_MUTEX' declared `static' but never defined make: *** [extensions/libipt_recent_sh.o] Error 1 gcc -O2 -mcpu=i686 -fomit-frame-pointer -Iinclude -Wall -Wunused -I/usr/src/linux/include -DIPTABLES_VERSION=\"1.2.9\" -fPIC -o extensions/libipt_recent_sh.o -c extensions/libipt_recent.c In file included from include/libiptc/libiptc.h:6, from include/iptables.h:5, from extensions/libipt_recent.c:8: /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:255: warning: no semicolon at end of struct or union /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:255: error: syntax error before '*' token /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:259: error: syntax error before '}' token /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning: type defaults to `int' in declaration of `DECLARE_MUTEX' /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning: parameter names (without types) in function declaration /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning: `DECLARE_MUTEX' declared `static' but never defined make: *** [extensions/libipt_recent_sh.o] Error 1 cp: cannot stat `/usr/portage/net-firewall/iptables/files/iptables-1.2.9-r2.init': No such file or directory install: cannot stat `/var/tmp/portage/iptables-1.2.9-r2/temp/iptables': No such file or directory cp: cannot stat `/usr/portage/net-firewall/iptables/files/iptables-1.2.9-r2.confd': No such file or directory install: cannot stat `/var/tmp/portage/iptables-1.2.9-r2/temp/iptables': No such file or directory man: prepallstrip: strip:
Could you paste hire `emerge info`?
This is my "emerge info". Gentoo Base System version 1.4.16 Portage 2.0.50-r8 (x86, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r6) ================================================================= System uname: 2.6.7-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/ config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox sfperms strict" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirr or.gentoo.gr.jp http://ftp.gentoo.or.kr/ http://128.213.5.34/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="berkdb crypt ncurses nls pam perl python readline selinux ssl tcpd x86 zlib "
The first revision of -r2 was -* keywordmasked and was only commited because I wanted to clean up the iptables dir. Please try the new 1.4 revision of 1.2.9-r2.