LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-22-2014, 06:06 PM   #1
tonj
Member
 
Registered: Sep 2008
Posts: 505

Rep: Reputation: 37
v4l-dvb asking for kernel that is not there


I'm trying to install the v4l-dvb package from here on fedora 20 64bit. I got the git clone ok and ran make, it took ages but it did complete, but when I ran make install I got this error:
Code:
sh ./arch/x86/boot/install.sh 3.15.0+ arch/x86/boot/bzImage \
	System.map "/boot"
depmod: ERROR: could not open directory /lib/modules/3.15.0+: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
Kernel version 3.15.0+ has no module directory /lib/modules/3.15.0+
why is it looking for this kernel? there is no 3.15.0 kernel on this machine. I have
Code:
# uname -r
3.14.8-200.fc20.x86_64
and that was after doing yum update and rebooting. I've been searching on google about this but can't find anything, how do I get make install to recognise my kernel and run properly?
 
Old 06-24-2014, 02:59 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by tonj View Post
Code:
sh ./arch/x86/boot/install.sh 3.15.0+ arch/x86/boot/bzImage \
	System.map "/boot"
depmod: ERROR: could not open directory /lib/modules/3.15.0+: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
Kernel version 3.15.0+ has no module directory /lib/modules/3.15.0+
why is it looking for this kernel? there is no 3.15.0 kernel on this machine. I have
Code:
# uname -r
3.14.8-200.fc20.x86_64
and that was after doing yum update and rebooting. I've been searching on google about this but can't find anything, how do I get make install to recognise my kernel and run properly?
Perhaps it is related to the command
Code:
sh ./arch/x86/boot/install.sh 3.15.0+ arch/x86/boot/bzImage \
	System.map "/boot"
Is the 3.15 in this command related to it looking for the 3.15 kernel? If you changed the "3.15.0+" to "3.14.0+" would it then be looking for a 3.14 kernel?
jdk
 
Old 06-24-2014, 02:20 PM   #3
tonj
Member
 
Registered: Sep 2008
Posts: 505

Original Poster
Rep: Reputation: 37
the file /arch/x86/boot/install.sh does not contain any reference to 3.15.0
the file arch/x86/boot/bzImage did contain a reference to 3.15.0 which I edited to 3.14.0
the file /boot/System.map does not contain any reference to 3.15.0
however after doing this one edit the make install command is still giving:
Code:
# make install
sh ./arch/x86/boot/install.sh 3.15.0+ arch/x86/boot/bzImage \
        System.map "/boot"
depmod: ERROR: could not open directory /lib/modules/3.15.0+: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
Kernel version 3.15.0+ has no module directory /lib/modules/3.15.0+
I still don't know why this is looking for a kernel that's not there.
 
Old 06-25-2014, 12:50 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Whatever editing you did (any reason for not telling us what you did?) clearly had no effect on the the line
Code:
sh ./arch/x86/boot/install.sh 3.15.0+ arch/x86/boot/bzImage \
        System.map "/boot"
My guess is that you have to find the source of that line and modify it accordingly. If you modified the file arch/x86/boot/bzImage and it had no effect then it is clearly not the source of the 3.15.0+ in the faulty line. I don't run Fedora so I really can't help you any more than that.

I assume you have installed the correct kernel headers file (3.14). Is that right?
jdk

Last edited by jdkaye; 06-25-2014 at 12:53 AM.
 
Old 06-25-2014, 04:20 AM   #5
tonj
Member
 
Registered: Sep 2008
Posts: 505

Original Poster
Rep: Reputation: 37
hi yes I have all the dep's installed.
The edit I did before was: opened arch/x86/boot/bzImage, searched for '3.15.0', found one instance of it and I changed it to 3.14.0 and saved the file.
I did a search on the term '3.15.0' in the v4l source folder and it found literally hundreds of files containing this term. so from here I don't know how to find the source of the line in question. It could be any one of hundreds of files.
 
Old 06-25-2014, 10:53 AM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by tonj View Post
hi yes I have all the dep's installed.
Does that mean that you have installed the linux headers for your kernel? I think it's called the "kernel development package" in Fedora-speak.
Quote:
I'm trying to install the v4l-dvb package
But from the procedure you're using, it sounds like you're trying to compile v4l-dvb from source rather than using the already compiled package, is that correct? If so, why not just install the package rather than compiling from source.
jdk
 
Old 06-25-2014, 02:14 PM   #7
tonj
Member
 
Registered: Sep 2008
Posts: 505

Original Poster
Rep: Reputation: 37
there are no linux headers for fedora, there are however 'kernel-headers', which are installed along with kernel-devel.
Yes I am trying to compile from source.
'the already compiled package'? I haven't come across that. Have you seen such a thing and if so, can you provide a link?
 
Old 06-25-2014, 02:38 PM   #8
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by tonj View Post
there are no linux headers for fedora, there are however 'kernel-headers', which are installed along with kernel-devel.
Yes I am trying to compile from source.
'the already compiled package'? I haven't come across that. Have you seen such a thing and if so, can you provide a link?
Sorry. It was your reference to a package that fooled me.
Quote:
I'm trying to install the v4l-dvb package
I haven't heard of any precompiled packagage for v4l-dvb
jdk
 
  


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
installing V4L-DVB on linpus ex-alfa Linux - Software 0 04-18-2009 08:40 PM
DVB usb device no longer detected as a DVB , but as V4L., so no longer works vdemuth Slackware 4 12-21-2008 07:31 PM
Problem compiling v4l-dvb-kernel w/ 2.6.25.7 kernel - Fedora 9 SD-user Linux - Kernel 3 10-11-2008 11:49 AM
problems compiling v4l-dvb-kernel w/2.6.20 105659 Linux - Kernel 10 08-05-2008 09:12 PM
problems compiling v4l-dvb in kernel 2.6.16.27.tex1 cncman Linux - Software 0 09-16-2006 09:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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