* CONFIG_MODVERSION
@ 2006-10-22 16:52 ranjith kumar
2006-10-22 17:19 ` CONFIG_MODVERSION Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: ranjith kumar @ 2006-10-22 16:52 UTC (permalink / raw)
To: linux-kernel
How to set config_modversion on/off.
I am asking this question because I got the following
error when I tried to insert a modeule which I wrote.
deogiri:/users/pg05/ranjithk/Desktop/prg# gcc -c 3.c
deogiri:/users/pg05/ranjithk/Desktop/prg# insmod
./3.o
insmod: error inserting './3.o': -1 Invalid module
format
Can any one help me?
Thanks.
Send instant messages to your online friends http://uk.messenger.yahoo.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: CONFIG_MODVERSION
2006-10-22 16:52 CONFIG_MODVERSION ranjith kumar
@ 2006-10-22 17:19 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2006-10-22 17:19 UTC (permalink / raw)
To: ranjith kumar; +Cc: linux-kernel
On Sun, 22 Oct 2006 17:52:15 +0100 (BST) ranjith kumar wrote:
> How to set config_modversion on/off.
>
> I am asking this question because I got the following
> error when I tried to insert a modeule which I wrote.
>
> deogiri:/users/pg05/ranjithk/Desktop/prg# gcc -c 3.c
> deogiri:/users/pg05/ranjithk/Desktop/prg# insmod
> ./3.o
> insmod: error inserting './3.o': -1 Invalid module
> format
>
> Can any one help me?
Is this for a 2.6 kernel?
If so, you need to build a 3.ko file, using the 2.6 kbuild
infrastructure. See Documentation/kbuild/* for doc & examples.
Your error messages isn't a modversions error, but you can
easily enable or disable modversions using make <your_favorite>config.
It's listed under the "Loadable module support" menu.
---
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-10-22 17:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-22 16:52 CONFIG_MODVERSION ranjith kumar
2006-10-22 17:19 ` CONFIG_MODVERSION Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®