[Openswan Users] openswan 2.6.25 compile error
David McCullough
david_mccullough at mcafee.com
Mon Mar 22 06:57:24 EDT 2010
Jivin Dennis van der Meer lays it down ...
> Hi,
>
> I am trying to compile openswan with KLIPS support. I currently use Netkey because I remember
>
> I had some problems in the past getting KLIPS working with my 2.6 kernel.
>
> My Linux kernel version is 2.6.33 and I try to compile openswan v2.6.25 but get the following error:
Support for 2.6.33 only went in today (post 2.6.25).
Try the attached patch,
Cheers,
Davidm
> In file included from /usr/src/openswan-2.6.25/modobj26/ipsec_proc.c:84:
>
> /usr/src/openswan-2.6.25/linux/include/openswan/ipsec_kern24.h:78:33: error: macro "printk_ratelimit" passed 1 arguments, but takes just 0
>
> make[3]: *** [/usr/src/openswan-2.6.25/modobj26/ipsec_proc.o] Error 1
>
> make[2]: *** [_module_/usr/src/openswan-2.6.25/modobj26] Error 2
>
> make[1]: *** [module26] Error 2
>
> make: *** [module] Error 2
>
> usr/src/openswan-2.6.25/packaging/linus/config-all.h MODULE_DEFCONFIG=/usr/src/openswan-2.6.25/linux/net/ipsec/defconfig MODULE_EXTRA_INCLUDE= ARCH=i386 V= modules
>
> make[2]: Entering directory `/usr/src/linux-2.6.33'
>
> CC [M] /usr/src/openswan-2.6.25/modobj26/ipsec_proc.o
>
> make[2]: Leaving directory `/usr/src/linux-2.6.33'
>
> make[1]: Leaving directory `/usr/src/openswan-2.6.25'
>
>
>
> Does anyone know what could be the cause? A definition change of the macro between kernel versions?
>
>
>
>
>
> Met vriendelijke groet, kind regards,
>
>
>
>
>
>
>
> Dennis van der Meer
>
> ICT Medewerker
>
>
>
> GreenChem Holding B.V.
>
> Keizerstraat 17 ?? 4811 HL Breda ?? The Netherlands
>
> P.O. Box 1101 ?? 4801 BC Breda ?? The Netherlands
>
> Tel. +31 (0)76-5242432 ?? Fax +31 (0)76-5812571
>
> Mobile +31 (0)6-12875378 ?? www.greenchem-adblue.com <http://www.greenchem-adblue.com>
>
> E-mail: dennisvandermeer at greenchem-adblue.com <mailto:dennisvandermeer at greenchem-adblue.com>
>
>
>
>
> _______________________________________________
> Users at openswan.org
> http://lists.openswan.org/mailman/listinfo/users
> Building and Integrating Virtual Private Networks with Openswan:
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
--
David McCullough, david_mccullough at mcafee.com, Ph:+61 734352815
McAfee - SnapGear http://www.mcafee.com http://www.uCdot.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openswan-2.6.25-linux-2.6.33.diff
Type: text/x-diff
Size: 9336 bytes
Desc: not available
Url : http://lists.openswan.org/pipermail/users/attachments/20100322/c4f9e75c/attachment-0001.bin
More information about the Users
mailing list