LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 04-09-2006, 03:55 AM   #1
joelunch
LQ Newbie
 
Registered: Dec 2005
Posts: 10

Rep: Reputation: 0
Module/Kernel Versions and numbering wrong


How does fedora tell programs what version of kernel (and file location) to build modules for?

When makeing the modules for video for linux (v4l) it makes them for an old kernel version (not running) and installs them in that old kernel version directory. I have compiled my own kernel totaly from source in /usr/src/linux/
as I have always done.

when I do make or make install on the v4l is puts the files in the oldest kernel version on the system. Is there a kernel version file or something that will tell make where to look? Even make KERNEL_PATH=/usr/src/linux didn't do the job. There is no configure command for v4l.

Thanks in advance.

Joe
 
Old 04-09-2006, 11:08 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Quote:
Originally Posted by joelunch
How does fedora tell programs what version of kernel (and file location) to build modules for?

When makeing the modules for video for linux (v4l) it makes them for an old kernel version (not running) and installs them in that old kernel version directory. I have compiled my own kernel totaly from source in /usr/src/linux/
as I have always done.
Should not be a problem, unless you forgot/missed a step or did not use 'make install' when done building.

Quote:
when I do make or make install on the v4l is puts the files in the oldest kernel version on the system. Is there a kernel version file or something that will tell make where to look? Even make KERNEL_PATH=/usr/src/linux didn't do the job. There is no configure command for v4l.
You may be able to edit the make file to point to the correct kernel source location. Check and see if /lib/modules/<version#>/build exists and where it links to, example;

$ ls -l /lib/modules/2.6.16.2/build
lrwxrwxrwx 1 root root 23 Apr 8 08:55 /lib/modules/2.6.16.2/build -> /usr/src/linux-2.6.16.2
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Error] Kernel Module : No kernel module build environment saman007uk Debian 7 09-09-2006 07:34 PM
gcc versions compatibility with kernel versions.. mahesh_manthapuri Suse/Novell 1 03-22-2006 01:28 AM
Linux Kernel numbering benjithegreat98 General 1 04-08-2005 01:03 PM
Wrong module path Digiital Linux - General 2 01-11-2005 08:23 AM
kernel module ignorant newbie looking for any one with kernel module knowledge cpoet Slackware 4 11-24-2003 10:37 PM


All times are GMT -5. The time now is 05:12 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration