[SOLVED] gcc version in system repo is not the same with kernel gcc version 12 May 2022, 05:00:24 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 errorCode: [Select]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 Last Edit: 12 May 2022, 12:30:26 by hein
Re: gcc version in system repo is not the same with kernel gcc version Reply #1 – 12 May 2022, 12:28:17 I have received the update and it is solved now. Thanks.