Public bug reported:

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.

** Affects: nvidia-graphics-drivers-510 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-510 in Ubuntu.
https://bugs.launchpad.net/bugs/1978824

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

Status in nvidia-graphics-drivers-510 package in Ubuntu:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-510/+bug/1978824/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to