I am hoping someone can help me....
I am trying to install the drivers for the 5922 and 5922SE usb boxes onto Xubuntu 18.04. I have previously had both running on 14.04, but the install now fails with the following message:
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-34-generic'
CC [M] /root/tbs/linux-tbs-drivers/v4l/saa7146_video.o
/root/tbs/linux-tbs-drivers/v4l/saa7146_video.c: In function 'video_init':
/root/tbs/linux-tbs-drivers/v4l/saa7146_video.c:1307:2: error: implicit declaration of function 'init_timer'; did you mean 'init_timers'? [-Werror=implicit-function-declaration]
init_timer(&vv->video_q.timeout);
^~~~~~~~~~
init_timers
/root/tbs/linux-tbs-drivers/v4l/saa7146_video.c:1308:31: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
vv->video_q.timeout.function = saa7146_buffer_timeout;
^
/root/tbs/linux-tbs-drivers/v4l/saa7146_video.c:1309:21: error: 'struct timer_list' has no member named 'data'
vv->video_q.timeout.data = (unsigned long)(&vv->video_q);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/root/tbs/linux-tbs-drivers/v4l/saa7146_video.o' failed
make[3]: *** [/root/tbs/linux-tbs-drivers/v4l/saa7146_video.o] Error 1
Makefile:1552: recipe for target '_module_/root/tbs/linux-tbs-drivers/v4l' failed
make[2]: *** [_module_/root/tbs/linux-tbs-drivers/v4l] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-34-generic'
Makefile:51: recipe for target 'default' failed
make[1]: *** [default] Error 2
make[1]: Leaving directory '/root/tbs/linux-tbs-drivers/v4l'
Makefile:26: recipe for target 'all' failed
make: *** [all] Error 2
rob@myth:/root/tbs/linux-tbs-drivers$
Kernal veresion: rob@myth:/root/tbs/linux-tbs-drivers$ uname -r
4.15.0-34-generic
Driver version 170330
Thanks, Rob