Ask Your Question
1

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: https://www.if-not-true-then-false.co...

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

https://i.imgur.com/5UZ6Cmi.jpg https://i.imgur.com/Sgfm4ng.jpg

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
0

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

Stats

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

Seen: 258 times

Last updated: Feb 05 '18