Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Compiler version mismatch when compiling Nvidia module

Need help with peripherals or devices?
Post Reply
Message
Author
imrazor
Posts: 23
Joined: 2012-08-12 04:08

Compiler version mismatch when compiling Nvidia module

#1 Post by imrazor »

When I try to compile the latest Nvidia driver, it complains that the kernel was compiled with gcc version 7.3 but the currently installed compiler is cc version 8.2. I have no idea how this happened. I did install build-essential from the default Debian testing repo, but AFAIK did not deliberately install version 8.2.

While it is possible to build the module with an older version via the CC environment variable, when I try to 'apt-get install gcc-7-x86-64-linux-gnu', apt states that it will uninstall libwine, wayland and other important libraries. Is there any way to resolve this? Why was the kernel compiled with gcc 7.3 when 8.2 is apparently the default?

Post Reply