LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-31-2022, 08:11 PM   #1
Enesha
LQ Newbie
 
Registered: Oct 2022
Posts: 14

Rep: Reputation: 0
Compiling DVB Runer mod


Greetings all

meant tuner mod in title

I am trying to compile a module for a usb tv tuner I got. It is however giving me troubles. The module is written for Ubuntu 20.04.1 with a dependency on kernel 5.4.0. This is the newest version of the software. I am running Ubuntu 22.04.1 LTS with kernel 5.15.0-52-generic. When I follow the directions in the enclosed pdf I get this result:

make release
make -C /home/enesha/media_build_u20.04.1_ker5.4.0_lib_20210309/media_build_u20.04.1_ker5.4.0_lib/v4l release
make[1]: Entering directory '/home/enesha/media_build_u20.04.1_ker5.4.0_lib_20210309/media_build_u20.04.1_ker5.4.0_lib/v4l'
No version yet, using 5.15.0-52-generic
make[1]: Leaving directory '/home/enesha/media_build_u20.04.1_ker5.4.0_lib_20210309/media_build_u20.04.1_ker5.4.0_lib/v4l'

Which seems to have no troubles. Then I am advised to:

make
make -C /home/enesha/media_build_u20.04.1_ker5.4.0_lib/v4l
make[1]: Entering directory '/home/enesha/media_build_u20.04.1_ker5.4.0_lib/v4l'
Updating/Creating .config
make[2]: Entering directory '/home/enesha/media_build_u20.04.1_ker5.4.0_lib/linux'
/bin/sh: 1: ./patches_for_kernel.pl: Permission denied
Version 5.15.0-52-generic not supported
/bin/sh: 7: exit: Illegal number: -1
make[2]: *** [Makefile:132: apply_patches] Error 2
make[2]: Leaving directory '/home/enesha/media_build_u20.04.1_ker5.4.0_lib/linux'
make[1]: *** No rule to make target 'Kconfig', needed by '.myconfig'. Stop.
make[1]: Leaving directory '/home/enesha/media_build_u20.04.1_ker5.4.0_lib/v4l'
make: *** [Makefile:26: all] Error 2


It says my kernel is not supported and several errors about packages etc.

I do not have the headers for 5.4.0 to build against, and am unable to manage to get the headers installed

Am I just SOL for this and I need a new tuner or is there a way to bend this driver to my will? Surely if it'll build against the old kernel we can make it use the newer one, right?

EDIT = Ive been trying to look at the source files and I was checking out Makefile and I find this:
SRCDIR ?= /lib/modules/$(KERNELRELEASE)/source

I see that $(KERNELRELEASE) variable a lot. I can't seem to locate where that var gets set. I'm assuming maybe if I find it Ican change to the current kernel and it would compile against that?

Thanks in advance

Last edited by Enesha; 10-31-2022 at 10:50 PM. Reason: adding more info
 
Old 11-02-2022, 05:48 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
no, it says permission denied. Probably you need to check that file and set the required permissions.
 
  


Reply

Tags
driver, dvb, make



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
[SOLVED] DVB adapter driver DVB-C DVB-T switching - Linux DVB API V5 robvoo Linux - Kernel 3 02-16-2012 02:50 AM
DVB stick loads modules, and creates /dev/dvb/adapter0+, BUT Balarabay1 Linux - Software 0 09-20-2008 03:35 PM
No saa7134-dvb.c so cannot modify firmware for DVB-T? lugoteehalt Debian 5 07-31-2008 01:44 PM
Firmware question about AverTV DVB-T USB 2.0 dvb receiver phildacey Linux - Hardware 0 02-19-2006 03:57 PM
Kaffeine recognizes DVB cards, scans channels, but DVB icon remains dim. Ekkume Ubuntu 5 01-24-2006 10:45 AM

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

All times are GMT -5. The time now is 07:09 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