[Openswan Users] - Building module saga (was: kernel panic )

Paul Wouters paul at xelerance.com
Thu Mar 3 21:56:13 CET 2005

On Wed, 2 Mar 2005 mario.lobo at ipad.com.br wrote:

> make[2]: Entering directory `/usr/src/linux-2.6.11-test'
>   CC [M]  /root/openswan_test/ipsec_init.o
> /root/openswan_test/ipsec_init.c:24:27: linux/version.h: No such file or directory

That tree never got compiled before, or never got configured, or .config
changed without running make oldconfig.

>                  from /root/openswan_test/ipsec_init.c:25:
> include/linux/sched.h:4:36: asm/param.h: No such file or directory

That seems to suggest not having run any config method ever. Try:
cp .config /tmp/
make mrproper
cp /tmp/.config .
make oldconfig

in the kernel tree, and then try openswan again.


More information about the Users mailing list