[Users] Related RedHat 8.0 error -- What did I forget?

From: Charles Johnson (charlesnjohnson_at_tds.net)
Date: Fri Oct 18 2002 - 04:20:10 CEST


I did a virgin install of RedHat 8.0. Download freeswan 1.98b to
/usr/src then I did this:

1. tar -xzf freeswan*.gz

2. cp freeswan-1.98b/libdes/asm/perlasm/x86unix.pl
freeswan-1.98b/libdes/asm/perlasm/x86unix.pl.20021016

3. Applied the patch supplied by Tom Hughes to remove the
gcc2_compiled.: line.

4. ln -s /usr/src/linux-2.4.18-14 /usr/src/linux

5. cd /usr/src/linux

6. make mrproper

7. cp ./configs/kernel-2.4.18-i686.config /usr/src/linux/.config

8. make menuconfig (I made no changes, I chose "exit" then "save")

9. make dep

10. make modules

11. cd /usr/local/src/freeswan/freeswan-1.98b

12. make oldmod

13. make minstall

14. mkdir /lib/modules/2.4.18-14/kernel/net/ipsec

15. cp /lib/modules/2.4.18-14custom/kernel/net/ipsec/ipsec.o \
/lib/modules/2.4.18-14/kernel/net/ipsec

16. /sbin/service ipsec start

I got the following error:

ipsec_setup: Starting FreeS/WAN IPsec 1.98b...
ipsec_setup: /lib/modules/2.4.18-14/kernel/net/ipsec/ipsec.o:
kernel-module version mismatch
ipsec_setup: /lib/modules/2.4.18-14/kernel/net/ipsec/ipsec.o was
compiled for kernel version 2.4.18-14custom
ipsec_setup: while this kernel is version 2.4.18-14.
ipsec_setup: Using /lib/modules/2.4.18-14/kernel/net/ipsec/ipsec.o
ipsec_setup: /lib/modules/2.4.18-14/kernel/net/ipsec/ipsec.o:
kernel-module version mismatch
ipsec_setup: /lib/modules/2.4.18-14/kernel/net/ipsec/ipsec.o was
compiled for kernel version 2.4.18-14custom
ipsec_setup: while this kernel is version 2.4.18-14.
ipsec_setup: /lib/modules/2.4.18-14/kernel/net/ipsec/ipsec.o: insmod
/lib/modules/2.4.18-14/kernel/net/ipsec/ipsec.o failed
ipsec_setup: /lib/modules/2.4.18-14/kernel/net/ipsec/ipsec.o: insmod
ipsec failed
ipsec_setup: kernel appears to lack KLIPS
ipsec_setup: OOPS, should have aborted! Broken shell!

OK, there is something really obvious I have overlooked, so I deserve a
dope slap; but for the life of me, I can't see the problem. Help anyone?

Cheers--
Charles

---
Remember the heroes of UAL Flight 93
_______________________________________________
Users mailing list
Users_at_lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/users


This archive was generated by hypermail 2.1.5 : Sun Oct 20 2002 - 05:20:29 CEST