Writing modules for 2.5
What magic needs to be done when writing modules for linux 2.5.x? Insmod tells me "Invalid module format" and the kernel log says "No module found in object". I've tried to mimic the foo.mod.c stuff in the kernel tree, but I can't figure out the right way to do it.
Signature · 2 lines
Måns Rullgård [email protected]
Quoted 1 line
What magic needs to be done when writing modules for linux 2.5.x?
May I humbly suggest LWN's "porting drivers to 2.5" series?
http://lwn.net/Articles/driver-porting
There's 20-some articles there now on various API changes in the 2.5 kernel. The series is getting reasonably complete at this point; hopefully it will be helpful.
jon
Jonathan Corbet
Executive editor, LWN.net
[email protected]
Quoted 2 lines · Måns Rullgård
What magic needs to be done when writing modules for linux 2.5.x?
First of all you need to follow Documentation/modules.txt when compiling modules.
If you try to make your own build system you are sure to hit problems.
Sam