Paul Schulz wrote:
> 
> Greetings,
> 
> I'm able to compile and all seems well, except when
> I try to install the module it complains about not the correct
> kernel version...
> 
> mars:/home/paul/src/plex86# ./misc/load_module.sh
> ./misc/../kernel/plex86.o: kernel-module version mismatch
>         ./misc/../kernel/plex86.o was compiled for kernel version 2.2.17
>         while this kernel is version 2.4.0-test9.
> The kernel module failed to load!


This looks like the kernel installed on your Debian
system in /usr/src/linux (the default one probably) is 2.2.17,
but you have 2.4.0-t9 compiled and running.

To properly compile for your newer kernel headers, you
just have to pass an options to configure:


  ./configure --with-linux-source=/path/linux

Use a path to the toplevel name of your new Linux dir.
Make sure to do a 'make dist-clean' in plex86 first,
to flush it out, after your previous compile.

-Kevin

Reply via email to