make
make -C /lib/modules/6.5.0-14-generic/build M=/home/stepan/git/sc0710 modules
make[1]: Entering directory '/usr/src/linux-headers-6.5.0-14-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
You are using: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
CC [M] /home/stepan/git/sc0710/sc0710-cards.o
CC [M] /home/stepan/git/sc0710/sc0710-core.o
CC [M] /home/stepan/git/sc0710/sc0710-i2c.o
/home/stepan/git/sc0710/sc0710-i2c.c: In function ‘sc0710_i2c_read_hdmi_status’:
/home/stepan/git/sc0710/sc0710-i2c.c:177:13: warning: unused variable ‘i’ [-Wunused-variable]
177 | int i;
| ^
CC [M] /home/stepan/git/sc0710/sc0710-dma-channel.o
CC [M] /home/stepan/git/sc0710/sc0710-dma-channels.o
CC [M] /home/stepan/git/sc0710/sc0710-dma-chains.o
CC [M] /home/stepan/git/sc0710/sc0710-dma-chain.o
CC [M] /home/stepan/git/sc0710/sc0710-things-per-second.o
CC [M] /home/stepan/git/sc0710/sc0710-video.o
CC [M] /home/stepan/git/sc0710/sc0710-audio.o
LD [M] /home/stepan/git/sc0710/sc0710.o
MODPOST /home/stepan/git/sc0710/Module.symvers
ERROR: modpost: "videobuf_to_vmalloc" [/home/stepan/git/sc0710/sc0710.ko] undefined!
ERROR: modpost: "videobuf_vmalloc_free" [/home/stepan/git/sc0710/sc0710.ko] undefined!
ERROR: modpost: "videobuf_queue_vmalloc_init" [/home/stepan/git/sc0710/sc0710.ko] undefined!
make[3]: *** [scripts/Makefile.modpost:144: /home/stepan/git/sc0710/Module.symvers] Error 1
make[2]: *** [/usr/src/linux-headers-6.5.0-14-generic/Makefile:1989: modpost] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-14-generic'
make: *** [Makefile:14: all] Error 2
Running Ubuntu 23.10 I get: