Messages in this thread | | | Date | Tue, 26 Jul 2005 17:23:18 -0600 | From | Robert Hancock <> | Subject | Re: problem while executing insmod |
| |
deepak jose wrote: > sir/madam, > > i written a module function similar to hello, world in C .i compiled > it.but when i ,m loading the module i'm getting the error that "the > kernel compiled is kernel 2.4.20 whereas i'm having 2.4.20-8". > wat i have to do to load it properly without forcing it to load. > did i have to change my kernel. > please suggest me a solution without changing the kernel.
Are you compiling against the same kernel version that's actually running on the machine? 2.4.20-8 sounds like a Red Hat 9 kernel version (an out of date one, BTW), you cannot build modules against vanilla 2.4.20 kernel sources and load them into the Red Hat 9 version.
-- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from hancockr@nospamshaw.ca Home Page: http://www.roberthancock.com/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |