Hi, > I've a problem insmoding the hello-? Modules in the "Linux kernel > programming guide" by Peter Jay, > > On CentOS(2.6.9-34), I compiled the code successfully, but I had the > error "No module found in object" > > On Knoppix (Linux Knoppix 2.6.12 #2 SMP Tue Aug 9 23:20:52 CEST 2005 > i686 GNU/Linux), > I also compiled the code successfully, I got the error "insmod: error > inserting './hello-4.o': -1 Invalid module format" [snip] > I was able to compile and insmod the above module on Knoppix (kernel > version is 2.4.21)! this is because you made and compiled a 2.4 compliant module ;) 2.6 modules are quite different, i suggest to read some documents about 2.6 kernel modules. ( the begin of Linux Device Drivers explain that, for example ). Bye! -- -gaspa- ----------------------------------------------- --------- Powered by Debian GNU/Linux --------- ------ HomePage: iogaspa.altervista.org ------- -Il lunedi'dell'arrampicatore: www.lunedi.org - -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