This is the error I am getting:
- Code: Select All Code
CC [M] /usr/local/src/tbsdriver/media_build/v4l/bttv-risc.o
CC [M] /usr/local/src/tbsdriver/media_build/v4l/bttv-vbi.o
CC [M] /usr/local/src/tbsdriver/media_build/v4l/bttv-i2c.o
In file included from /usr/local/src/tbsdriver/media_build/v4l/../linux/include/media/videobuf2-dvb.h:4:0,
from /usr/local/src/tbsdriver/media_build/v4l/cx88.h:34,
from /usr/local/src/tbsdriver/media_build/v4l/cx88-dvb.c:32:
/usr/local/src/tbsdriver/media_build/v4l/cx88-dvb.c: In function 'dvb_register':
/usr/local/src/tbsdriver/media_build/v4l/cx88-dvb.c:1565:50: error: passing argument 1 of '__a' from incompatible pointer type [-Werror=incompatible-pointer-types]
fe0->dvb.frontend = dvb_attach(tas2101_attach, &tbs8922_demod_cfg, &core->i2c_adap);
^
/usr/local/src/tbsdriver/media_build/v4l/dvbdev.h:279:22: note: in definition of macro 'dvb_attach'
__r = (void *) __a(ARGS); \
^
/usr/local/src/tbsdriver/media_build/v4l/cx88-dvb.c:1565:50: note: expected 'const struct tas2101_config *' but argument is of type 'struct tas2101_config (*)[1]'
fe0->dvb.frontend = dvb_attach(tas2101_attach, &tbs8922_demod_cfg, &core->i2c_adap);
^
/usr/local/src/tbsdriver/media_build/v4l/dvbdev.h:279:22: note: in definition of macro 'dvb_attach'
__r = (void *) __a(ARGS); \
^
CC [M] /usr/local/src/tbsdriver/media_build/v4l/bttv-gpio.o
CC [M] /usr/local/src/tbsdriver/media_build/v4l/bttv-input.o
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.6.0-1-common/scripts/Makefile.build:302: recipe for target '/usr/local/src/tbsdriver/media_build/v4l/cx88-dvb.o' failed
make[5]: *** [/usr/local/src/tbsdriver/media_build/v4l/cx88-dvb.o] Error 1
make[5]: *** Waiting for unfinished jobs....
CC [M] /usr/local/src/tbsdriver/media_build/v4l/bttv-audio-hook.o
/usr/src/linux-headers-4.6.0-1-common/Makefile:1446: recipe for target '_module_/usr/local/src/tbsdriver/media_build/v4l' failed
make[4]: *** [_module_/usr/local/src/tbsdriver/media_build/v4l] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[3]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.6.0-1-amd64'
Makefile:51: recipe for target 'default' failed
make[1]: *** [default] Error 2
make[1]: Leaving directory '/usr/local/src/tbsdriver/media_build/v4l'
Makefile:26: recipe for target 'all' failed
make: *** [all] Error 2