tuxedocomputers / tuxedo-keyboard

This repository will no longer get any updates as the code here is now part of tuxedo-drivers https://gitlab.com/tuxedocomputers/development/packages/tuxedo-drivers.
https://gitlab.com/tuxedocomputers/development/packages/tuxedo-drivers
GNU General Public License v3.0
299 stars 93 forks source link

make fails on kernel 6.2 #178

Closed bserret closed 11 months ago

bserret commented 1 year ago

/tmp/tuxedo-keyboard$ make clean& make [1] 12423 make -C /lib/modules/6.2.0-20-generic/build M=/tmp/tuxedo-keyboard clean make -C /lib/modules/6.2.0-20-generic/build M=/tmp/tuxedo-keyboard modules make[1]: Entering directory '/usr/src/linux-headers-6.2.0-20-generic' make[1]: Entering directory '/usr/src/linux-headers-6.2.0-20-generic' make[1]: Leaving directory '/usr/src/linux-headers-6.2.0-20-generic' 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.2.0-17ubuntu1) 12.2.0 You are using: gcc-12 (Ubuntu 12.2.0-17ubuntu1) 12.2.0 CC [M] /tmp/tuxedo-keyboard/./src/tuxedo_keyboard.o CC [M] /tmp/tuxedo-keyboard/./src/clevo_wmi.o CC [M] /tmp/tuxedo-keyboard/./src/clevo_acpi.o /tmp/tuxedo-keyboard/./src/clevo_acpi.c:183:27: error: initialization of ‘void ()(struct acpi_device )’ from incompatible pointer type ‘int ()(struct acpi_device )’ [-Werror=incompatible-pointer-types] 183 | .remove = clevo_acpi_remove, | ^~~~~ /tmp/tuxedo-keyboard/./src/clevo_acpi.c:183:27: note: (near initialization for ‘clevo_acpi_driver.ops.remove’) cc1: some warnings being treated as errors make[2]: [scripts/Makefile.build:260: /tmp/tuxedo-keyboard/./src/clevo_acpi.o] Error 1 make[1]: [Makefile:2026: /tmp/tuxedo-keyboard] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-6.2.0-20-generic' make: *** [Makefile:29: all] Error 2 [1]+ Done make clean

sdlarsen commented 1 year ago

This is fixed from 3.1.4, see https://bugs.gentoo.org/895786

tuxedo-bot commented 11 months ago

This repository will no longer get any updates as the code here is now part of tuxedo-drivers https://gitlab.com/tuxedocomputers/development/packages/tuxedo-drivers.

Please open a merge request or issue in the new project on GitLab if you contribution or bug report still applies.