Can't install NVIDIA driver, Error! Bad return status for module build on kernel: 5.15.74-1-pve (x86_64)

Hello , when i’m trying to install NVIDIA driver by running
$ dms install -m NVIDIA -v 510.85.03
i’m getting the following error:

dkms install -m nvidia -v 510.85.03

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' -j20 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=5.15.74-1-pve IGNORE_CC_MISMATCH='' modules......(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.15.74-1-pve (x86_64)
Consult /var/lib/dkms/nvidia/510.85.03/build/make.log for more information.

here’s my system and kernel information:

lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye
$lscpu
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Model name:                      Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
Virtualization:                  VT-x

lspci | grep VGA
03:00.0 VGA compatible controller: NVIDIA Corporation GP108 [GeForce GT 1030] (rev a1) 09:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 30)
dmseg
Linux version 5.15.74-1-pve (build@proxmox) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP PVE 5.15.74-1 (Mon, 14 Nov 2022 20:17:15 +0100) ()
i need some help please. :)