Need help installing Nvidia 340.xx !!

Hello! New Parrot user here!

I have been attempting to find Linux distributions that I can Install Nvidia 340.xx drivers on.

SO far I have had success with Debian following this guide:

https://forums.debian.net/viewtopic.php?p=748479

I have also had success with Ubuntu and Xubuntu with this ppa:

Knowing that it is possible (at least somewhat) is there a way for me to install 340.xx here?

Parrot version in use

VERSION_ID=“5.0”
VERSION=“5.0 (Electro Ara)”
VERSION_CODENAME=ara

Kernel version

5.16.0-12parrot1-amd64

Welcome to the forums
Parrot is a Debian grandchild, so the same should work

Thank you for your quick reply…

I have actually tried the Debian method but I immediately fail at using aptitude.

aptitude -Ry install xserver-xorg-video-fbdev xserver-xorg-input-libinput rxvt-unicode xorg dbus dbus-x11
bash: aptitude: command not found

I also tried

sudo apt-get install aptitude
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Package aptitude is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘aptitude’ has no installation candidate

I tried this as well:

sudo apt install xserver-xorg-video-fbdev xserver-xorg-input-libinput rxvt-unicode xorg dbus dbus-x11
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package rxvt-unicode

any tips?

EDIT: Nevermind. I am such a noob that I forgot to

sudo apt update

If you read this before my 2nd update, wait a minute

I just tried the Debian method.

It fails with this output:

$sudo aptitude -Ry install nvidia-legacy-340xx-driver nvidia-legacy-340xx-smi
The following NEW packages will be installed:
  libegl1-nvidia-legacy-340xx{a} libgl1-nvidia-legacy-340xx-glx{a} libnvidia-legacy-340xx-eglcore{a} 
  libnvidia-legacy-340xx-glcore{a} libnvidia-legacy-340xx-ml1{a} nvidia-legacy-340xx-alternative{a} 
  nvidia-legacy-340xx-driver nvidia-legacy-340xx-driver-bin{a} nvidia-legacy-340xx-driver-libs{a} 
  nvidia-legacy-340xx-kernel-dkms{a} nvidia-legacy-340xx-kernel-support{a} nvidia-legacy-340xx-smi 
  nvidia-legacy-340xx-vdpau-driver{a} xserver-xorg-video-nvidia-legacy-340xx{a} 
The following packages are RECOMMENDED but will NOT be installed:
  libgles1-nvidia-legacy-340xx libgles2-nvidia-legacy-340xx libnvidia-legacy-340xx-cfg1 nvidia-persistenced 
  nvidia-settings-legacy-340xx 
