ipt_string.c error
Izauddin Mohd Isa
izauddin@magnifix.com.my
Thu, 21 Mar 2002 17:33:06 +0800
--------------080209080008060704060103
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Hi guys,
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
I thought that the string matching can be used with kernel that above 2.4.9,
why do the error occur on the 2.4.16 kernel. I'm also patching the
kernel with LIDS.
Rgds
Din
--------------080209080008060704060103
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<html>
<head>
</head>
<body>
Hi guys,<br>
<br>
I'm trying to patch 1.2.6a into a 2.4.16 kernel with the inclusion of<br>
the String Matching filter, but I got this error when compiling the<br>
kernel at the make modules stage. The error as follow :<br>
<br>
<div class="moz-text-plain" wrap="true" graphical-quote="true" style="font-family: courier; font-size: 12px; ">
<pre wrap="">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
</pre>
</div>
I thought that the string matching can be used with kernel that above 2.4.9,<br>
why do the error occur on the 2.4.16 kernel. I'm also patching the kernel
with LIDS.<br>
<br>
Rgds<br>
Din<br>
<br>
</body>
</html>
--------------080209080008060704060103--