I can successfully build the TBS drivers for kernel 5.3, but not 5.10.
My environment:
- Card: TBS6902
Operating system: Debian 11 (Bullseye)
Linux kernel: 5.10.0-8-amd64
When I try the following commands:
- Code: Select All Code
mkdir /tmp/tbs
cd /tmp/tbs
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 allyesconfig
make -j4
I eventually get the following errors:
- Code: Select All Code
ERROR: modpost: "__devm_regmap_init_sccb" [/tmp/tbs/media_build/v4l/ov9650.ko] undefined!
ERROR: modpost: "__devm_regmap_init_sccb" [/tmp/tbs/media_build/v4l/ov772x.ko] undefined!
make[4]: *** [/usr/src/linux-headers-5.10.0-8-common/scripts/Makefile.modpost:124: /tmp/tbs/media_build/v4l/Module.symvers] Error 1
make[4]: *** Deleting file '/tmp/tbs/media_build/v4l/Module.symvers'
make[3]: *** [/usr/src/linux-headers-5.10.0-8-common/Makefile:1749: modules] Error 2
make[2]: *** [/usr/src/linux-headers-5.10.0-8-common/Makefile:185: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.10.0-8-amd64'
make[1]: *** [Makefile:53: default] Error 2
make[1]: Leaving directory '/tmp/tbs/media_build/v4l'
make: *** [Makefile:26: all] Error 2
Any advice?
Thanks,
Chaslington.