0 packages upgraded, 14 newly installed, 0 to remove and 126 not upgraded.
Need to get 23.8 MB of archives. After unpacking 138 MB will be used.
Get: 1 http://snapshot.debian.org/archive/debian/20211227 sid/non-free amd64 nvidia-legacy-340xx-alternative amd64 340.108-11 [82.5 kB]
Get: 2 http://snapshot.debian.org/archive/debian/20211227 sid/non-free amd64 libnvidia-legacy-340xx-glcore amd64 340.108-11 [7,019 kB]
Get: 3 http://snapshot.debian.org/archive/debian/20211227 sid/non-free amd64 libgl1-nvidia-legacy-340xx-glx amd64 340.108-11 [471 kB]
Get: 4 http://snapshot.debian.org/archive/debian/20211227 sid/non-free amd64 libnvidia-legacy-340xx-eglcore amd64 340.108-11 [6,986 kB]
Get: 5 http://snapshot.debian.org/archive/debian/20211227 sid/non-free amd64 libegl1-nvidia-legacy-340xx amd64 340.108-11 [232 kB]
Get: 6 http://snapshot.debian.org/archive/debian/20211227 sid/non-free amd64 nvidia-legacy-340xx-driver-libs amd64 340.108-11 [80.8 kB]
Get: 7 http://snapshot.debian.org/archive/debian/20211227 sid/non-free amd64 libnvidia-legacy-340xx-ml1 amd64 340.108-11 [361 kB]
Get: 8 http://snapshot.debian.org/archive/debian/20211227 sid/non-free amd64 nvidia-legacy-340xx-driver-bin amd64 340.108-11 [160 kB]
Get: 9 http://snapshot.debian.org/archive/debian/20211227 sid/non-free amd64 xserver-xorg-video-nvidia-legacy-340xx amd64 340.108-11 [2,837 kB]
Get: 10 http://snapshot.debian.org/archive/debian/20211227 sid/non-free amd64 nvidia-legacy-340xx-vdpau-driver amd64 340.108-11 [918 kB]
Get: 11 http://snapshot.debian.org/archive/debian/20211227 sid/non-free amd64 nvidia-legacy-340xx-kernel-support amd64 340.108-11 [81.7 kB]
Get: 12 http://snapshot.debian.org/archive/debian/20211227 sid/non-free amd64 nvidia-legacy-340xx-kernel-dkms amd64 340.108-11 [3,996 kB]
Get: 13 http://snapshot.debian.org/archive/debian/20211227 sid/non-free amd64 nvidia-legacy-340xx-driver amd64 340.108-11 [367 kB]
Get: 14 http://snapshot.debian.org/archive/debian/20211227 sid/non-free amd64 nvidia-legacy-340xx-smi amd64 340.108-11 [166 kB]
Fetched 23.8 MB in 35s (688 kB/s)                                                                                       
Selecting previously unselected package nvidia-legacy-340xx-alternative.
(Reading database ... 437305 files and directories currently installed.)
Preparing to unpack .../00-nvidia-legacy-340xx-alternative_340.108-11_amd64.deb ...
Unpacking nvidia-legacy-340xx-alternative (340.108-11) ...
Selecting previously unselected package libnvidia-legacy-340xx-glcore:amd64.
Preparing to unpack .../01-libnvidia-legacy-340xx-glcore_340.108-11_amd64.deb ...
Unpacking libnvidia-legacy-340xx-glcore:amd64 (340.108-11) ...
Selecting previously unselected package libgl1-nvidia-legacy-340xx-glx:amd64.
Preparing to unpack .../02-libgl1-nvidia-legacy-340xx-glx_340.108-11_amd64.deb ...
Unpacking libgl1-nvidia-legacy-340xx-glx:amd64 (340.108-11) ...
Selecting previously unselected package libnvidia-legacy-340xx-eglcore:amd64.
Preparing to unpack .../03-libnvidia-legacy-340xx-eglcore_340.108-11_amd64.deb ...
Unpacking libnvidia-legacy-340xx-eglcore:amd64 (340.108-11) ...
Selecting previously unselected package libegl1-nvidia-legacy-340xx:amd64.
Preparing to unpack .../04-libegl1-nvidia-legacy-340xx_340.108-11_amd64.deb ...
Unpacking libegl1-nvidia-legacy-340xx:amd64 (340.108-11) ...
Selecting previously unselected package nvidia-legacy-340xx-driver-libs:amd64.
Preparing to unpack .../05-nvidia-legacy-340xx-driver-libs_340.108-11_amd64.deb ...
Unpacking nvidia-legacy-340xx-driver-libs:amd64 (340.108-11) ...
Selecting previously unselected package libnvidia-legacy-340xx-ml1:amd64.
Preparing to unpack .../06-libnvidia-legacy-340xx-ml1_340.108-11_amd64.deb ...
Unpacking libnvidia-legacy-340xx-ml1:amd64 (340.108-11) ...
Selecting previously unselected package nvidia-legacy-340xx-driver-bin.
Preparing to unpack .../07-nvidia-legacy-340xx-driver-bin_340.108-11_amd64.deb ...
Unpacking nvidia-legacy-340xx-driver-bin (340.108-11) ...
Selecting previously unselected package xserver-xorg-video-nvidia-legacy-340xx.
Preparing to unpack .../08-xserver-xorg-video-nvidia-legacy-340xx_340.108-11_amd64.deb ...
Unpacking xserver-xorg-video-nvidia-legacy-340xx (340.108-11) ...
Selecting previously unselected package nvidia-legacy-340xx-vdpau-driver:amd64.
Preparing to unpack .../09-nvidia-legacy-340xx-vdpau-driver_340.108-11_amd64.deb ...
Unpacking nvidia-legacy-340xx-vdpau-driver:amd64 (340.108-11) ...
Selecting previously unselected package nvidia-legacy-340xx-kernel-support.
Preparing to unpack .../10-nvidia-legacy-340xx-kernel-support_340.108-11_amd64.deb ...
Unpacking nvidia-legacy-340xx-kernel-support (340.108-11) ...
Selecting previously unselected package nvidia-legacy-340xx-kernel-dkms.
Preparing to unpack .../11-nvidia-legacy-340xx-kernel-dkms_340.108-11_amd64.deb ...
Unpacking nvidia-legacy-340xx-kernel-dkms (340.108-11) ...
Selecting previously unselected package nvidia-legacy-340xx-driver.
Preparing to unpack .../12-nvidia-legacy-340xx-driver_340.108-11_amd64.deb ...
Unpacking nvidia-legacy-340xx-driver (340.108-11) ...
Selecting previously unselected package nvidia-legacy-340xx-smi.
Preparing to unpack .../13-nvidia-legacy-340xx-smi_340.108-11_amd64.deb ...
Unpacking nvidia-legacy-340xx-smi (340.108-11) ...
Setting up nvidia-legacy-340xx-alternative (340.108-11) ...
Setting up libnvidia-legacy-340xx-glcore:amd64 (340.108-11) ...
Setting up libnvidia-legacy-340xx-eglcore:amd64 (340.108-11) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for bamfdaemon (0.5.4-2) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for libc-bin (2.31-13+deb11u3) ...
Processing triggers for man-db (2.10.1-1~bpo11+1) ...
Processing triggers for nvidia-legacy-340xx-alternative (340.108-11) ...
update-alternatives: using /usr/lib/nvidia/legacy-340xx to provide /usr/lib/nvidia/nvidia (nvidia) in auto mode
Setting up libegl1-nvidia-legacy-340xx:amd64 (340.108-11) ...
Setting up libgl1-nvidia-legacy-340xx-glx:amd64 (340.108-11) ...
Setting up xserver-xorg-video-nvidia-legacy-340xx (340.108-11) ...
Setting up nvidia-legacy-340xx-vdpau-driver:amd64 (340.108-11) ...
Setting up nvidia-legacy-340xx-kernel-support (340.108-11) ...
Setting up nvidia-legacy-340xx-driver-libs:amd64 (340.108-11) ...
Setting up libnvidia-legacy-340xx-ml1:amd64 (340.108-11) ...
Setting up nvidia-legacy-340xx-driver-bin (340.108-11) ...
Setting up nvidia-legacy-340xx-smi (340.108-11) ...
Processing triggers for nvidia-legacy-340xx-alternative (340.108-11) ...
update-alternatives: updating alternative /usr/lib/nvidia/legacy-340xx because link group nvidia has changed slave links
Setting up nvidia-legacy-340xx-kernel-dkms (340.108-11) ...
Loading new nvidia-legacy-340xx-340.108 DKMS files...
Building for 5.16.0-12parrot1-amd64
Building initial module for 5.16.0-12parrot1-amd64
Error! Bad return status for module build on kernel: 5.16.0-12parrot1-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-legacy-340xx/340.108/build/make.log for more information.
dpkg: error processing package nvidia-legacy-340xx-kernel-dkms (--configure):
 installed nvidia-legacy-340xx-kernel-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-legacy-340xx-driver:
 nvidia-legacy-340xx-driver depends on nvidia-legacy-340xx-kernel-dkms (= 340.108-11) | nvidia-legacy-340xx-kernel-340.108; however:
  Package nvidia-legacy-340xx-kernel-dkms is not configured yet.
  Package nvidia-legacy-340xx-kernel-340.108 is not installed.
  Package nvidia-legacy-340xx-kernel-dkms which provides nvidia-legacy-340xx-kernel-340.108 is not configured yet.

