Score:1

Failed to run `/usr/sbin/dkms build -m nvidia -v 450.80.02 -k 5.4.0-74-generic`:

ru flag
sam

I tried to install NVIDIA using

 sudo sh NVIDIA-Linux-x86_64-450.80.02.run

i got

enter image description here

The major and minor number of the compiler used to
compile the kernel:

gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)

YMLINK /var/lib/dkms/nvidia/450.80.02/build/nvidia/nv-kernel.o
/var/lib/dkms/nvidia/450.80.02/build/Kbuild:196: recipe for target 'cc_version_check' failed
Karlom avatar
de flag
Myabe you are missing gcc compilers. Try this first `sudo apt install build-essential`. Also Try `bash` instead of `sh`.
user.dz avatar
ng flag
Beside Karlom comment, confirm if DKMS is installed too: `sudo apt install dkms` then try again with the driver installation.
sam avatar
ru flag
sam
i tried to reinstall gcc and problem fixed
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.