public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: rekha vn <vidiyala_r@yahoo.com>
To: linux-newbie@vger.kernel.org
Subject: kernek version problem
Date: Sat, 30 Jul 2005 01:16:26 -0700 (PDT)	[thread overview]
Message-ID: <20050730081626.54233.qmail@web40608.mail.yahoo.com> (raw)

i have written a small module :



#define MODULE
#include<linux/module.h>
int init_module(){printk("<1>hello world");return 0;}
void cleanup_module(void){printk"<1>bye world");}

it got compiled without errors.when i'm trying to run
it by insmod:
insmod ./hello.o

i got the error message as:
./hello.o :kernel module version mismatch
./hello.o was compiled for kernel version 2.4.20 while
this kernel is version 2.4.21-4.EL

how do i update my kernel?
is there any way to bypass the kernel version
dependencies? 



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

             reply	other threads:[~2005-07-30  8:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-30  8:16 rekha vn [this message]
2005-07-30 10:36 ` kernek version problem Arturas Moskvinas
2005-07-30 12:14   ` rekha vn
2005-07-30 12:50   ` kernel " rekha vn
2005-08-01 13:50     ` gautam borad

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=20050730081626.54233.qmail@web40608.mail.yahoo.com \
    --to=vidiyala_r@yahoo.com \
    --cc=linux-newbie@vger.kernel.org \
    /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