dpkg: error processing package nvidia-legacy-340xx-driver (--configure):
 dependency problems - leaving unconfigured
Processing triggers for glx-alternative-nvidia (1.2.1~deb11u1) ...
Processing triggers for libc-bin (2.31-13+deb11u3) ...
Processing triggers for update-glx (1.2.1~deb11u1) ...
Processing triggers for glx-alternative-nvidia (1.2.1~deb11u1) ...
update-alternatives: using /usr/lib/nvidia to provide /usr/lib/glx (glx) in auto mode
Processing triggers for libc-bin (2.31-13+deb11u3) ...
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.16.0-12parrot1-amd64
setupcon: The keyboard model is unknown, assuming 'pc105'. Keyboard may be configured incorrectly.
Errors were encountered while processing:
 nvidia-legacy-340xx-kernel-dkms
 nvidia-legacy-340xx-driver
Scanning application launchers
Removing duplicate launchers or broken launchers
Launchers are updated
E: Sub-process /usr/bin/dpkg returned an error code (1)
Setting up nvidia-legacy-340xx-kernel-dkms (340.108-11) ...
Removing old nvidia-legacy-340xx-340.108 DKMS files...

------------------------------
Deleting module version: 340.108
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-legacy-340xx-340.108 DKMS files...
Building for 5.16.0-12parrot1-amd64
Building initial module for 5.16.0-12parrot1-amd64
Error! Bad return status for module build on kernel: 5.16.0-12parrot1-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-legacy-340xx/340.108/build/make.log for more information.
dpkg: error processing package nvidia-legacy-340xx-kernel-dkms (--configure):
 installed nvidia-legacy-340xx-kernel-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-legacy-340xx-driver:
 nvidia-legacy-340xx-driver depends on nvidia-legacy-340xx-kernel-dkms (= 340.108-11) | nvidia-legacy-340xx-kernel-340.108; however:
  Package nvidia-legacy-340xx-kernel-dkms is not configured yet.
  Package nvidia-legacy-340xx-kernel-340.108 is not installed.
  Package nvidia-legacy-340xx-kernel-dkms which provides nvidia-legacy-340xx-kernel-340.108 is not configured yet.

dpkg: error processing package nvidia-legacy-340xx-driver (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nvidia-legacy-340xx-kernel-dkms
 nvidia-legacy-340xx-driver

ok. there may be another way, see this article…

The supplied link(s) instructions do not work. Installing via the normal method only installs the latest 470xx driver. It does not work with the needed 340xx driver.

Installing the .run file from Nvidia also fails:

KMS make.log for nvidia-legacy-340xx-340.108 for kernel 5.16.0-12parrot1-amd64 (x86_64)
Wed 29 Jun 2022 12:49:45 PM PDT
NVIDIA: calling KBUILD...
make NV_MODULE_SUFFIX= KBUILD_OUTPUT=/lib/modules/5.16.0-12parrot1-amd64/build KERNEL_SOURCES=/lib/modules/5.16.0-12parrot1-amd64/source KERNEL_OUTPUT=/lib/modules/5.16.0-12parrot1-amd64/build KBUILD_VERBOSE=1 -C /lib/modules/5.16.0-12parrot1-amd64/source M=/var/lib/dkms/nvidia-legacy-340xx/340.108/build ARCH=x86_64 modules
make[1]: Entering directory '/usr/src/linux-headers-5.16.0-12parrot1-common'
make -C /usr/src/linux-headers-5.16.0-12parrot1-amd64 -f /usr/src/linux-headers-5.16.0-12parrot1-common/Makefile modules
make[2]: Entering directory '/usr/src/linux-headers-5.16.0-12parrot1-amd64'
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)
/bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found
/bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc-11 (Parrot 11.2.0-16parrot1) 11.2.0
  You are using:           gcc-11 (Parrot 11.2.0-18really16parrot1) 11.2.0
make -f /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/Makefile.build obj=/var/lib/dkms/nvidia-legacy-340xx/340.108/build \
single-build= \
need-builtin=1 need-modorder=1
/bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found
CONFTEST=/bin/sh /var/lib/dkms/nvidia-legacy-340xx/340.108/build/conftest.sh " gcc-11" " gcc-11" x86_64 /lib/modules/5.16.0-12parrot1-amd64/source /lib/modules/5.16.0-12parrot1-amd64/build
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/nvidia-modules-common.mk:162: FORCE prerequisite is missing
CONFTEST_CFLAGS=
  ln -sf /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-kernel-amd64.o_binary /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-kernel.o
KBUILD_CFLAGS=-Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong  -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable  -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g 
LINUXINCLUDE=-I/usr/src/linux-headers-5.16.0-12parrot1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.16.0-12parrot1-common/include -I./include -I/usr/src/linux-headers-5.16.0-12parrot1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.16.0-12parrot1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.16.0-12parrot1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.16.0-12parrot1-common/include/linux/kconfig.h
echo \#define NV_COMPILER \"` gcc-11 -v 2>&1 | tail -n 1`\" > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv_compiler.h
LDFLAGS=
ARCH=x86_64
for SANITY_CHECK in rivafb_sanity_check nvidiafb_sanity_check dom0_sanity_check xen_sanity_check preempt_rt_sanity_check; do \
 echo " CONFTEST: $SANITY_CHECK"; \
 if ! /bin/sh /var/lib/dkms/nvidia-legacy-340xx/340.108/build/conftest.sh " gcc-11" " gcc-11" x86_64 /lib/modules/5.16.0-12parrot1-amd64/source /lib/modules/5.16.0-12parrot1-amd64/build $SANITY_CHECK full_output; then \
 exit 1; \
 fi; \
done
 CONFTEST: rivafb_sanity_check
 CONFTEST: compile_tests
if ! /bin/sh /var/lib/dkms/nvidia-legacy-340xx/340.108/build/conftest.sh " gcc-11" " gcc-11" x86_64 /lib/modules/5.16.0-12parrot1-amd64/source /lib/modules/5.16.0-12parrot1-amd64/build compile_tests drm_prime_pages_to_sg_has_drm_device_arg drm_driver_has_gem_free_object vga_tryget mm_has_mmap_lock vmalloc_has_pgprot_t_arg timeval drm_gem_object_get proc_ops remap_pfn_range vmap set_pages_uc set_memory_uc set_memory_array_uc change_page_attr i2c_adapter pci_get_class pm_message_t irq_handler_t pci_choose_state vm_insert_page acpi_device_ops acpi_op_remove acpi_device_id acquire_console_sem console_lock kmem_cache_create outer_flush_all on_each_cpu smp_call_function nvmap_support acpi_evaluate_integer ioremap_cache ioremap_wc proc_dir_entry INIT_WORK acpi_walk_namespace scatterlist pci_domain_nr pci_dma_mapping_error file_operations sg_alloc_table sg_init_table pci_get_domain_bus_and_slot get_num_physpages efi_enabled dom0_kernel_present drm_available proc_create_data pde_data proc_remove sg_table pm_vt_switch_required pci_save_state file_inode drm_pci_set_busid write_cr4 for_each_online_node node_end_pfn get_user_pages get_user_pages_remote register_cpu_notifier cpuhp_setup_state vm_fault_present vm_fault_has_address drm_driver_unload_has_int_return_type drm_pci_init drm_legacy_pci_init timer_setup do_gettimeofday drm_gem_object_put_unlocked drm_driver_legacy_feature_bit_present drm_driver_prime_flag_present; then exit 1; fi
conftest.sh: CC= gcc-11
conftest.sh: CFLAGS=-O2 -D__KERNEL__ -DKBUILD_BASENAME="#conftest2452" -DKBUILD_MODNAME="#conftest2452" -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/11/include -I/lib/modules/5.16.0-12parrot1-amd64/source/include/asm-x86_64/mach-default -I/lib/modules/5.16.0-12parrot1-amd64/source/include/asm-x86/mach-default -I/lib/modules/5.16.0-12parrot1-amd64/source/arch/x86/include/asm/mach-default -I/lib/modules/5.16.0-12parrot1-amd64/source/include/arch/x86/include/uapi -I/lib/modules/5.16.0-12parrot1-amd64/build/include2 -I/lib/modules/5.16.0-12parrot1-amd64/build/include -include /lib/modules/5.16.0-12parrot1-amd64/build/include/generated/autoconf.h -I/lib/modules/5.16.0-12parrot1-amd64/source/include -I/lib/modules/5.16.0-12parrot1-amd64/source/include/uapi -I/lib/modules/5.16.0-12parrot1-amd64/build/include/generated/uapi -I/lib/modules/5.16.0-12parrot1-amd64/source/arch/x86/include -I/lib/modules/5.16.0-12parrot1-amd64/source/arch/x86/include/uapi -I/lib/modules/5.16.0-12parrot1-amd64/build/arch/x86/include/generated -I/lib/modules/5.16.0-12parrot1-amd64/build/arch/x86/include/generated/uapi -Wall -Wundef -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Wno-packed-not-aligned -g
conftest.sh: KBUILD_CFLAGS=-Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong  -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable  -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g 
conftest.sh: ARCH=x86_64
 CONFTEST: nvidiafb_sanity_check
 CONFTEST: dom0_sanity_check
 CONFTEST: xen_sanity_check
Error: unknown conftest 'compile_tests' requested
 CONFTEST: preempt_rt_sanity_check
 CONFTEST: patch_check
if ! /bin/sh /var/lib/dkms/nvidia-legacy-340xx/340.108/build/conftest.sh " gcc-11" " gcc-11" x86_64 /lib/modules/5.16.0-12parrot1-amd64/source /lib/modules/5.16.0-12parrot1-amd64/build patch_check; then exit 1; fi
 CONFTEST patches.h:
