Hi,

I'm trying to compile iptables 1.2.6a with kernel 2.4.16. Basically I want to use the string filter.
I'm patching the time,iplimit,psd,quota and string patch to the kernel. Make dep and bzImage
is okay and I don't have any problem compiling the iptables. The kernel also is being patched
for LIDS.

But, when at the make modules stage I have the following error ;

ipt_string.c:80:72: macro "max" passed 3 arguments, but takes just 2
ipt_string.c: In function `search_sublinear':
ipt_string.c:53: warning: subscript has type `char'
ipt_string.c:78: warning: subscript has type `char'
ipt_string.c:80: `max' undeclared (first use in this function)
ipt_string.c:80: (Each undeclared identifier is reported only once
ipt_string.c:80: for each function it appears in.)
make[2]: *** [ipt_string.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.16/net/ipv4/netfilter'
make[1]: *** [_modsubdir_ipv4/netfilter] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.16/net'
make: *** [_mod_net] Error 2

I new on this and surely I'm no programmer, but I suspect that the string filter are giving this
error message,  anybody have the same problem ? is there any solution, I really want to give
this string filter a try.

Regards
Din

Reply via email to