:: [DNG] Compiler differs from the one…
Forside
Slet denne besked
Besvar denne besked
Skribent: Lars Noodén
Dato:  
Til: dng
Emne: [DNG] Compiler differs from the one used to build the kernel
When trying to build some DKMS modules manually, I run into the
following fatal error when running 'make'

  warning: the compiler differs from the one used to build the kernel
    The kernel was built by: gcc-11 (Debian 11.2.0-20) 11.2.0
    You are using:           gcc-11 (Debian 11.3.0-1) 11.3.0


What kind of flag I can pass to 'make' or a setting I can change in the
Makefile to ignore the error and steam ahead? Or what other solutions
or work-arounds exist?

Thanks,
Lars

PS. This is on Devuan GNU/Linux 5 (daedalus/ceres) and furthermore, I
am not sure where 'make' is getting gcc 11.3.0-1 from:

$ apt-cache policy gcc
gcc:
   Installed: 4:11.2.0-2
   Candidate: 4:11.2.0-2
   Version table:
  *** 4:11.2.0-2 500
         500 http://deb.devuan.org/merged daedalus/main amd64 Packages
         100 /var/lib/dpkg/status