static struct {
const char *short_description;
const char *description;
} __nv_patches[] = {
{ NULL, NULL } };
 CONFTEST conftest.h:
 CONFTEST macros.h:
#include "conftest/macros.h"
#include "conftest/functions.h"
#include "conftest/symbols.h"
#include "conftest/types.h"
#include "conftest/generic.h"
#include "conftest/headers.h"
#define NV_INIT_WORK_PRESENT
#define NV_INIT_WORK_ARGUMENT_COUNT 2
 CONFTEST functions.h:
 CONFTEST symbols.h:
#undef NV_VGA_TRYGET_PRESENT
#define NV_DRM_GEM_OBJECT_GET_PRESENT
#define NV_REMAP_PFN_RANGE_PRESENT
#define NV_VMAP_PRESENT
#define NV_VMAP_ARGUMENT_COUNT 4
#define NV_SET_PAGES_UC_PRESENT
#define NV_SET_MEMORY_UC_PRESENT
#undef NV_SET_MEMORY_ARRAY_UC_PRESENT
#undef NV_CHANGE_PAGE_ATTR_PRESENT
#define NV_PCI_GET_CLASS_PRESENT
#define NV_PCI_CHOOSE_STATE_PRESENT
#define NV_VM_INSERT_PAGE_PRESENT
#undef NV_ACQUIRE_CONSOLE_SEM_PRESENT
#define NV_CONSOLE_LOCK_PRESENT
#define NV_KMEM_CACHE_CREATE_PRESENT
#define NV_KMEM_CACHE_CREATE_ARGUMENT_COUNT 5
#define NV_ON_EACH_CPU_PRESENT
#define NV_ON_EACH_CPU_ARGUMENT_COUNT 3
#define NV_SMP_CALL_FUNCTION_PRESENT
#define NV_SMP_CALL_FUNCTION_ARGUMENT_COUNT 3
#define NV_ACPI_EVALUATE_INTEGER_PRESENT
typedef unsigned long long nv_acpi_integer_t;
#define NV_IOREMAP_CACHE_PRESENT
#define NV_IOREMAP_WC_PRESENT
#define NV_ACPI_WALK_NAMESPACE_PRESENT
#define NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT 7
#define NV_PCI_DOMAIN_NR_PRESENT
#define NV_PCI_DMA_MAPPING_ERROR_PRESENT
#define NV_PCI_DMA_MAPPING_ERROR_ARGUMENT_COUNT 2
#define NV_SG_ALLOC_TABLE_PRESENT
#define NV_SG_ALLOC_TABLE_FROM_PAGES_PRESENT
#define NV_SG_INIT_TABLE_PRESENT
#define NV_PCI_GET_DOMAIN_BUS_AND_SLOT_PRESENT
#define NV_GET_NUM_PHYSPAGES_PRESENT
#define NV_EFI_ENABLED_PRESENT
#define NV_EFI_ENABLED_ARGUMENT_COUNT 1
#define NV_PROC_CREATE_DATA_PRESENT
#define NV_PDE_DATA_PRESENT
#define NV_PROC_REMOVE_PRESENT
#define NV_PM_VT_SWITCH_REQUIRED_PRESENT
#define NV_PCI_SAVE_STATE_ARGUMENT_COUNT 1
#undef NV_DRM_PCI_SET_BUSID_PRESENT
#undef NV_WRITE_CR4_PRESENT
#define NV_FOR_EACH_ONLINE_NODE_PRESENT
#define NV_NODE_END_PFN_PRESENT
#undef NV_GET_USER_PAGES_HAS_WRITE_AND_FORCE_ARGS
#undef NV_GET_USER_PAGES_HAS_TASK_STRUCT
#define NV_GET_USER_PAGES_REMOTE_PRESENT
#undef NV_GET_USER_PAGES_REMOTE_HAS_WRITE_AND_FORCE_ARGS
#undef NV_GET_USER_PAGES_REMOTE_HAS_TSK_ARG
#define NV_GET_USER_PAGES_REMOTE_HAS_LOCKED_ARG
#undef NV_REGISTER_CPU_NOTIFIER_PRESENT
#define NV_CPUHP_SETUP_STATE_PRESENT
#undef NV_DRM_PCI_INIT_PRESENT
#undef NV_DRM_LEGACY_PCI_INIT_PRESENT
#define NV_TIMER_SETUP_PRESENT
#undef NV_DO_GETTIMEOFDAY_PRESENT
#undef NV_DRM_GEM_OBJECT_PUT_UNLOCKED_PRESENT
 CONFTEST types.h:
 CONFTEST generic.h:
