Driver v390.157 Installation Problem on Kali Linux Kernel 6.5

Hello,
I installed Kali Linux on an old Notebook which has a GeForce GT 630M.
lspci gives:

01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 620M/630M/635M/640M LE]

My Kernel is: 6.5.0-kali2-amd64

To use this Graphics card, i wanted to install the NVIDIA Driver. I downloaded the 390.157 Driver from the NVIDIA website, since it seems to be the suitable one for my card.

For installation I followed this guide, since Kali is Debian based: Install NVIDIA [535.113.01 / 525.125.06 / 470.199.02 / 390.157 / 340.108] Drivers on Debian / Ubuntu / Linux Mint / LMDE :: If Not True Then False

But in the driver installation it cant build the kernel module, the nvidia-installer.log and the make.log are attached.

I checked the minimum requirements for this driver: Chapter 2. Minimum Requirements

And it seems that i match all of them:

Xorg -version:
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
Current Operating System: Linux localhost 6.5.0-kali2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.3-1kali2 (2023-10-03) x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.5.0-kali2-amd64 root=UUID=bc4cf2e8-10bc-46f0-8793-1f74fc7e9a22 ro quiet rd.driver.blacklist=nouveau splash
xorg-server 2:21.1.8-1 
Current version of pixman: 0.42.2

insmod --version:
kmod version 30
+ZSTD +XZ -ZLIB +LIBCRYPTO -EXPERIMENTAL

apt list | grep  glibc:

glibc-doc-reference/kali-rolling,now 2.37-1 all [installed]
glibc-doc/kali-rolling,now 2.37-12 all [installed]
glibc-source/kali-rolling,now 2.37-12 all [installed]

size --version:
GNU size (GNU Binutils for Debian) 2.41

make --version:
GNU Make 4.3:
Built for x86_64-pc-linux-gnu

gcc --version:
gcc (Debian 13.2.0-4) 13.2.0

I have been struggeling with this for days and digging through many forum posts on issues like this, but nothing seems to work.

Regards
make.log (23.0 KB)
nvidia-installer.log (4.8 KB)

https://nvidia.custhelp.com/app/answers/detail/a_id/3142

The Linux 390.* legacy driver series is the last to support GF1xx (“Fermi”) GPUs. Support for new Linux kernels and X servers, as well as fixes for critical bugs, will be included in 390.* legacy releases through the end of 2022.

An older kernel is your only option.

Thank you for that clarification, I already thought this could be the case. But I dont think installing the driver on an older kali kernel is feasible, because i am struggeling to find for example the linux-headers for older kernels. Thank you anyway.