[Openswan Users] Do I need to patch the kernel to build OCF with Openswan?

Paul Wouters paul at xelerance.com
Wed Jul 18 20:05:21 EDT 2007


On Wed, 18 Jul 2007, Ankit Parikh wrote:

> I am now using 2.6.18.8 version of the kernel now...
>
> Now i did make KERNELSRC=/lib/modules/'uname -r'/build module minstall

> and got the following error:

> I saw the directory /lib/modules/2.6.18-8.el5/build:
>
> build is a symbolic link which points to
> /usr/src/kernels/2.6.18-8.elf-i686,but when in /usr/src/ there is no
> directory called kernels...

That is because you don't have an RHEL5 kernel package installed. If you
are compiling a custom kernel from source, then point KERNELSRC= to that
source directory.

> does that mean that the kernel source is not there in the directory and I
> need to recompile the kernel? Btw..I am using RHEL 5 now and this is the
> default kernel installed with RHEL 5. I haven't recompiled the kernel.

You will have to recompile your own kernel.

Paul


More information about the Users mailing list