Ask Your Question

Revision history [back]

Error on compiling Nvidia driver on Fedora 27

Good evening, folks! How is going?

Could someone give me a little help?

I'm trying to install the NVIDIA driver via this tutorial:

I've done all the procedures, but when I run the installer and try to compile the modules with DKMS, I get this error:

I read the log and I know what the installer is recommending. What I want to know is how do I change the CC variable to the GCC version to which the kernel is compiled.

Thanks in advance!