[Openswan Users] openswan-2.4.3.kernel-2.6-klips.patch

Paul Wouters paul at xelerance.com
Tue Nov 15 19:54:57 CET 2005


On Tue, 15 Nov 2005, Giovani Moda wrote:

> I'm trying to compile the new klips code into kernel and I'm getting an
> odd error. It says:
>
> Configuration error: 'IPsec Modular Extensions' cannot be compiled because
> your kernel does not support module loading. Either enable kernel modules
> or disable 'IPsec Modular Extensions
>
> But here is the deal: I'm compiling from FC2 kernel source rpm, and adding
> the patches to kernel-2.6.spec. So I'm PRETTY sure that Kernel Modules are
> enable. If there is any doubt, here is part of my .config file:

But did you enable CRYPTO API modules?

> I tried commentig out
>
> +#if ! defined (MODULE)
> +#error "Configuration error: 'IPsec Modular Extensions' cannot be
> compiled because your kernel does not support module loading. Either
> enable kernel modules or disable 'IPsec Modular Extensions'
> (CONFIG_KLIPS_ALG)."
> +#endif

I guess the check needs fixing. Assgiend bug #499

> but another error came up then.
>
> So, unless I'm very mistaken about what kernel module loading support are,
> it seems that the patch cannot identify correctly my kernel module
> support.
>
> Is there any workaround?

I am not entirely sure if you have crypto api support enabled, that might
be the problem as well. Though if so, we should report that error instead.

Paul


More information about the Users mailing list