[Openswan Users] - Building module saga (was: kernel panic )
mario.lobo at ipad.com.br
mario.lobo at ipad.com.br
Wed Mar 2 09:15:42 CET 2005
Hello Paul;
Still insisting here.
I finally got the compile to start correctly but
here is where it has stopped:
env:
MOD26BUILDDIR=/root/openswan_test
KERNELSRC=/usr/src/linux-2.6.11-test ==>copy from /usr/src/linux-2.6.11-clean
/usr/src/openswan-2test ==>copy from the CVS updated /usr/src/openswan-2
---------------------------------------------------
Building module for a 2.6 kernel
make[1]: Entering directory `/usr/src/openswan-2test'
make[2]: Entering directory `/usr/src/openswan-2test'
make[2]: `/root/openswan_test/Makefile' is up to date.
make[2]: Leaving directory `/usr/src/openswan-2test'
make -C /usr/src/linux-2.6.11-test BUILDDIR=/root/openswan_test SUBDIRS=/root/openswan_test
MODULE_DEF_INCLUDE=/usr/src/openswan-2test/packaging/linus/config-all.h ARCH=i386 modules
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
In file included from include/linux/module.h:10,
from /root/openswan_test/ipsec_init.c:25:
include/linux/sched.h:4:36: asm/param.h: No such file or directory
In file included from include/linux/types.h:13,
from include/linux/capability.h:16,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /root/openswan_test/ipsec_init.c:25:
include/linux/posix_types.h:47:29: asm/posix_types.h: No such file or directory
In file included from include/linux/capability.h:16,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /root/openswan_test/ipsec_init.c:25:
include/linux/types.h:14:23: asm/types.h: No such file or directory
In file included from include/linux/capability.h:16,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /root/openswan_test/ipsec_init.c:25:
==========================================================
It looks like there is something wrong with this kernel tree. But I garantee you that it is exactly
this very kernel that I have running smoothly on the PC I am trying this compilation.
If I go to /usr/src/linux-2.6.11-test and issue a ´make´, It will compile, install and run with NO
ERRORS !!
That is why I said "It looks like.." because in fact there isn´t.
> Which version of openswan is that?
> I do not udnerstand what is wrong. It works fine for me on a lot of different machines.
openswan-2 HEAD
Will it help if compile the kernel tree?
thanks,
--
//| //||
// | // ||
-//--//---|| ARIO LOBO
// // ||
---------------------------------
mario.lobo at ipad.com.br
http://www.ipad.com.br
More information about the Users
mailing list