Thu, 21 Mar 2002 10:46:22 +0100
> 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
This is a well-known API problem with a small number of Linux kernels,
2.4.16 being one of them. The fix is to either use a current kernel,
or to modify the ipt_string.c in the obvious way: drop the third
argument to the max() macro.
Search for "ipt_string max" on www.google.com for lots of references
to fixes for this problem.