Moderator Control Panel ]

Kernel 3.10.24 & tbs module compile errors

Kernel 3.10.24 & tbs module compile errors

Postby brutus2675 » Mon Dec 23, 2013 4:20 am

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.
brutus2675
 
Posts: 22
Joined: Tue May 28, 2013 5:19 am

Re: Kernel 3.10.24 & tbs module compile errors

Postby updatelee » Mon Dec 23, 2013 7:00 am

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
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: Kernel 3.10.24 & tbs module compile errors

Postby brutus2675 » Mon Dec 23, 2013 11:21 pm

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.

?
brutus2675
 
Posts: 22
Joined: Tue May 28, 2013 5:19 am

Re: Kernel 3.10.24 & tbs module compile errors

Postby updatelee » Tue Dec 24, 2013 12:17 am

post a copy of lsmod, dmesg, and uname -a

UDL
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: Kernel 3.10.24 & tbs module compile errors

Postby brutus2675 » Tue Dec 24, 2013 1:13 am

I appreciate the immediate reply!

uname.log
lsmod.log
dmesg.log

all attached.

Thank you,
brutus2675
 
Posts: 22
Joined: Tue May 28, 2013 5:19 am

Re: Kernel 3.10.24 & tbs module compile errors

Postby updatelee » Tue Dec 24, 2013 3:42 am

attachments didnt work, I just see the names of the files.

try pastebin.com

UDL
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: Kernel 3.10.24 & tbs module compile errors

Postby brutus2675 » Tue Dec 24, 2013 4:38 am

Pastebin is new to me so I hope this works:

http://pastebin.com/0SFXgx71
brutus2675
 
Posts: 22
Joined: Tue May 28, 2013 5:19 am

Re: Kernel 3.10.24 & tbs module compile errors

Postby updatelee » Tue Dec 24, 2013 5:52 am

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
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: Kernel 3.10.24 & tbs module compile errors

Postby brutus2675 » Tue Dec 24, 2013 7:02 am

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.
brutus2675
 
Posts: 22
Joined: Tue May 28, 2013 5:19 am


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest