[Users] Redhat 8 + freeswan module issue...

From: Ian Brown (freeswan_at_wopr.mitchellandmitchell.com)
Date: Thu Oct 03 2002 - 02:24:17 CEST


Recently loaded redhat 8 and tried to recompile the ipsec.o module like
I've done prevously with redhat 7.3 but ran into an odd error:

ipsec_setup: /lib/modules/2.4.18-14/kernel/net/ipsec/ipsec.o: The module
you are trying to load (/lib/modules/2.4.18-14/kernel/net/ipsec/ipsec.o)
is compiled with a gcc
ipsec_setup: version 2 compiler, while the kernel you are running is
compiled with
ipsec_setup: a gcc version 3 compiler. This is known to not work.

the only version of gcc that I have is the version that redhat 8 loaded...
rpm -qa| grep "gcc" shows:
gcc-g77-3.2-7
gcc-c++-3.2-7
libgcc-3.2-7
gcc-3.2-7

No gcc 2 version exists on my system.

Here were the steps that I did:

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

cd /usr/src/linux
make mrproper
cp ./configs/kernel-2.4.18-i686.config /usr/src/linux/.config
make menuconfig
(no changes, just save and exit)
make dep
make modules

cd /usr/local/src/freeswan/freeswan-1.98b
make oldmod
make minstall

mkdir /lib/modules/2.4.18-14/kernel/net/ipsec
cp /lib/modules/2.4.18-14custom/kernel/net/ipsec/ipsec.o
/lib/modules/2.4.18-14/kernel/net/ipsec
(That's one long line, not two)

and finally /sbin/service ipsec start

Any ideas?

_______________________________________________
Users mailing list
Users_at_lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/users



This archive was generated by hypermail 2.1.5 : Fri Oct 04 2002 - 05:20:19 CEST