Re: iptables compilation after building xtables

Forums Network Management ZeroShell How To rebuild kernel into b14 document Re: iptables compilation after building xtables



i’ve built new kernel ( 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?