ERROR (dkms apport): kernel package linux-headers-5.15.0-37-generic is not supported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-510 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
DKMS make.log for nvidia-418.226.00 for kernel 5.15.0-37-generic (x86_64)
2022年 06月 15日 星期三 20:54:51 CST
make[1]: 进入目录“/usr/
tcc: error: invalid option -- '-print-
test -e include/
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
You are using: tcc version 0.9.27 (x86_64 Linux)
make -f ./scripts/
single-build= \
need-builtin=1 need-modorder=1
tcc: error: no input files
The kernel you are installing for is a PREEMPT_RT kernel!
The NVIDIA driver does not support real-time kernels. If you
are using a stock distribution kernel, please install
a variant of this kernel that does not have the PREEMPT_RT
patch set applied; if this is a custom kernel, please
install a standard Linux kernel. Then try installing the
NVIDIA kernel module again.