ERROR (dkms apport): kernel package linux-headers-5.15.0-37-generic is not supported

Bug #1978824 reported by Yao Zhibo
6
This bug affects 1 person
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/src/linux-headers-5.15.0-37-generic”
tcc: error: invalid option -- '-print-file-name=include'
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)
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/Makefile.build obj=/var/lib/dkms/nvidia/418.226.00/build \
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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.