LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   v4l-dvb asking for kernel that is not there (https://www.linuxquestions.org/questions/linux-software-2/v4l-dvb-asking-for-kernel-that-is-not-there-4175508819/)

tonj 06-22-2014 05:06 PM

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?

jdkaye 06-24-2014 01:59 AM

Quote:

Originally Posted by tonj (Post 5192226)
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

tonj 06-24-2014 01:20 PM

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.

jdkaye 06-24-2014 11:50 PM

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

tonj 06-25-2014 03:20 AM

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.

jdkaye 06-25-2014 09:53 AM

Quote:

Originally Posted by tonj (Post 5193571)
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

tonj 06-25-2014 01:14 PM

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?

jdkaye 06-25-2014 01:38 PM

Quote:

Originally Posted by tonj (Post 5193841)
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


All times are GMT -5. The time now is 06:16 PM.