Page 1 of 1

source does not compile on opensuse 15.0

PostPosted: Mon Jan 13, 2020 3:19 am
by due40
kernel : 4.12.14-lp150.12.82-vanilla

make starts, but breaks on an error, see below.
please help ??


CC [M] /data1/tbsv151229/linux-tbs-sources/v4l/saa7146_video.o
CC [M] /data1/tbsv151229/linux-tbs-sources/v4l/saa7146_hlp.o
CC [M] /data1/tbsv151229/linux-tbs-sources/v4l/saa7146_vbi.o
/data1/tbsv151229/linux-tbs-sources/v4l/saa7146_vbi.c: In function 'vbi_workaround':
/data1/tbsv151229/linux-tbs-sources/v4l/saa7146_vbi.c:117:6: error: implicit declaration of function 'signal_pending'; did you mean 'timer_pending'? [-Werror=implicit-function-declaration]
if(signal_pending(current)) {
^~~~~~~~~~~~~~
timer_pending
cc1: some warnings being treated as errors
make[5]: *** [/usr/src/linux-4.12.14-lp150.12.82-vanilla/scripts/Makefile.build:303: /data1/tbsv151229/linux-tbs-sources/v4l/saa7146_vbi.o] Error 1
make[4]: *** [/usr/src/linux-4.12.14-lp150.12.82-vanilla/Makefile:1515: _module_/data1/tbsv151229/linux-tbs-sources/v4l] Error 2
make[3]: *** [Makefile:152: sub-make] Error 2
make[2]: *** [Makefile:24: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-4.12.14-lp150.12.82-obj/x86_64/vanilla'
make[1]: *** [Makefile:52: default] Error 2
make[1]: Leaving directory '/data1/tbsv151229/linux-tbs-sources/v4l'
make: *** [Makefile:26: all] Error 2
4.12.14-lp150.12.82-vanilla:vmhost1.fritz.box:/data1/tbsv151229/linux-tbs-sources

Re: source does not compile on opensuse 15.0

PostPosted: Mon Jan 13, 2020 10:34 am
by steven
Hi Sir

For opensuse please use this package :
#wget http://www.tbsdtv.com/download/document/linux/opensuse/media_build-2018-0703-opensuse4.12.14-197.18.tar.bz2
# sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/media/
#tar jxvf media_build-2018-0703-opensuse4.12.14-197.18.tar.bz2
#cd media_build
#./install.sh
#reboot

Thanks

Kind Regards

steven