You have been subscribed to a public bug: The same as this issue https://bugs.launchpad.net/ubuntu/+source/gcc- defaults/+bug/1608753 but on 18.04
relevant output from /var/lib/dkms/nvidia/440.33.01/build/make.log: Compiler version check failed: The major and minor number of the compiler used to compile the kernel: gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1) does not match the compiler used here: cc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. It is recommended to set the CC environment variable to the compiler that was used to compile the kernel. The compiler version check can be disabled by setting the IGNORE_CC_MISMATCH environment variable to "1". However, mixing compiler versions between the kernel and kernel modules can result in subtle bugs that are difficult to diagnose. *** Failed CC version check. Bailing out! *** ** Affects: linux (Ubuntu) Importance: Undecided Status: Confirmed ** Tags: rls-bb-incoming -- Cannot build nvidia driver via dkms because compiler doesn't match kernel https://bugs.launchpad.net/bugs/1868169 You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp