u/Imperium2099

Can't Install GCC Adaptor Overclock (Linux)

Can't Install GCC Adaptor Overclock (Linux)

I'm trying to install a kernel module to overclock my gamecube controller adapter, but running make just returns this error

make -C "/lib/modules/6.12.86+deb13-amd64/build" M="/home/imperium2099/gcadapter-oc-kmod" modules
make[1]: Entering directory '/usr/lib/modules/6.12.86+deb13-amd64/build'
warning: the compiler differs from the one used to build the kernel
 The kernel was built by: x86_64-linux-gnu-gcc-14 (Debian 14.2.0-19) 14.2.0
 You are using:           gcc (Debian 14.2.0-19) 14.2.0
 CC [M]  /home/imperium2099/gcadapter-oc-kmod/gcadapter_oc.o
In file included from <command-line>:
/usr/src/linux-headers-6.12.86+deb13-common/include/linux/kconfig.h:5:10: fatal error: generated/autoconf.h: No such file or directory
   5 | #include <generated/autoconf.h>
|          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [/usr/src/linux-headers-6.12.86+deb13-common/scripts/Makefile.build:234: /home/imperium2099/gcadapter-oc-kmod/gcadapter_oc.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.12.86+deb13-common/Makefile:1981: /home/imperium2099/gcadapter-oc-kmod] Error 2
make[1]: *** [/usr/src/linux-headers-6.12.86+deb13-common/Makefile:236: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.12.86+deb13-amd64/build'
make: *** [Makefile:6: all] Error 2

This is the original project: https://github.com/HannesMann/gcadapter-oc-kmod

u/Imperium2099 — 8 days ago