Sample Driver Module incompatibility with Kernel version (or gcc version)
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
the kernel headers you used may be of the kernel version 2.4.0-0.26 and you may be currently loaded the kernel of version 2.2.16-22smp
|All times are GMT -5. The time now is 07:28 PM.|