Conftest failed error while trying to install nvidia-455 / 450 driver in debian


I am having trouble installing the LINUX X64 (AMD64/EM64T) DISPLAY DRIVER v455.45.01

I am attaching the make.log generated during the process. Its related to conftest failed problem reported by several users previously for different versions. This I observed even while trying to install the nvidia-current-450.80.02.

Kindly help.

I have GTX 1650 Nvidia card
debian 4.19.0-13-amd64 x86_64

make.log (79.1 KB)

I also tried using NVIDIA-Linux-x86_64-435.21
Here is the failed log.
nvidia-installer.log (627.8 KB)

Looks like a version mismatch between your current system compiler (gcc) and the gcc the kernel was compiled with.

my gcc version is 8.3.0
I also have gcc 7.4.0-6

can I know which one I need ?

Also, how can I make out from the log for this mismatch ?

Boot the kernel you’re building for (
then run
dmesg |head -n5
the topmost line should display the kernel version and the gcc version used.
The explicit version check was removed from the driver installer a while ago so it unfortunately needs a little experience to notice it. Odd conftest failure point to this.
Furthermore, you’re using the .run installer, which is not advisable. Rather use a packaged driver from repo.
At least you should also use the --dkms option when using the .run installer.


When I used the command and
CC=gcc-7 ./ --kernel-source-path=[path]

It displays that the kernel was built with gcc 8.3.0 which is the default gcc and it aborts.

I reran with
./ --kernel-source-path=[path]

this uses gcc 8.3.0 but generates the error log.

nvidia-installer.log (628.0 KB)

This does not look like gcc version problem.

please post the output of
cc -v
gcc -v


Here are the outputs

ccOutput.txt (1.2 KB) gccOutput.txt (1.2 KB)

Looks fine. The conftest failures nevertheless point to something wrong with your build system. Please run as root and attach the resulting nvidia-bug-report.log.gz file to your post.


Please find the log

nvidia-bug-report.log.gz (107.3 KB)

Looks normal.
Which version of binutils do you have installed?
dpkg -l |grep binutils

Hi. Thanks for the help.
I think, you are right about some config problem.
I reinstalled, as the broken dependencies were not easy to fix, and upgraded to sid, and got the drivers installed now.