LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problems installing kernel modules on new version (https://www.linuxquestions.org/questions/linux-newbie-8/problems-installing-kernel-modules-on-new-version-89142/)

mcgiv 09-04-2003 06:37 AM

problems installing kernel modules on new version
 
Hi,
I'm new to Linux but have been thrown in at the deep end - working on kernel modules. I was working with the 2.4.20 kernel using Knoppix (which I installed on my hard drive as it usually just a bootable cd). Then I attempted to upgrade to 2.4.22. Compiling went ok and I was able to get it up and running but when I attempt to recompile my code that I was working on ( an extension to the hid kernel module) it compiles ok but when I attempt to insmod the module it says that it was compiled for the old version of the kernel (2.4.20). I followed the help in linuxfromscratch.org/view/cvs/chapter06/kernel.html[/url] for setting up the include headers but something isn't right. Could someone please help me out as I'm stuck doing nothing until I can solve this problem.

Thanks Damien

scobiej 09-04-2003 09:35 AM

Make sure that /usr/src/linux is a copy of what is in /usr/src/linux..../include/linux


All times are GMT -5. The time now is 11:55 AM.