On Mon, 2003-02-17 at 23:50, tim schofield wrote:
Dear All
While trying to compile and install a driver i get the following messages during modprobe:
"Using /lib/modules/2.4.19-64GB-SMP/net/hostap_plx.o /lib/modules/2.4.19-64GB-SMP/net/hostap_plx.o: kernel-module mismatch /lib/modules/2.4.19-64GB-SMP/net/hostap_plx.o was compiled for kernel version 2.4.19 while this kernel is version 2.4.19-64GB-SMP"
I am using the 2.4.19-64GB-SMP kernel - an updated one "k_smp-2.4.19-163.rpm"
I have installed the kernel sources from the SuSE 8.1 cd - i guess this is causing the error message.
To solve this do i install the k_smp-2.4.19-163.src.rpm (in /usr/src) or am i missing the point of this?
Before you compile your module you must prepare the sources, so they reflect the running kernel cd /usr/src/linux make mrproper make cloneconfig make dep touch /usr/src/linux/include/linux/modversions.h After that you can compile yor module, and it will fit nicely into the running kernel Anders