compile error using iptables 1.2.3 and linux-2.4.9-ac5
Brad Chapman
kakadu_croc@yahoo.com
Mon, 3 Sep 2001 04:08:12 -0700 (PDT)
Mr. Teodor,
--- teo@gecadsoftware.com wrote:
> Hi s!
> On Mon, 03 Sep 2001, s I n wrote:
>
> > # right_end = max(int, right_end - i + sk, right_end + sh);
> >
> > This is line 65 of ipt_string.c, located in /usr/src/linux/net/ipv4/netfilter,
> >
> > When I tried to compile the kernel to use the string match feature, I got
> > an error about parse error near int at ipt_string.c at line 65. Is this a
> > known problem ?
> >
> curiously, last time when I tried string matching I had to *add* `int' as the
> first parameter to max() macro :)
> [wild guess] uhm, remove it?
> [educated guess] some more info? what are the errors?
There is some bad blood right now about the min()/max() macros. Linus
made a controversial change to the macros that Alan Cox says he _will not_
merge in its present form. Thus, 2.4-linus now has the three-arg min()/max(),
and 2.4-alan has the two-arg min()/max() macro. Go have a look at the min()/
max() threads in the lkml archives.
>
> -- teodor
Brad
=====
Brad Chapman
Permanent e-mail: kakadu_croc@yahoo.com
Current e-mail: kakadu@adelphia.net
Alternate e-mail: kakadu@netscape.net
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com