Hello,
I have a problem compiling the TBS driver.
mkdir tbsdriver
cd tbsdriver
git clone https://github.com/tbsdtv/media_build.git git clone --depth=1 https://github.com/tbsdtv/linux_media.git -b latest ./media
cd media_build make dir DIR=../media
make alliesconfig
make -j4 sudo
make install"
Indeed under Armbian (Linux rock-5b 5.10.72-rockchip-rk3588), warnings during compilation are blocking, unlike the Ubuntu system (where everything passes).
/home/marc/Prog/tbsdriver/media_build/v4l/av201x.c:232:22: warning: unused variable 'priv' [-Wunused-variable]
error, forbidden warning:av201x.c:232
232 | struct av201x_priv *priv = fe->tuner_priv;
| ^~~~
make[3]: *** [scripts/Makefile.build:273: /home/marc/Prog/tbsdriver/media_build/v4l/av201x.o] Error 1
I tried several options ex: -Wno-errors but none worked.
When I try to edit the file by commenting out the line, the system puts back the original file.
I've had this problem for two days.
Thanks for your help.
Sincerely Marc.