[Openswan dev] Compile error on kernel 2.4.18
Ilan Tayari
ilan at cogniview.com
Thu Feb 21 06:29:46 EST 2008
Hi Paul,
I recently had another go at installing openswan on the same machine as
before (redhat 8.0 with stock kernel 2.4.18)
During "make module", I now get:
/usr/src/openswan-2.4.12/linux/net/ipsec/ipsec_proc.c:30:31:
linux/moduleparam.h: No such file or directory
/usr/src/openswan-2.4.12/linux/net/ipsec/ipsec_proc.c:627:33: warning:
pasting "__module_parm_" and ""natt_available"" does not give a valid
preprocessing token
/usr/src/openswan-2.4.12/linux/net/ipsec/ipsec_proc.c:627: parse error
before string constant
make[2]: *** [ipsec_proc.o] Error 1
moduleparam.h does not exist in my kernel source, hence the first error
at line 30. The ifdef around this line did not prevent it from being
compiled...
I commented both line 30 and line 627, and then it compiled fine (as I
said before I do not need nat-t, so I figured I can do without the
module parameter)
Thanks,
Ilan.
Paul Wouters wrote:
> On Wed, 3 Oct 2007, Ilan Tayari wrote:
>
>> This is apparently because of the module_param macro on that line, which
>> reads:
>> module_param(natt_available, int, 0444);
>>
>
> That's already fixed in cvs, and will be part of 2.4.10. But thanks for
> tracking it down!
>
> Paul
>
Convert PDF to Excel: http://www.cogniview.com <http://www.cogniview.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/dev/attachments/20080221/ae6c79c0/attachment.html
More information about the Dev
mailing list