Driver porting: compiling external modules
Driver porting: compiling external modules
Posted Jul 26, 2004 17:37 UTC (Mon) by anikami1 (guest, #23453)Parent article: Driver porting: compiling external modules
I have the following problem with a device driver. It will load in my machine, but if I try to load it under a different kernel version, or on another machine with a different kernel version, I get "invalid module format" errors. I am pretty sure this has to do with the "version magic" feature of the 2.6.X kernels.
My question is, do I need to compile the module/driver under EACH kernel version out there? Is there a way to compile the module so that it loads on any machine with a 2.6.X kernel?