Archived

This topic is now archived and is closed to further replies.

Sonu Kapoor

Sundance.o is not working with IPSec kernel

Recommended Posts

Sonu Kapoor    122
Hi guys, I have a system with the kernel 2.4.18-3ipsec and 2.4.18-3 .I am booting my system with the ipsec kernel. Now i compile the sundance.c file and it compiles without any errors. But as soon as i try to use "insmod sundance.o" it displays the following error: "Sundance.o: Kernel-module version mismatch sundance.o was compiled for Kernel version 2.4.18-3 while this kernel is version 2.4.18-3ipsec." I cant understand this, cause i am compilining the file with the 2.4.18-3ipsec kernel. Please help me. Sonu

Share this post


Link to post
Share on other sites
HG    122
Possibly the kernel headers you have on your system are for the non-IPsec kernel..?

Just a guess.

-R

Share this post


Link to post
Share on other sites
HG    122
Look where the kernel source is installed (should be usr/src/linux-x.x). That directory name is the kernel source that''s on the system.

-R

Share this post


Link to post
Share on other sites
Sonu Kapoor    122
You were right ! I have installed kernel source for my ipsec and now it works. But i still get the following error message during the boot process of the system.

Finding module dependendies: failed
depmod: depmod *** Unresolved symbols in
lib/modules/2.4.18-10custom/kernel/drivers/net/sundance.o

How can i avoid this error message ???

-Sonu

Share this post


Link to post
Share on other sites