kernel modules
Randy.Dunlap
rddunlap@osdl.org
Tue Sep 7 15:07:00 GMT 2004
On Tue, 7 Sep 2004 04:30:19 -0700 (PDT) rinku rathore wrote:
| Hello,
|
| I am trying to build a kernel module that is:-
|
| /*module name is "hello.c"*/
|
...
|
| And then compiling it with the command:-
| gcc -c hello.c
|
| it get successfully compiled and then I am trying to
| insert it with command
| insmod ./hello.o
|
| An error as followed is arived how can I remove this
| error:-
|
| error: ./hell.o: couldn't find the kernel version the
| module was compiled for
Interesting object file name.
Wrong mailing list. Please try the kernelnewbies mailing list,
kernelnewbies irc (see http://kernelnewbies.org/),
or lkml (linux-kernel mailing list: linux-kernel@vger.kernel.org).
--
~Randy
More information about the Gcc
mailing list