Re: problem while executing insmod

2005-07-26 Thread Robert Hancock

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/


problem while executing insmod

2005-07-26 Thread deepak jose
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.
-
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/


problem while executing insmod

2005-07-26 Thread deepak jose
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.
-
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/


Re: problem while executing insmod

2005-07-26 Thread Robert Hancock

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/