Re: Kernel module problem: no version for "struct_module" found

From: Sam Ravnborg
Date: Mon Aug 30 2004 - 09:56:52 EST


On Mon, Aug 30, 2004 at 10:30:36AM -0400, Lei Yang wrote:
> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/