LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-28-2004, 07:28 AM   #1
linu_soft
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
Question How To Solve The Kernel Module Version Mismatch Problem ?


Hi all,

i have a problem making an object file !

I am trying to make a object file for a module and the response from kernel is as follows ::


$gcc -c my_prog.c
$ls
my_porg.c my_prog.o
$insmod my_prog.o
my_prog.o: kernel-module version mismatch
my_prog.o was compiled for kernel version 2.4.20
while this kernel is version 2.4.20-8.


Now how to solve this problem ?? I know the option of using " -f " option with insmod, but is there any othere way such that i can use " 2.4.20-8 " libraries for building my object file ??


thanks in advance for any advice !!!
 
Old 06-28-2004, 12:21 PM   #2
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Rep: Reputation: 30
this question has been answered a million times. search.
 
Old 07-21-2004, 04:47 AM   #3
manvirr
Member
 
Registered: Jul 2004
Location: Chandigarh
Distribution: RedHat 9.0
Posts: 34

Rep: Reputation: 15
how bout answering it one million and oneth time please. im having the same problem
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ndiswrapper kernel-module version mismatch Ian Linux - Wireless Networking 2 04-07-2004 12:53 PM
Kernel-module Version Mismatch !!! lionking_x Linux - Networking 1 02-02-2004 02:07 PM
Kernel-module Version Mismatch !!! lionking_x Linux - Software 1 02-02-2004 02:06 PM
Kernel-module Version Mismatch !!! lionking_x Linux - Newbie 1 02-02-2004 01:01 PM
kernel-module version mismatch louai Linux - General 2 01-08-2004 11:22 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration