sudo make make -C /lib/modules/6.5.0-15-generic/build KBUILD_EXTMOD=/usr/src/dddvb-0.9.38 CONFIG_DVB_CORE=m CONFIG_DVB_DDBRIDGE=m CONFIG_DVB_DRXK=m CONFIG_DVB_TDA18271C2DD=m CONFIG_DVB_CXD2099=m CONFIG_DVB_LNBP21=m CONFIG_DVB_STV090x=m CONFIG_DVB_STV6110x=m CONFIG_DVB_STV0367=m CONFIG_DVB_TDA18212=m CONFIG_DVB_STV0367DD=m CONFIG_DVB_TDA18212DD=m CONFIG_DVB_OCTONET=m CONFIG_DVB_CXD2843=m CONFIG_DVB_STV0910=m CONFIG_DVB_STV6111=m CONFIG_DVB_LNBH25=m CONFIG_DVB_MXL5XX=m CONFIG_DVB_NET=y DDDVB=y modules NOSTDINC_FLAGS="--include=/usr/src/dddvb-0.9.38/include/dd_compat.h -I/usr/src/dddvb-0.9.38/frontends -I/usr/src/dddvb-0.9.38/include -I/usr/src/dddvb-0.9.38/include/linux" make[1]: Verzeichnis „/usr/src/linux-headers-6.5.0-15-generic“ wird betreten warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 CC [M] /usr/src/dddvb-0.9.38/dvb-core/dvbdev.o In file included from ./include/linux/linkage.h:7, from ./include/linux/printk.h:8, from ./include/asm-generic/bug.h:22, from ./arch/x86/include/asm/bug.h:87, from ./include/linux/bug.h:5, from ./include/linux/fortify-string.h:5, from ./include/linux/string.h:254, from /usr/src/dddvb-0.9.38/dvb-core/dvbdev.c:24: /usr/src/dddvb-0.9.38/dvb-core/dvbdev.c: In function ‘init_dvbdev’: ./include/linux/export.h:29:22: error: passing argument 1 of ‘class_create’ from incompatible pointer type [-Werror=incompatible-pointer-types] 29 | #define THIS_MODULE (&__this_module) | ~^~~~~~~~~~~~~~~ | | | struct module * /usr/src/dddvb-0.9.38/dvb-core/dvbdev.c:1079:34: note: in expansion of macro ‘THIS_MODULE’ 1079 | dvb_class = class_create(THIS_MODULE, "dvb"); | ^~~~~~~~~~~ In file included from ./include/linux/device.h:31, from ./include/linux/acpi.h:14, from ./include/linux/i2c.h:13, from /usr/src/dddvb-0.9.38/dvb-core/dvbdev.c:27: ./include/linux/device/class.h:230:54: note: expected ‘const char *’ but argument is of type ‘struct module *’ 230 | struct class * __must_check class_create(const char *name); | ~~~~~~~~~~~~^~~~ /usr/src/dddvb-0.9.38/dvb-core/dvbdev.c:1079:21: error: too many arguments to function ‘class_create’ 1079 | dvb_class = class_create(THIS_MODULE, "dvb"); | ^~~~~~~~~~~~ ./include/linux/device/class.h:230:29: note: declared here 230 | struct class * __must_check class_create(const char *name); | ^~~~~~~~~~~~ /usr/src/dddvb-0.9.38/dvb-core/dvbdev.c:1084:31: error: assignment to ‘int (*)(const struct device *, struct kobj_uevent_env *)’ from incompatible pointer type ‘int (*)(struct device *, struct kobj_uevent_env *)’ [-Werror=incompatible-pointer-types] 1084 | dvb_class->dev_uevent = dvb_uevent; | ^ /usr/src/dddvb-0.9.38/dvb-core/dvbdev.c:1085:28: error: assignment to ‘char * (*)(const struct device *, umode_t *)’ {aka ‘char * (*)(const struct device *, short unsigned int *)’} from incompatible pointer type ‘char * (*)(struct device *, umode_t *)’ {aka ‘char * (*)(struct device *, short unsigned int *)’} [-Werror=incompatible-pointer-types] 1085 | dvb_class->devnode = dvb_devnode; | ^ cc1: some warnings being treated as errors make[4]: *** [scripts/Makefile.build:251: /usr/src/dddvb-0.9.38/dvb-core/dvbdev.o] Fehler 1 make[3]: *** [scripts/Makefile.build:488: /usr/src/dddvb-0.9.38/dvb-core] Fehler 2 make[2]: *** [/usr/src/linux-headers-6.5.0-15-generic/Makefile:2037: /usr/src/dddvb-0.9.38] Fehler 2 make[1]: *** [Makefile:234: __sub-make] Fehler 2 make[1]: Verzeichnis „/usr/src/linux-headers-6.5.0-15-generic“ wird verlassen make: *** [Makefile:17: all] Fehler 2 sudo make install make -C /lib/modules/6.5.0-15-generic/build KBUILD_EXTMOD=/usr/src/dddvb-0.9.38 CONFIG_DVB_CORE=m CONFIG_DVB_DDBRIDGE=m CONFIG_DVB_DRXK=m CONFIG_DVB_TDA18271C2DD=m CONFIG_DVB_CXD2099=m CONFIG_DVB_LNBP21=m CONFIG_DVB_STV090x=m CONFIG_DVB_STV6110x=m CONFIG_DVB_STV0367=m CONFIG_DVB_TDA18212=m CONFIG_DVB_STV0367DD=m CONFIG_DVB_TDA18212DD=m CONFIG_DVB_OCTONET=m CONFIG_DVB_CXD2843=m CONFIG_DVB_STV0910=m CONFIG_DVB_STV6111=m CONFIG_DVB_LNBH25=m CONFIG_DVB_MXL5XX=m CONFIG_DVB_NET=y DDDVB=y modules NOSTDINC_FLAGS="--include=/usr/src/dddvb-0.9.38/include/dd_compat.h -I/usr/src/dddvb-0.9.38/frontends -I/usr/src/dddvb-0.9.38/include -I/usr/src/dddvb-0.9.38/include/linux" make[1]: Verzeichnis „/usr/src/linux-headers-6.5.0-15-generic“ wird betreten warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 CC [M] /usr/src/dddvb-0.9.38/dvb-core/dvbdev.o In file included from ./include/linux/linkage.h:7, from ./include/linux/printk.h:8, from ./include/asm-generic/bug.h:22, from ./arch/x86/include/asm/bug.h:87, from ./include/linux/bug.h:5, from ./include/linux/fortify-string.h:5, from ./include/linux/string.h:254, from /usr/src/dddvb-0.9.38/dvb-core/dvbdev.c:24: /usr/src/dddvb-0.9.38/dvb-core/dvbdev.c: In function ‘init_dvbdev’: ./include/linux/export.h:29:22: error: passing argument 1 of ‘class_create’ from incompatible pointer type [-Werror=incompatible-pointer-types] 29 | #define THIS_MODULE (&__this_module) | ~^~~~~~~~~~~~~~~ | | | struct module * /usr/src/dddvb-0.9.38/dvb-core/dvbdev.c:1079:34: note: in expansion of macro ‘THIS_MODULE’ 1079 | dvb_class = class_create(THIS_MODULE, "dvb"); | ^~~~~~~~~~~ In file included from ./include/linux/device.h:31, from ./include/linux/acpi.h:14, from ./include/linux/i2c.h:13, from /usr/src/dddvb-0.9.38/dvb-core/dvbdev.c:27: ./include/linux/device/class.h:230:54: note: expected ‘const char *’ but argument is of type ‘struct module *’ 230 | struct class * __must_check class_create(const char *name); | ~~~~~~~~~~~~^~~~ /usr/src/dddvb-0.9.38/dvb-core/dvbdev.c:1079:21: error: too many arguments to function ‘class_create’ 1079 | dvb_class = class_create(THIS_MODULE, "dvb"); | ^~~~~~~~~~~~ ./include/linux/device/class.h:230:29: note: declared here 230 | struct class * __must_check class_create(const char *name); | ^~~~~~~~~~~~ /usr/src/dddvb-0.9.38/dvb-core/dvbdev.c:1084:31: error: assignment to ‘int (*)(const struct device *, struct kobj_uevent_env *)’ from incompatible pointer type ‘int (*)(struct device *, struct kobj_uevent_env *)’ [-Werror=incompatible-pointer-types] 1084 | dvb_class->dev_uevent = dvb_uevent; | ^ /usr/src/dddvb-0.9.38/dvb-core/dvbdev.c:1085:28: error: assignment to ‘char * (*)(const struct device *, umode_t *)’ {aka ‘char * (*)(const struct device *, short unsigned int *)’} from incompatible pointer type ‘char * (*)(struct device *, umode_t *)’ {aka ‘char * (*)(struct device *, short unsigned int *)’} [-Werror=incompatible-pointer-types] 1085 | dvb_class->devnode = dvb_devnode; | ^ cc1: some warnings being treated as errors make[4]: *** [scripts/Makefile.build:251: /usr/src/dddvb-0.9.38/dvb-core/dvbdev.o] Fehler 1 make[3]: *** [scripts/Makefile.build:488: /usr/src/dddvb-0.9.38/dvb-core] Fehler 2 make[2]: *** [/usr/src/linux-headers-6.5.0-15-generic/Makefile:2037: /usr/src/dddvb-0.9.38] Fehler 2 make[1]: *** [Makefile:234: __sub-make] Fehler 2 make[1]: Verzeichnis „/usr/src/linux-headers-6.5.0-15-generic“ wird verlassen make: *** [Makefile:17: all] Fehler 2