Moderator Control Panel ]

Drriver compile problems on OpenSuse 15.4

Drriver compile problems on OpenSuse 15.4

Postby AndersG » Thu Apr 06, 2023 10:58 pm

I upgraded as tthe previous 15.2 was out of support. Drivers did not load when I restarted so I tried building them again and got:


CC [M] /usr/src/media_build/v4l/bttv-input.o
CC [M] /usr/src/media_build/v4l/bttv-audio-hook.o
/usr/src/media_build/v4l/bttv-gpio.c:64:12: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.remove = bttv_sub_remove,
^~~~~~~~~~~~~~~
/usr/src/media_build/v4l/bttv-gpio.c:64:12: note: (near initialization for 'bttv_sub_bus_type.remove')
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-5.14.21-150400.24.55/scripts/Makefile.build:272: /usr/src/media_build/v4l/bttv-gpio.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/usr/src/linux-5.14.21-150400.24.55/Makefile:1888: /usr/src/media_build/v4l] Error 2
make[2]: *** [../../../linux-5.14.21-150400.24.55/Makefile:220: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-5.14.21-150400.24.55-obj/x86_64/default'
make[1]: *** [Makefile:53: default] Error 2
make[1]: Leaving directory '/usr/src/media_build/v4l'
make: *** [Makefile:26: all] Error 2
tvburk:/usr/src/media_build # ^C
tvburk:/usr/src/media_build # uname -a
Linux tvburk 5.14.21-150400.24.55-default #1 SMP PREEMPT_DYNAMIC Mon Mar 27 15:25:48 UTC 2023 (cc75cf8) x86_64 x86_64 x86_64 GNU/Linux
tvburk:/usr/src/media_build #

I found an old message that said to mail tbssupport@tbsdtv.com but that did not work. Any ideas?
AndersG
 
Posts: 6
Joined: Tue Jan 10, 2023 8:20 pm

Re: Drriver compile problems on OpenSuse 15.4

Postby AndersG » Fri Apr 07, 2023 12:54 am

The function returns an int where it should be a void or vice versa. You need to go into backports.txt in backports, under media_build and rem out one tiny line:

[5.14.1023]
#add v5.14_bus_void_return.patch

The way I have had it explained for me is that SuSe has stuff from newer kernels included and thus backports that would be needed on other distros will break things.

The problem is as always to figure out what backport to remove. Not always trivial.
AndersG
 
Posts: 6
Joined: Tue Jan 10, 2023 8:20 pm


Return to PCIe DVB-T2/T/C Dual Tuner Card TBS6281SE

Who is online

Users browsing this forum: No registered users and 1 guest