From: Randy Dunlap <rdunlap@xenotime.net>
To: ranjith kumar <ranjit_kumar_b4u@yahoo.co.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: CONFIG_MODVERSION
Date: Sun, 22 Oct 2006 10:19:53 -0700 [thread overview]
Message-ID: <20061022101953.23d3b7c5.rdunlap@xenotime.net> (raw)
In-Reply-To: <20061022165215.17075.qmail@web27408.mail.ukl.yahoo.com>
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
prev parent reply other threads:[~2006-10-22 17:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-22 16:52 CONFIG_MODVERSION ranjith kumar
2006-10-22 17:19 ` Randy Dunlap [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061022101953.23d3b7c5.rdunlap@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=linux-kernel@vger.kernel.org \
--cc=ranjit_kumar_b4u@yahoo.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®