iptable 1.2.7a failed to build on my system because I didn't specify any compiler optimizations in my CFLAGS ( CFLAGS="-march=pentium3" ) The following piece of code in iptables.c redefine the function and make the compilation fail. #ifndef __OPTIMIZE__ struct ipt_entry_target * ipt_get_target(struct ipt_entry *e) { return (void *)e + e->target_offset; } #endif Error: iptables.c:147: redefinition of `ipt_get_target' /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:294: `ipt_get_target' previously defined here
*** Bug 2817 has been marked as a duplicate of this bug. ***
*** Bug 13102 has been marked as a duplicate of this bug. ***
Fixed in -r2. Thanks for finding this!