[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compiling joystick.o



Corey Miller wrote:
> 
>         I'm trying to compile the module for joystick support, but when I
> make joystick.o and try to load it with insmod I get this error:
> 
> mstie# insmod joystick.o
> joystick.o: kernel-module version mismatch
>         joystick.o was compiled for kernel version 2.0.32
>         while this kernel is version 2.0.33.
> 
>         I am running 2.0.33, and have 2.0.33 in /usr/src/linux. If anyone
> could point out my mistake, I would really appreciate it.
> 

Check the Makefile, I think there is a variable in there that sets what
kernel it is compiling for.  I am not at my Linux machine now to check.
I think you can even give a list of kernel versions and it will create
a set of different joystick.o's one for each kernel version.  

Brian


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: