Moderator Control Panel ]

Fail to build latest drivers

Fail to build latest drivers

Postby bolzerrr » Mon Jun 01, 2020 6:52 am

Hi,

i fail to build the latest drivers:

Code: Select All Code
 Building modules, stage 2.
  MODPOST 725 modules
ERROR: "__devm_regmap_init_sccb" [/home/user/TBS/media_build/v4l/ov9650.ko] undefined!
make[4]: *** [/usr/src/linux-headers-5.3.0-0.bpo.2-common/scripts/Makefile.modpost:103: modules-modpost] Error 1
make[3]: *** [/usr/src/linux-headers-5.3.0-0.bpo.2-common/Makefile:1643: modules] Error 2
make[2]: *** [/usr/src/linux-headers-5.3.0-0.bpo.2-common/Makefile:179: sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.3.0-0.bpo.2-amd64'
make[1]: *** [Makefile:53: default] Error 2
make[1]: Leaving directory '/home/loot/TBS/media_build/v4l'
make: *** [Makefile:26: all] Error 2


Any advise?
I did like i did it several times before... (instructions from here: https://github.com/tbsdtv/linux_media/wiki). The offline drivers also don't install with a different error message

Thank you
bolzerrr
 
Posts: 34
Joined: Wed Nov 20, 2013 5:36 am

Re: Fail to build latest drivers

Postby bolzerrr » Tue Jun 02, 2020 2:54 am

Here is the offline drivers error:
CC [M] /home/user/TBS/offline/media_build/v4l/cx18-driver.o
/home/user/TBS/offline/media_build/v4l/ivtv-alsa-pcm.c:272:12: error: redefinition of 'snd_ivtv_pcm_ioctl'
static int snd_ivtv_pcm_ioctl(struct snd_pcm_substream *substream,
^~~~~~~~~~~~~~~~~~
/home/user/TBS/offline/media_build/v4l/ivtv-alsa-pcm.c:211:12: note: previous definition of 'snd_ivtv_pcm_ioctl' was here
static int snd_ivtv_pcm_ioctl(struct snd_pcm_substream *substream,
^~~~~~~~~~~~~~~~~~
/home/user/TBS/offline/media_build/v4l/ivtv-alsa-pcm.c:285:12: error: redefinition of 'snd_pcm_alloc_vmalloc_buffer'
static int snd_pcm_alloc_vmalloc_buffer(struct snd_pcm_substream *subs,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/user/TBS/offline/media_build/v4l/ivtv-alsa-pcm.c:224:12: note: previous definition of 'snd_pcm_alloc_vmalloc_buffer' was here
static int snd_pcm_alloc_vmalloc_buffer(struct snd_pcm_substream *subs,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/user/TBS/offline/media_build/v4l/ivtv-alsa-pcm.c:306:12: error: redefinition of 'snd_ivtv_pcm_hw_params'
static int snd_ivtv_pcm_hw_params(struct snd_pcm_substream *substream,
^~~~~~~~~~~~~~~~~~~~~~
/home/user/TBS/offline/media_build/v4l/ivtv-alsa-pcm.c:245:12: note: previous definition of 'snd_ivtv_pcm_hw_params' was here
static int snd_ivtv_pcm_hw_params(struct snd_pcm_substream *substream,
^~~~~~~~~~~~~~~~~~~~~~
/home/user/TBS/offline/media_build/v4l/ivtv-alsa-pcm.c:315:12: error: redefinition of 'snd_ivtv_pcm_hw_free'
static int snd_ivtv_pcm_hw_free(struct snd_pcm_substream *substream)
^~~~~~~~~~~~~~~~~~~~
/home/user/TBS/offline/media_build/v4l/ivtv-alsa-pcm.c:254:12: note: previous definition of 'snd_ivtv_pcm_hw_free' was here
static int snd_ivtv_pcm_hw_free(struct snd_pcm_substream *substream)
^~~~~~~~~~~~~~~~~~~~
/home/user/TBS/offline/media_build/v4l/ivtv-alsa-pcm.c:254:12: warning: 'snd_ivtv_pcm_hw_free' defined but not used [-Wunused-function]
/home/user/TBS/offline/media_build/v4l/ivtv-alsa-pcm.c:245:12: warning: 'snd_ivtv_pcm_hw_params' defined but not used [-Wunused-function]
static int snd_ivtv_pcm_hw_params(struct snd_pcm_substream *substream,
^~~~~~~~~~~~~~~~~~~~~~
/home/user/TBS/offline/media_build/v4l/ivtv-alsa-pcm.c:211:12: warning: 'snd_ivtv_pcm_ioctl' defined but not used [-Wunused-function]
static int snd_ivtv_pcm_ioctl(struct snd_pcm_substream *substream,
^~~~~~~~~~~~~~~~~~
make[4]: *** [/usr/src/linux-headers-5.3.0-0.bpo.2-common/scripts/Makefile.build:285: /home/user/TBS/offline/media_build/v4l/ivtv-alsa-pcm.o] Error 1
make[4]: *** Waiting for unfinished jobs....
CC [M] /home/user/TBS/offline/media_build/v4l/cx18-cards.o
/home/user/TBS/offline/media_build/v4l/ivtvfb.c:40:10: fatal error: asm/memtype.h: No such file or directory
#include <asm/memtype.h>
^~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-headers-5.3.0-0.bpo.2-common/scripts/Makefile.build:285: /home/user/TBS/offline/media_build/v4l/ivtvfb.o] Error 1
make[3]: *** [/usr/src/linux-headers-5.3.0-0.bpo.2-common/Makefile:1639: _module_/home/user/TBS/offline/media_build/v4l] Error 2
make[2]: *** [/usr/src/linux-headers-5.3.0-0.bpo.2-common/Makefile:179: sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.3.0-0.bpo.2-amd64'
make[1]: *** [Makefile:52: default] Error 2
make[1]: Leaving directory '/home/user/TBS/offline/media_build/v4l'
make: *** [Makefile:26: all] Error 2
bolzerrr
 
Posts: 34
Joined: Wed Nov 20, 2013 5:36 am

Re: Fail to build latest drivers

Postby steven » Wed Jun 03, 2020 5:35 pm

Hi SIr

Please have a try with this package :
# wget http://www.tbsdtv.com/download/document/linux/media_build-2020-05-22.tar.bz2
# sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/media/
#tar jxvf media_build-2020-05-22.tar.bz2
#cd media_build
#./install.sh
#reboot

Kind Regards

steven
steven
 
Posts: 2239
Joined: Fri Aug 06, 2010 3:23 pm

Re: Fail to build latest drivers

Postby bolzerrr » Thu Jun 04, 2020 3:51 pm

Thank you,

i was able to workaround by simply disabling the module: ov9650
bolzerrr
 
Posts: 34
Joined: Wed Nov 20, 2013 5:36 am

Re: Fail to build latest drivers

Postby jal » Tue Jul 07, 2020 3:32 pm

Looks like I have the same problem. It's also mentioned in this topic: viewtopic.php?f=87&t=25419&p=55596
I'm using kernel 5.7.7-200 in Fedora 32 on an x86-64

How do you disable a module in the build?
Thanks all
jal
 
Posts: 1
Joined: Mon Jul 06, 2020 5:18 pm

Re: Fail to build latest drivers

Postby steven » Tue Jul 07, 2020 3:38 pm

Hi jal

You can send email to our support we will help you with this

Thanks

kind Regards

steven
steven
 
Posts: 2239
Joined: Fri Aug 06, 2010 3:23 pm


Return to DVB-S2 Octa Tuner PCIe Card TBS6909

Who is online

Users browsing this forum: No registered users and 2 guests