Kernel 2.4.16 compilation failed
Izauddin Mohd Isa
izauddin@magnifix.com.my
Wed, 20 Mar 2002 16:43:27 +0800
--------------080609040500060108070208
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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
--------------080609040500060108070208
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<html>
<head>
</head>
<body>
Hi,<br>
<br>
I'm trying to compile iptables 1.2.6a with kernel 2.4.16. Basically I want
to use the string filter.<br>
I'm patching the time,iplimit,psd,quota and string patch to the kernel. Make
dep and bzImage <br>
is okay and I don't have any problem compiling the iptables. The kernel also
is being patched <br>
for LIDS.<br>
<br>
But, when at the make modules stage I have the following error ;<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 new on this and surely I'm no programmer, but I suspect that the string
filter are giving this<br>
error message, anybody have the same problem ? is there any solution, I
really want to give<br>
this string filter a try.<br>
<br>
Regards<br>
Din<br>
<br>
</body>
</html>
--------------080609040500060108070208--