Ask Your Question

Error on compiling Nvidia driver on Fedora 27

asked 2018-02-04 22:18:07 -0600

mariojuniorjp gravatar image

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!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-02-05 12:20:42 -0600

SteveEbey73701 gravatar image

updated 2018-02-05 12:27:11 -0600

sudo dnf --enablerepo=updates-testing upgrade gcc-c++

should fix it, and you can just reinstall the driver, with dkms and everything should work then.

edit flag offensive delete link more

Question Tools


Asked: 2018-02-04 22:18:07 -0600

Seen: 258 times

Last updated: Feb 05 '18