Sample Driver Module incompatibility with Kernel version (or gcc version)
Hello,
I am a newbie to Linux driver programming, I wrote a sample program from a book which has init_module() and clean_module() only. When I tried to insmod the object file (which is compiled using gcc), it gives a message "the module cannot be loaded as it requires the kernel version to be 2.4.0-0.26smp "
My current kernel version is 2.2.16-22smp with RedHat Linux 7.
Can anyone help me out in loading module succesfully into kernel???
Thanks in advance
JVS
|