Comment 21 for bug 1851162

Revision history for this message
Robert van der Spek (rmvanderspek) wrote :

This bug is not fixed. I have upgraded from 19.10 to 20.04 LTS

I had installed nvidia-driver-440, but due to this bug I downgraded to nvidia-driver-390. I get exactly the same issue. All my packages are up-to-date.

The output:

DKMS make.log for nvidia-390.132 for kernel 5.4.0-29-generic (x86_64)
vr 15 mei 2020 6:05:27 CEST
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-29-generic'
arch/x86/Makefile:147: CONFIG_X86_X32 enabled but no binutils support
make[1]: /usr/bin/gcc: Command not found
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia/390.132/build \
single-build= \
need-builtin=1 need-modorder=1
/bin/sh: 1: cc: not found

The C compiler '/usr/bin/gcc' does not appear to be able to
create object files. Please make sure you have
your Linux distribution's libc development package
installed and that '/usr/bin/gcc' is a valid C compiler
name.

*** Failed CC sanity check. Bailing out! ***

make[2]: *** [/var/lib/dkms/nvidia/390.132/build/Kbuild:192: cc_sanity_check] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1719: /var/lib/dkms/nvidia/390.132/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-29-generic'
make: *** [Makefile:81: modules] Error 2