Moderator Control Panel ]

SOLVED : Linux TBS6221 driver not compile

SOLVED : Linux TBS6221 driver not compile

Postby vidarusny » Wed Nov 09, 2016 4:39 am

Hello

I try compile driver for TBS6221. I follow the instructions of the README file TBS62XY, but I've this complie error :
/home/dany/DVTB/linux-tbs-drivers/v4l/bt87x.c:1021:21: error: 'snd_bt87x_default_ids' undeclared (first use in this function)
driver.id_table = snd_bt87x_default_ids;
^~~~~~~~~~~~~~~~~~~~~
/home/dany/DVTB/linux-tbs-drivers/v4l/bt87x.c:1021:21: note: each undeclared identifier is reported only once for each function it appears in
In file included from /home/dany/DVTB/linux-tbs-drivers/v4l/bt87x.c:24:0:
/home/dany/DVTB/linux-tbs-drivers/v4l/bt87x.c: At top level:
./include/linux/module.h:213:27: error: '__mod_pci__snd_bt87x_ids_device_table' aliased to undefined symbol 'snd_bt87x_ids'
extern const typeof(name) __mod_##type##__##name##_device_table \
^
/home/dany/DVTB/linux-tbs-drivers/v4l/bt87x.c:842:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
MODULE_DEVICE_TABLE(pci, snd_bt87x_ids);
^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:289 : la recette pour la cible « /home/dany/DVTB/linux-tbs-drivers/v4l/bt87x.o » a échouée
make[3]: *** [/home/dany/DVTB/linux-tbs-drivers/v4l/bt87x.o] Erreur 1
Makefile:1489: recipe for target '_module_/home/dany/DVTB/linux-tbs-drivers/v4l' failed
make[2]: *** [_module_/home/dany/DVTB/linux-tbs-drivers/v4l] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.8.0-26-generic'


I'm on fresh install of XUBUNTU 16.10. (linux kernel 4.8.0-26).

anyone can help me?

Regards
Last edited by vidarusny on Tue Nov 22, 2016 5:30 am, edited 1 time in total.
vidarusny
 
Posts: 4
Joined: Sat Oct 15, 2016 7:58 am

Re: Linux TBS6221 driver not compile

Postby steven » Wed Nov 09, 2016 5:13 pm

Hi

Please try our latest driver :
http://www.tbsiptv.com/download/common/ ... 161031.zip

Thanks

Kind Regards

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

Re: Linux TBS6221 driver not compile

Postby vidarusny » Tue Nov 15, 2016 9:20 pm

Hi,


The last driver compile without problem, thank. But after reboot i have this :
dmesg | grep frontend
[ 2.571535] saa716x_core: disagrees about version of symbol dvb_frontend_detach
[ 2.571536] saa716x_core: Unknown symbol dvb_frontend_detach (err -22)
[ 2.571541] saa716x_core: disagrees about version of symbol dvb_unregister_frontend
[ 2.571541] saa716x_core: Unknown symbol dvb_unregister_frontend (err -22)
[ 2.571544] saa716x_core: disagrees about version of symbol dvb_register_frontend
[ 2.571544] saa716x_core: Unknown symbol dvb_register_frontend (err -22)

thanks for your help.

Regards
vidarusny
 
Posts: 4
Joined: Sat Oct 15, 2016 7:58 am

Re: Linux TBS6221 driver not compile

Postby vidarusny » Sat Nov 19, 2016 7:33 am

Hi

i try to recompile, i do:
make clean
./v4l/tbs-x86_64.sh
./v4l/tbs-dvbc-x86_64.sh
make -J4
As there were no compilation errors, i do :
sudo make install
there are no intallation errors...

but after reboot i always have :
[ 2.294228] saa716x_core: disagrees about version of symbol dvb_frontend_detach
[ 2.294228] saa716x_core: Unknown symbol dvb_frontend_detach (err -22)
[ 2.294234] saa716x_core: disagrees about version of symbol dvb_unregister_frontend
[ 2.294235] saa716x_core: Unknown symbol dvb_unregister_frontend (err -22)
[ 2.294237] saa716x_core: disagrees about version of symbol dvb_register_frontend
[ 2.294238] saa716x_core: Unknown symbol dvb_register_frontend (err -22)

uname -a :
Linux enr-H81M-HD3 4.8.0-27-generic #29-Ubuntu SMP Thu Oct 20 21:03:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

XUBUNTU 16.10

What can i do ? or Is it a driver problem?

please help

Regards.
vidarusny
 
Posts: 4
Joined: Sat Oct 15, 2016 7:58 am

Re: Linux TBS6221 driver not compile

Postby steven » Mon Nov 21, 2016 10:49 am

Hi

Check the driver package FAQ , you need to delete the media folder before install :

Q1. after the drivers are installed there are error messages like:

"disagrees about version of symbol..."

and/or

"Unknown symbol..."

on 'dmesg' output and no DVB devices are created.

A1: do the following:

# sudo rm -rf /lib/modules/<kernel_version>/kernel/drivers/media/

where "<kernel_version>" is replaced by the loaded kernel version
and then reinstall the drivers with doing "make install".

Thanks

Kind Regards

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

Re: Linux TBS6221 driver not compile

Postby vidarusny » Tue Nov 22, 2016 5:29 am

hi

It's ok thanks

Regards.
vidarusny
 
Posts: 4
Joined: Sat Oct 15, 2016 7:58 am


Return to Linux

Who is online

Users browsing this forum: No registered users and 0 guests