help, gcc version and kernel version mismatch
I am new to linux. I did a simple helloworld.c from Linux Device Drivers on Red Hat 9, kernel version 2.4.20-8. Now I complied it into object file, but when I tried to insert that module using insmod, I got error that like kernel version mismatch. Please help me to find a way out of it.
Download the kernel source and build the kernel, this way both the kernel and your compiled module will be at the same gcc level.
FYI: the kernel 2.4.20-8 is really old and needs to be replaced ASAP, in fact RHL9 has been EOL'd for over two years now. EOL == End of Life
Please consider installing a more recent version of Linux, keeping in the Red Hat family may I suggest Fedora Core 4/5 or CentOS 3/4;
At least visit the Fedora Legacy site and learn how to install and use yum and bring RHL9 current; http://www.fedoralegacy.org/
|All times are GMT -5. The time now is 09:39 AM.|