#define NV_DRM_PRIME_PAGES_TO_SG_HAS_DRM_DEVICE_ARG
#undef NV_DRM_DRIVER_HAS_GEM_FREE_OBJECT
#define NV_MM_HAS_MMAP_LOCK
#undef NV_VMALLOC_HAS_PGPROT_T_ARG
#undef NV_TIMEVAL_PRESENT
#define NV_PROC_OPS_PRESENT
#undef NV_I2C_ADAPTER_HAS_CLIENT_REGISTER
#define NV_PM_MESSAGE_T_PRESENT
#define NV_PM_MESSAGE_T_HAS_EVENT
#define NV_IRQ_HANDLER_T_PRESENT
#define NV_IRQ_HANDLER_T_ARGUMENT_COUNT 2
#undef NV_ACPI_DEVICE_OPS_HAS_MATCH
#define NV_ACPI_DEVICE_OPS_REMOVE_ARGUMENT_COUNT 1
#define NV_ACPI_DEVICE_ID_HAS_DRIVER_DATA
#undef NV_OUTER_FLUSH_ALL_PRESENT
#undef NV_PROC_DIR_ENTRY_HAS_OWNER
#define NV_SCATTERLIST_HAS_PAGE_LINK
#undef NV_FILE_OPERATIONS_HAS_IOCTL
#define NV_FILE_OPERATIONS_HAS_UNLOCKED_IOCTL
#define NV_FILE_OPERATIONS_HAS_COMPAT_IOCTL
#define NV_SG_TABLE_PRESENT
#define NV_FILE_HAS_INODE
#define NV_VM_FAULT_PRESENT
#define NV_VM_FAULT_HAS_ADDRESS
#undef NV_DRM_DRIVER_UNLOAD_HAS_INT_RETURN_TYPE
#define NV_DRM_DRIVER_LEGACY_FEATURE_BIT_PRESENT
#undef NV_DRM_DRIVER_PRIME_FLAG_PRESENT
 CONFTEST headers.h:
#undef NV_ASM_SYSTEM_H_PRESENT
#undef NV_DRM_DRMP_H_PRESENT
#define NV_DRM_DRM_GEM_H_PRESENT
#define NV_DRM_DRM_DRV_H_PRESENT
#define NV_DRM_DRM_PRIME_H_PRESENT
#define NV_DRM_DRM_FILE_H_PRESENT
#define NV_DRM_DRM_IOCTL_H_PRESENT
#undef NV_DRM_DRM_PCI_H_PRESENT
#define NV_DRM_DRM_LEGACY_H_PRESENT
#undef NV_DRM_DRM_AGPSUPPORT_H_PRESENT
#define NV_GENERATED_AUTOCONF_H_PRESENT
#define NV_GENERATED_COMPILE_H_PRESENT
#define NV_GENERATED_UTSRELEASE_H_PRESENT
#define NV_LINUX_EFI_H_PRESENT
#define NV_LINUX_KCONFIG_H_PRESENT
#define NV_LINUX_SCREEN_INFO_H_PRESENT
#define NV_LINUX_SEMAPHORE_H_PRESENT
#undef NV_LINUX_NVMAP_H_PRESENT
#define NV_LINUX_PRINTK_H_PRESENT
#define NV_LINUX_RATELIMIT_H_PRESENT
#undef NV_LINUX_PRIO_TREE_H_PRESENT
#define NV_LINUX_LOG2_H_PRESENT
#define NV_LINUX_OF_H_PRESENT
#define NV_LINUX_BUG_H_PRESENT
#define NV_LINUX_SCHED_SIGNAL_H_PRESENT
#define NV_LINUX_SCHED_TASK_H_PRESENT
#undef NV_XEN_IOEMU_H_PRESENT
#undef NV_LINUX_FENCE_H_PRESENT
#define NV_LINUX_KTIME_H_PRESENT
#define NV_LINUX_FILE_H_PRESENT
#define NV_ASM_SET_MEMORY_H_PRESENT
#undef HAVE_NV_ANDROID
#undef NV_DOM0_KERNEL_PRESENT
#undef NV_DRM_AVAILABLE
   gcc-11 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv.o.d -nostdinc -I/usr/src/linux-headers-5.16.0-12parrot1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.16.0-12parrot1-common/include -I./include -I/usr/src/linux-headers-5.16.0-12parrot1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.16.0-12parrot1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.16.0-12parrot1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.16.0-12parrot1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.16.0-12parrot1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.16.0-12parrot1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\"  -DMODULE  -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c  ; ./tools/objtool/objtool orc generate  --module  --no-fp   --retpoline  --uaccess  /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.o
   gcc-11 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-acpi.o.d -nostdinc -I/usr/src/linux-headers-5.16.0-12parrot1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.16.0-12parrot1-common/include -I./include -I/usr/src/linux-headers-5.16.0-12parrot1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.16.0-12parrot1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.16.0-12parrot1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.16.0-12parrot1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.16.0-12parrot1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.16.0-12parrot1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\"  -DMODULE  -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.c  ; ./tools/objtool/objtool orc generate  --module  --no-fp   --retpoline  --uaccess  /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.o
