Skip to contentSkip to conversation

Kernel module problem: no version for "struct_module" found

DISCUSSION Lei Yang 2 participants 2 messages Aug 30, 2004

lore
Share & tools
lore

Lei Yang

author
#0 lore raw

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

#1 lore raw
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_module and how to make modules give proper version for it?

First - please post your Makefile.
People often get kbuild stuff wrong.

Sam