I couldn't find the answer anywhere, request some ideas...
Build kernel linux-ck with modprobed-db without errors, but can't install linux-ck-header with nvidia340xx-dkms:
$ sudo dkms autoinstall -k 6.6.3-2-ck-atom-modprobed --verbose
[sudo] password for nebulosa:
Sign command: /usr/lib/modules/6.6.3-2-ck-atom-modprobed/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Building module:
make clean; make -C uvm clean
make: Entering directory '/var/lib/dkms/nvidia/340.108/build/uvm'
make: Leaving directory '/var/lib/dkms/nvidia/340.108/build/uvm'
{ make -j4 KERNELRELEASE=6.6.3-2-ck-atom-modprobed -j4 module KERNEL_UNAME=6.6.3-2-ck-atom-modprobed; make -C uvm module KERNEL_UNAME=6.6.3-2-ck-atom-modprobed KBUILD_EXTMOD=/var/lib/dkms/nvidia/340.108/build/uvm CC=clang LD=ld.lld; } >> /var/lib/dkms/nvidia/340.108/build/make.log 2>&1
(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.6.3-2-ck-atom-modprobed (x86_64)
Consult /var/lib/dkms/nvidia/340.108/build/make.log for more information.
dkms autoinstall on 6.6.3-2-ck-atom-modprobed/x86_64 failed for nvidia(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
I couldn't find the answer anywhere, request some ideas...
Build kernel linux-ck with modprobed-db without errors, but can't install linux-ck-header with nvidia340xx-dkms:
make.log modprobed.db
This kernel version but without modprobed.db (compiled all drivers) - 6.6.3-2-atom - installing nvidia340xx-dkms works correct.
I suppose that I need add some modules but can't understand how I can figure out witch ones they are?