From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16903 invoked by alias); 7 Sep 2004 15:07:29 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 16858 invoked from network); 7 Sep 2004 15:07:26 -0000 Received: from unknown (HELO mail.osdl.org) (65.172.181.6) by sourceware.org with SMTP; 7 Sep 2004 15:07:26 -0000 Received: from dragon.pdx.osdl.net (dragon.pdx.osdl.net [172.20.1.27]) by mail.osdl.org (8.11.6/8.11.6) with SMTP id i87F7H129195; Tue, 7 Sep 2004 08:07:17 -0700 Date: Tue, 07 Sep 2004 15:07:00 -0000 From: "Randy.Dunlap" To: rinku rathore Cc: D.Bergmann@gom.com, gcc@gcc.gnu.org, gcc-help@gcc.gnu.org!, eljay@adobe.com, lrtaylor@micron.com, majordomo@vger.kernel.org, M.Stein@gom.com, zack@codesourcery.com Subject: Re: kernel modules Message-Id: <20040907080346.58ceec40.rddunlap@osdl.org> In-Reply-To: <20040907113019.40163.qmail@web53008.mail.yahoo.com> References: <20040907113019.40163.qmail@web53008.mail.yahoo.com> Organization: OSDL Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2004-09/txt/msg00300.txt.bz2 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