I upgraded my Linux kernel from 2.4.20 to 2.4.25. Naturally, the Freeswan that I had installed on 2.4.20 does not run on 2.4.25. So I attempted to install Freeswan 1.98b by compiling a version against the 2.4.25 kernel following the directions from the 1.98b tar file. When I reboot, I receive the following errors:
Mar 28 06:10:53 localhost ipsec: ipsec_setup: Starting FreeS/WAN IPsec 1.98b...
Mar 28 06:10:53 localhost ipsec_setup: Starting FreeS/WAN IPsec 1.98b...
Mar 28 06:10:53 localhost ipsec_setup: /lib/modules/2.4.25/kernel/net/ipsec/ipsec.o: The module you are trying to load (/lib/modules/2.4.25/kernel/net/ipsec/ipsec.o) is compiled with a gcc
Mar 28 06:10:53 localhost ipsec_setup: version 2 compiler, while the kernel you are running is compiled with
Mar 28 06:10:53 localhost ipsec: ipsec_setup: /lib/modules/2.4.25/kernel/net/ipsec/ipsec.o: The module you are trying to load (/lib/modules/2.4.25/kernel/net/ipsec/ipsec.o) is compiled with a gcc
Mar 28 06:10:53 localhost ipsec: ipsec_setup: version 2 compiler, while the kernel you are running is compiled with
Mar 28 06:10:53 localhost ipsec_setup: a gcc version 3 compiler. This is known to not work.
Mar 28 06:10:53 localhost ipsec_setup: Using /lib/modules/2.4.25/kernel/net/ipsec/ipsec.o
Mar 28 06:10:53 localhost ipsec: ipsec_setup: a gcc version 3 compiler. This is known to not work.
Mar 28 06:10:53 localhost ipsec: ipsec_setup: Using /lib/modules/2.4.25/kernel/net/ipsec/ipsec.o
Mar 28 06:10:59 localhost ipsec_setup: /lib/modules/2.4.25/kernel/net/ipsec/ipsec.o: The module you are trying to load (/lib/modules/2.4.25/kernel/net/ipsec/ipsec.o) is compiled with a gcc
Mar 28 06:10:59 localhost ipsec_setup: version 2 compiler, while the kernel you are running is compiled with
Mar 28 06:10:59 localhost ipsec: ipsec_setup: /lib/modules/2.4.25/kernel/net/ipsec/ipsec.o: The module you are trying to load (/lib/modules/2.4.25/kernel/net/ipsec/ipsec.o) is compiled with a gcc
Mar 28 06:10:59 localhost ipsec: ipsec_setup: version 2 compiler, while the kernel you are running is compiled with
Mar 28 06:10:59 localhost ipsec_setup: a gcc version 3 compiler. This is known to not work.
Mar 28 06:10:59 localhost ipsec_setup: /lib/modules/2.4.25/kernel/net/ipsec/ipsec.o: insmod /lib/modules/2.4.25/kernel/net/ipsec/ipsec.o failed
Mar 28 06:10:59 localhost ipsec_setup: /lib/modules/2.4.25/kernel/net/ipsec/ipsec.o: insmod ipsec failed
Mar 28 06:10:59 localhost ipsec_setup: kernel appears to lack KLIPS
Mar 28 06:10:59 localhost ipsec_setup: OOPS, should have aborted! Broken shell!
Mar 28 06:10:59 localhost ipsec: ipsec_setup: a gcc version 3 compiler. This is known to not work.
Mar 28 06:10:59 localhost ipsec: ipsec_setup: /lib/modules/2.4.25/kernel/net/ipsec/ipsec.o: insmod /lib/modules/2.4.25/kernel/net/ipsec/ipsec.o failed
Mar 28 06:10:59 localhost ipsec: ipsec_setup: /lib/modules/2.4.25/kernel/net/ipsec/ipsec.o: insmod ipsec failed
Mar 28 06:10:59 localhost ipsec: ipsec_setup: kernel appears to lack KLIPS
Mar 28 06:10:59 localhost ipsec: ipsec_setup: OOPS, should have aborted! Broken shell!
Mar 28 06:10:59 localhost rc: Starting ipsec: failed
So, I thought, ok, I'll go out and see if there's an upgrade available for the gcc compiler. Well, when I ran gcc -v, I get:
[swallow@localhost swallow]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
So, it seems to me that I'm at version 3 already. What does this error mean? It seems that ipsec.o was not compiled when I ran through the install process. So how do I get that addressed?
Mark "learning much more than I really want to" Swallow
