--- Anders Johansson <andjoh@rydsbo.net> wrote: > 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
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Anders Thanks very much for that - worked like a dream Could you tell me a couple of things: 1. Where shouuld i have gone to RTFM - i couldn't find anyting related to this on the web ? 2. If there isn't a RTFM could you explain what the make steps do ? TIA Tim __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com