Hello I ave an problem to install my NVIDIA T400 display card. I get this error from the log:
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
make[1]: *** [Makefile:742: include/config/auto.conf] Error 1
make[1]: Failed to remake makefile 'include/config/auto.conf'.
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
You are using: cc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
<command-line>: fatal error: /lib/modules/5.19.0-32-generic/build/include/linux/autoconf.h: No such file or directory
compilation terminated.
I try a lot of ways to solve this for a long time now. I also seen a lot of similar problems and solution to solve it but did not work for me. It is an way of fixing this?
Best regard
Gunnar