[SOLVED] gcc version in system repo is not the same with kernel gcc version
gcc version in system repo is 11.2.0 and the kernel 5.15.38-1 linux-lts version is compiled with gcc 12.1.0. As they are not the same version, dkms is having errors. Here is the error
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (GCC) 12.1.0
You are using: gcc (GCC) 11.2.0