LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-26-2003, 05:05 PM   #1
iannou
LQ Newbie
 
Registered: Jun 2003
Posts: 4

Rep: Reputation: 0
Angry Couldn't find the kernel version the module was compiled for


All,

I am getting the above error. I looked throught messages but did not find any quick fix.

I had compiled the kernel ( and was built as -14custom)
I built the module with the folowing options:

INCLUDE = -isystem /lib/modules/`uname -r`/build/include/

CFLAGS = -O3 -DMODULE -D__KERNEL__ $(INCLUDE)

Anbody have suggestions

thanks

ig
 
Old 06-26-2003, 08:14 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Mineral, Virginia
Distribution: Debian 8
Posts: 7,893

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
make modules_install

The kernel is looking for a directory called /lib/modules/14custom.
Does /lib/modules/14custom exist?

When you did the kernel compile did you also do:
make modules
make modules_install
 
Old 06-27-2003, 08:00 AM   #3
iannou
LQ Newbie
 
Registered: Jun 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks jailbait!!

I did actually do make module modules_install and then recompile my modules.

Anybody in the future reading this...make sure your /usr/src/linux-2.4/Makefile EXTRAVERSIONS is appropriately set (to the version of kernal running ) -14 or -14custom

I hate this kernel module version check .. I wasted a lot of time.

Thanks!

Iannou
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading module compiled on differenet version in 2.6 kernel shrey_j Programming 8 09-04-2006 08:03 AM
how to find out if a module has been compiled in my kernel? kpachopoulos Linux - General 2 09-17-2005 04:58 PM
couldn't find the kernel version the module was compiled for darai Linux - Newbie 1 09-12-2004 04:47 PM
couldn't find the kernel version the module was compiled for darai Linux - General 2 09-12-2004 02:56 PM
couldn't find the kernel version the module was compiled for famewolf Linux - Software 0 03-21-2004 09:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:22 AM.

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