Home Page › Forums › Network Management › ZeroShell › How To rebuild kernel 2.6.36.3 into b14 document › Re: iptables compilation after building xtables
October 4, 2011 at 8:13 am
#51596

Participant
Hi,
i’ve built new kernel (2.6.37.2) as described in PDF document, but on step 7 after compilling xtables-addons i can’t compile iptables.
In the beginning of step 7 the “iptables” compiling fine but after moving extensions sources from ‘xtables-addons’ to iptables folder it doesn’t compile.
I got following errors:
make[1]: Entering directory `/storage/sdb/iptables-1.4.10′
Making all in extensions
make[2]: Entering directory `/storage/sdb/iptables-1.4.10/extensions’
CC libxt_CHECKSUM.oo
libxt_CHECKSUM.c:91: error: static declaration of ‘libxt_CHECKSUM_init’ follows non-static declaration
../include/xtables.h:302: error: previous declaration of ‘libxt_CHECKSUM_init’ was here
make[2]: *** [libxt_CHECKSUM.oo] Error 1
make[2]: Leaving directory `/storage/sdb/iptables-1.4.10/extensions’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/storage/sdb/iptables-1.4.10′
make: *** [all] Error 2
Anybody can help me?