Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] gcc version in system repo is not the same with kernel gcc version (Read 513 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[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
Code: [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

Re: gcc version in system repo is not the same with kernel gcc version

Reply #1
I have received the update and it is solved now. Thanks.