In file included from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:12:
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory
   27 | #include <stdarg.h>
      |          ^~~~~~~~~~
compilation terminated.
make[3]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/scripts/Makefile.build:292: /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.c:14:
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory
   27 | #include <stdarg.h>
      |          ^~~~~~~~~~
compilation terminated.
make[3]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/scripts/Makefile.build:292: /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.o] Error 1
make[2]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/Makefile:1870: /var/lib/dkms/nvidia-legacy-340xx/340.108/build] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.16.0-12parrot1-amd64'
make[1]: *** [Makefile:231: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.16.0-12parrot1-common'
make: *** [Makefile:211: nvidia.ko] Error 2
make: Entering directory '/var/lib/dkms/nvidia-legacy-340xx/340.108/build/uvm'
cd ./..; make module SYSSRC=/lib/modules/5.16.0-12parrot1-amd64/source SYSOUT=/lib/modules/5.16.0-12parrot1-amd64/build KBUILD_EXTMOD=./..
make[1]: Entering directory '/var/lib/dkms/nvidia-legacy-340xx/340.108/build'
NVIDIA: calling KBUILD...
make NV_MODULE_SUFFIX= KBUILD_OUTPUT=/lib/modules/5.16.0-12parrot1-amd64/build KERNEL_SOURCES=/lib/modules/5.16.0-12parrot1-amd64/source KERNEL_OUTPUT=/lib/modules/5.16.0-12parrot1-amd64/build KBUILD_VERBOSE=1 -C /lib/modules/5.16.0-12parrot1-amd64/source M=/var/lib/dkms/nvidia-legacy-340xx/340.108/build ARCH=x86_64 modules
make[2]: Entering directory '/usr/src/linux-headers-5.16.0-12parrot1-common'
make -C /usr/src/linux-headers-5.16.0-12parrot1-amd64 -f /usr/src/linux-headers-5.16.0-12parrot1-common/Makefile modules
make[3]: Entering directory '/usr/src/linux-headers-5.16.0-12parrot1-amd64'
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)
/bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found
/bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc-11 (Parrot 11.2.0-16parrot1) 11.2.0
  You are using:           gcc-11 (Parrot 11.2.0-18really16parrot1) 11.2.0
make -f /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/Makefile.build obj=.. \
single-build= \
need-builtin=1 need-modorder=1
/bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found
/usr/src/linux-headers-5.16.0-12parrot1-common/scripts/Makefile.build:44: /usr/src/linux-headers-5.16.0-12parrot1-common/../Makefile: No such file or directory
make[4]: *** No rule to make target '/usr/src/linux-headers-5.16.0-12parrot1-common/../Makefile'.  Stop.
make[3]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/Makefile:1870: ..] Error 2
make[3]: Leaving directory '/usr/src/linux-headers-5.16.0-12parrot1-amd64'
make[2]: *** [Makefile:231: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.16.0-12parrot1-common'
make[1]: *** [Makefile:211: nvidia.ko] Error 2
make[1]: Leaving directory '/var/lib/dkms/nvidia-legacy-340xx/340.108/build'
make: *** [Makefile:225: ../Module.symvers] Error 2
make: Leaving directory '/var/lib/dkms/nvidia-legacy-340xx/340.108/build/uvm'

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.