[root@fc28 saa716x]# make
make -C /lib/modules/4.16.3-300.fc28.x86_64/build -I/usr/include/linux M=/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x modules
make[1]: Entering directory '/usr/src/kernels/4.16.3-300.fc28.x86_64'
CC [M] /usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_hybrid.o
/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_hybrid.o: warning: objtool: saa716x_averh88_frontend_attach()+0x12: sibling call from callable instruction with modified stack frame
/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_hybrid.o: warning: objtool: saa716x_averhc82_frontend_attach()+0x12: sibling call from callable instruction with modified stack frame
/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_hybrid.o: warning: objtool: saa716x_vp6090_frontend_attach()+0x1b: sibling call from callable instruction with modified stack frame
/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_hybrid.o: warning: objtool: saa716x_nemo_frontend_attach()+0x1e: sibling call from callable instruction with modified stack frame
/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_hybrid.o: warning: objtool: saa716x_atlantis_frontend_attach()+0x161: sibling call from callable instruction with modified stack frame
/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_hybrid.o: warning: objtool: saa716x_hybrid_pci_probe()+0x26: sibling call from callable instruction with modified stack frame
/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_hybrid.o: warning: objtool: demux_worker()+0x92: sibling call from callable instruction with modified stack frame
/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_hybrid.o: warning: objtool: saa716x_hybrid_pci_irq()+0x10: sibling call from callable instruction with modified stack frame
/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_hybrid.o: warning: objtool: demux_worker.cold.11()+0x16: sibling call from callable instruction with modified stack frame
CC [M] /usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_ff_main.o
In file included from /usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_ff_main.c:46:
/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_ff_cmd.h:6:7: error: unknown type name 'osd_raw_cmd_t'; did you mean 'osd_cmd_t'?
osd_raw_cmd_t * cmd);
^~~~~~~~~~~~~
osd_cmd_t
/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_ff_cmd.h:8:11: error: unknown type name 'osd_raw_cmd_t'; did you mean 'osd_cmd_t'?
osd_raw_cmd_t * cmd);
^~~~~~~~~~~~~
osd_cmd_t
/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_ff_cmd.h:10:8: error: unknown type name 'osd_raw_data_t'; did you mean 'sk_buff_data_t'?
osd_raw_data_t * data);
^~~~~~~~~~~~~~
sk_buff_data_t
/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_ff_main.c: In function 'dvb_osd_ioctl':
/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_ff_main.c:347:13: error: 'OSD_RAW_CMD' undeclared (first use in this function); did you mean 'OSD_SEND_CMD'?
if (cmd == OSD_RAW_CMD) {
^~~~~~~~~~~
OSD_SEND_CMD
/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_ff_main.c:347:13: note: each undeclared identifier is reported only once for each function it appears in
/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_ff_main.c:348:3: error: unknown type name 'osd_raw_cmd_t'; did you mean 'osd_cmd_t'?
osd_raw_cmd_t raw_cmd;
^~~~~~~~~~~~~
osd_cmd_t
/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_ff_main.c:356:49: error: request for member 'cmd_data' in something not a structure or union
if (copy_from_user(hdr, (void __user *)raw_cmd.cmd_data, 4))
^
/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_ff_main.c:360:10: error: implicit declaration of function 'sti7109_raw_osd_cmd' [-Werror=implicit-function-declaration]
err = sti7109_raw_osd_cmd(sti7109, &raw_cmd);
^~~~~~~~~~~~~~~~~~~
/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_ff_main.c:362:10: error: implicit declaration of function 'sti7109_raw_cmd'; did you mean 'sti7109_cmd_init'? [-Werror=implicit-function-declaration]
err = sti7109_raw_cmd(sti7109, &raw_cmd);
^~~~~~~~~~~~~~~
sti7109_cmd_init
/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_ff_main.c:370:18: error: 'OSD_RAW_DATA' undeclared (first use in this function); did you mean 'TCA_STAB_DATA'?
else if (cmd == OSD_RAW_DATA) {
^~~~~~~~~~~~
TCA_STAB_DATA
/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_ff_main.c:371:3: error: unknown type name 'osd_raw_data_t'; did you mean 'sk_buff_data_t'?
osd_raw_data_t raw_data;
^~~~~~~~~~~~~~
sk_buff_data_t
/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_ff_main.c:378:9: error: implicit declaration of function 'sti7109_raw_data'; did you mean 'sti7109_cmd_init'? [-Werror=implicit-function-declaration]
err = sti7109_raw_data(sti7109, &raw_data);
^~~~~~~~~~~~~~~~
sti7109_cmd_init
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:325: /usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x/saa716x_ff_main.o] Error 1
make[1]: *** [Makefile:1565: _module_/usr/local/src/powARman-v4l-dvb-saa716x-3b9fce66666a/linux/drivers/media/common/saa716x] Error 2
make[1]: Leaving directory '/usr/src/kernels/4.16.3-300.fc28.x86_64'
make: *** [Makefile:38: default] Error 2