Page 1 of 1

Kernel 3.10.24 & tbs module compile errors

PostPosted: Mon Dec 23, 2013 4:20 am
by brutus2675
I ran through the full process of downloading a driver update (Sept 2013), distclean etc
but when I ran 'make' it stopped with the following error messages:

In file included from /home/thelma/Programs/tb/linux-tbs-drivers/v4l/saa716x_tbs.c:77:0:
/home/thelma/Programs/tb/linux-tbs-drivers/v4l/tbs6982se.h:30:1: error: expected identifier or '(' before '{' token
/home/thelma/Programs/tb/linux-tbs-drivers/v4l/tbs6982se.h:27:36: warning: 'tbs6982se_attach' used but never defined [enabled by default]
make[3]: *** [/home/thelma/Programs/tb/linux-tbs-drivers/v4l/saa716x_tbs.o] Error 1
make[2]: *** [_module_/home/thelma/Programs/tb/linux-tbs-drivers/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-3.10.24-desktop-2.mga3'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/thelma/Programs/tb/linux-tbs-drivers/v4l'
make: *** [all] Error 2

Recommendations would be very welcome.

Re: Kernel 3.10.24 & tbs module compile errors

PostPosted: Mon Dec 23, 2013 7:00 am
by updatelee
get rid of the semi colon at the end of line 29 or remove line 30-33 or just enable the driver in make menuconfig

UDL

Re: Kernel 3.10.24 & tbs module compile errors

PostPosted: Mon Dec 23, 2013 11:21 pm
by brutus2675
I took the easy option and removed the semiclon.
That seemed to solve the compilation problem. Thank you.
Although the module(s) appear to be in pl.ace, the TV functions do not work.

kaffeine (for example) reports:
no device found

mythtv on the other hand returns:
all tuners are currently busy.

?

Re: Kernel 3.10.24 & tbs module compile errors

PostPosted: Tue Dec 24, 2013 12:17 am
by updatelee
post a copy of lsmod, dmesg, and uname -a

UDL

Re: Kernel 3.10.24 & tbs module compile errors

PostPosted: Tue Dec 24, 2013 1:13 am
by brutus2675
I appreciate the immediate reply!

uname.log
lsmod.log
dmesg.log

all attached.

Thank you,

Re: Kernel 3.10.24 & tbs module compile errors

PostPosted: Tue Dec 24, 2013 3:42 am
by updatelee
attachments didnt work, I just see the names of the files.

try pastebin.com

UDL

Re: Kernel 3.10.24 & tbs module compile errors

PostPosted: Tue Dec 24, 2013 4:38 am
by brutus2675
Pastebin is new to me so I hope this works:

http://pastebin.com/0SFXgx71

Re: Kernel 3.10.24 & tbs module compile errors

PostPosted: Tue Dec 24, 2013 5:52 am
by updatelee
Code: Select All Code
[    7.605991] saa716x_tbs_dvb: disagrees about version of symbol ir_raw_event_handle
[    7.605994] saa716x_tbs_dvb: Unknown symbol ir_raw_event_handle (err -22)
[    7.606045] saa716x_tbs_dvb: disagrees about version of symbol rc_register_device
[    7.606047] saa716x_tbs_dvb: Unknown symbol rc_register_device (err -22)
[    7.606051] saa716x_tbs_dvb: disagrees about version of symbol ir_raw_event_store_edge
[    7.606052] saa716x_tbs_dvb: Unknown symbol ir_raw_event_store_edge (err -22)
[    7.606060] saa716x_tbs_dvb: disagrees about version of symbol rc_free_device
[    7.606061] saa716x_tbs_dvb: Unknown symbol rc_free_device (err -22)
[    7.606069] saa716x_tbs_dvb: disagrees about version of symbol rc_allocate_device
[    7.606070] saa716x_tbs_dvb: Unknown symbol rc_allocate_device (err -22)
[    7.606093] saa716x_tbs_dvb: disagrees about version of symbol rc_unregister_device
[    7.606094] saa716x_tbs_dvb: Unknown symbol rc_unregister_device (err -22)


here is the issue... "disagrees about version of symbol"

this means you still have some of your old modules installed and some of the new ones as well, the kernel cant tell which is which. delete the old ones then reinstall the new ones, then everything is new.

sudo rm -R /lib/modules/$(uname -r)/kernel/drivers/media
sudo make install
sudo reboot

this comes up enough it would be nice to see it in the README

UDL

Re: Kernel 3.10.24 & tbs module compile errors

PostPosted: Tue Dec 24, 2013 7:02 am
by brutus2675
Well that did it.

sudo rm -Rf /lib/modules/$(uname -r)/kernel/drivers/media

Would have speeded things up. :D

Thanks a lot. I will update my notes tomorrow!

Thanks again.