I'm trying to patch 1.2.6a into a 2.4.16 kernel with the inclusion of
the String Matching filter, but I got this error when compiling the
kernel at the make modules stage. The error as follow :
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
why do the error occur on the 2.4.16 kernel. I'm also patching the kernel with LIDS.
Rgds
Din