Re: problem while executing insmod

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
Home Page: http://www.roberthancock.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux