I'm trying to lauch rfm12b kernel module on OSMC OS. I've sucessfully downloaded kernel headers and sources (kernel version 4.4.8-3-osmc). I run sudo make command and .ko file was generated successfully but when I try to do sudo insmod rfm12b.ko I got :
insmod: ERROR: could not insert module rfm12b.ko: Invalid module format
Hello !
I'm trying to lauch rfm12b kernel module on OSMC OS. I've sucessfully downloaded kernel headers and sources (kernel version 4.4.8-3-osmc). I run sudo make command and .ko file was generated successfully but when I try to do
sudo insmod rfm12b.ko
I got :insmod: ERROR: could not insert module rfm12b.ko: Invalid module format
I also tried the steps described in https://github.com/gkaindl/rfm12b-linux/issues/5 but it seems that is has no effect in my case - maybe it's because for Raspian.
Please help.