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
-
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]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]