Kernel module problem: no version for "struct_module" found
Hi friends,
Have been working on a simple kernel module, I've made everything built with kbuild and insmod test.ko. Now it seems that the module has been installed, however, it doesn't seem to work correctly. I get this dmesg:
kernel: test: no version for "struct_module" found: kernel tainted.
Experts here - what is struct_module and how to make modules give proper version for it?
TIA
Quoted 10 lines · Lei Yang
Hi friends,
Have been working on a simple kernel module, I've made everything built with kbuild and insmod test.ko. Now it seems that the module has been installed, however, it doesn't seem to work correctly. I get this dmesg:
kernel: test: no version for "
struct_module" found: kernel tainted.Experts here - what is
struct_moduleand how to make modules give proper version for it?
First - please post your Makefile.
People often get kbuild stuff wrong.
Sam