[Openswan Users] Compile error
Paul Wouters
paul at xelerance.com
Fri Jul 28 00:30:39 CEST 2006
On Thu, 27 Jul 2006, Yiannis Mavroukakis wrote:
> While compiling the KLIPS module i get the following errors
>
> /usr/src/other/openswan-2.4.6rc3/modobj26/aes/ipsec_alg_aes.c:82: error: syntax error before string constant
> /usr/src/other/openswan-2.4.6rc3/modobj26/aes/ipsec_alg_aes.c:82: warning: type defaults to `int' in declaration of `MODULE_PARM'
> /usr/src/other/openswan-2.4.6rc3/modobj26/aes/ipsec_alg_aes.c:82: warning: function declaration isn't a prototype
> /usr/src/other/openswan-2.4.6rc3/modobj26/aes/ipsec_alg_aes.c:82: warning: data definition has no type or storage class
> make[3]: *** [/usr/src/other/openswan-2.4.6rc3/modobj26/aes/ipsec_alg_aes.o] Error 1
> make[2]: *** [_module_/usr/src/other/openswan-2.4.6rc3/modobj26] Error 2
> make[2]: Leaving directory `/usr/src/kernel/linux-2.6.17.6'
> make[1]: *** [module26] Error 2
> make[1]: Leaving directory `/usr/src/other/openswan-2.4.6rc3'
> make: *** [module] Error 2
>
> kernel version is 2.6.17.4 gcc version 3.4.6
Can you try changing line 82 of ipsec_alg_aes.c from:
MODULE_PARM(auth_id, "i");
to:
module_param(auth_id, ulong, 0600);
And see if that fixes it for you?
Paul
More information about the Users
mailing list