building kernel modules

hello nvidia master can any one help me resolved my problem installing nvidia driver in kali linux thank in advance…
here my var/log

nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Wed Jan 2 11:59:31 2019
installer version: 367.44

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

nvidia-installer command line:
./nvidia-installer

Using: nvidia-installer ncurses v6 user interface
→ Detected 4 CPUs online; setting concurrency level to 4.
→ License accepted.
→ Installing NVIDIA driver version 367.44.
→ Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: No)
→ Performing CC sanity check with CC=“/usr/bin/cc”.
→ Kernel source path: ‘/lib/modules/4.18.0-kali3-amd64/source’
→ Kernel output path: ‘/lib/modules/4.18.0-kali3-amd64/build’
→ Performing rivafb check.
→ Performing nvidiafb check.
→ Performing Xen check.
→ Performing PREEMPT_RT check.
→ Cleaning kernel module build directory.
executing: ‘cd ./kernel; /usr/bin/make -k -j4 clean NV_EXCLUDE_KERNEL_MODULES=“” SYSSRC=“/lib/modules/4.18.0-kali3-amd64/source” SYSOUT=“/lib/modules/4.18.0-kali3-amd64/build”’…
rm -f -r conftest
/usr/bin/make “CC=cc” KBUILD_OUTPUT=/lib/modules/4.18.0-kali3-amd64/build KBUILD_VERBOSE= -C /lib/modules/4.18.0-kali3-amd64/source M=/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.18.0-kali3-amd64/source NV_KERNEL_OUTPUT=/lib/modules/4.18.0-kali3-amd64/build NV_KERNEL_MODULES=“nvidia nvidia-uvm nvidia-modeset nvidia-drm” INSTALL_MOD_DIR=kernel/drivers/video clean
make[1]: Entering directory ‘/usr/src/linux-headers-4.18.0-kali3-common’
make[2]: Entering directory ‘/usr/src/linux-headers-4.18.0-kali3-amd64’
make[2]: Leaving directory ‘/usr/src/linux-headers-4.18.0-kali3-amd64’
make[1]: Leaving directory ‘/usr/src/linux-headers-4.18.0-kali3-common’
→ Building kernel modules
executing: ‘cd ./kernel; /usr/bin/make -k -j4 NV_EXCLUDE_KERNEL_MODULES=“” SYSSRC=“/lib/modules/4.18.0-kali3-amd64/source” SYSOUT=“/lib/modules/4.18.0-kali3-amd64/build”’…
/usr/bin/make “CC=cc” KBUILD_OUTPUT=/lib/modules/4.18.0-kali3-amd64/build KBUILD_VERBOSE= -C /lib/modules/4.18.0-kali3-amd64/source M=/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.18.0-kali3-amd64/source NV_KERNEL_OUTPUT=/lib/modules/4.18.0-kali3-amd64/build NV_KERNEL_MODULES=“nvidia nvidia-uvm nvidia-modeset nvidia-drm” INSTALL_MOD_DIR=kernel/drivers/video modules
make[1]: Entering directory ‘/usr/src/linux-headers-4.18.0-kali3-common’
make[2]: Entering directory ‘/usr/src/linux-headers-4.18.0-kali3-amd64’
SYMLINK /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-kernel.o
SYMLINK /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-modeset/nv-modeset-kernel.o
CONFTEST: INIT_WORK
CONFTEST: remap_pfn_range
CONFTEST: follow_pfn
CONFTEST: vmap
CONFTEST: set_pages_uc
CONFTEST: set_memory_uc
CONFTEST: set_memory_array_uc
CONFTEST: change_page_attr
CONFTEST: pci_get_class
CONFTEST: pci_choose_state
CONFTEST: vm_insert_page
CONFTEST: acpi_device_id
CONFTEST: acquire_console_sem
CONFTEST: kmem_cache_create
CONFTEST: console_lock
CONFTEST: on_each_cpu
CONFTEST: smp_call_function
CONFTEST: acpi_evaluate_integer
CONFTEST: ioremap_cache
CONFTEST: ioremap_wc
CONFTEST: acpi_walk_namespace
CONFTEST: pci_domain_nr
CONFTEST: pci_dma_mapping_error
CONFTEST: sg_alloc_table
CONFTEST: sg_init_table
CONFTEST: pci_get_domain_bus_and_slot
CONFTEST: get_num_physpages
CONFTEST: efi_enabled
CONFTEST: proc_create_data
CONFTEST: pde_data
CONFTEST: proc_remove
CONFTEST: pm_vt_switch_required
CONFTEST: drm_driver_has_set_busid
CONFTEST: xen_ioemu_inject_msi
CONFTEST: phys_to_dma
CONFTEST: get_dma_ops
CONFTEST: write_cr4
CONFTEST: of_parse_phandle
CONFTEST: for_each_online_node
CONFTEST: node_end_pfn
CONFTEST: pci_bus_address
CONFTEST: request_threaded_irq
CONFTEST: remap_page_range
CONFTEST: address_space_init_once
CONFTEST: kbasename
CONFTEST: fatal_signal_pending
CONFTEST: list_cut_position
CONFTEST: vzalloc
CONFTEST: wait_on_bit_lock_argument_count
CONFTEST: bitmap_clear
CONFTEST: usleep_range
CONFTEST: radix_tree_empty
CONFTEST: drm_dev_unref
CONFTEST: drm_reinit_primary_mode_group
CONFTEST: drm_atomic_set_mode_for_crtc
CONFTEST: drm_atomic_clean_old_fb
CONFTEST: get_user_pages_remote
CONFTEST: drm_gem_object_lookup
CONFTEST: i2c_adapter
CONFTEST: pm_message_t
CONFTEST: irq_handler_t
CONFTEST: acpi_device_ops
CONFTEST: acpi_op_remove
CONFTEST: outer_flush_all
CONFTEST: proc_dir_entry
CONFTEST: scatterlist
CONFTEST: sg_table
CONFTEST: file_operations
CONFTEST: vm_operations_struct
CONFTEST: atomic_long_type
CONFTEST: pci_save_state
CONFTEST: file_inode
CONFTEST: task_struct
CONFTEST: kuid_t
CONFTEST: dma_ops
CONFTEST: dma_map_ops
CONFTEST: noncoherent_swiotlb_dma_ops
CONFTEST: fault_flags
CONFTEST: atomic64_type
CONFTEST: address_space
CONFTEST: backing_dev_info
CONFTEST: kernel_write
CONFTEST: strnstr
CONFTEST: iterate_dir
CONFTEST: kstrtoull
CONFTEST: mm_context_t
CONFTEST: drm_bus_present
CONFTEST: drm_bus_has_bus_type
CONFTEST: drm_bus_has_get_irq
CONFTEST: drm_bus_has_get_name
CONFTEST: drm_driver_has_legacy_dev_list
CONFTEST: drm_crtc_state_has_connectors_changed
CONFTEST: drm_init_functions_have_name_arg
CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg
CONFTEST: drm_helper_mode_fill_fb_struct_has_const_mode_cmd_arg
CONFTEST: dom0_kernel_present
CONFTEST: drm_available
CONFTEST: nvidia_grid_build
CONFTEST: drm_atomic_available
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-frontend.o
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-instance.o
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv.o
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-acpi.o
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-acpi.c:15:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-instance.c:13:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-frontend.c:13:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv.c:13:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:322: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-instance.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-chrdev.o
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:323: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-frontend.o] Error 1
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:323: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-acpi.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-cray.o
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv.c: In function ‘nv_start_rc_timer’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv.c:2746:5: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werror=implicit-function-declaration]
init_timer(&nvl->rc_timer);
^~~~~~~~~~
init_timers
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv.c:2747:28: error: assignment to ‘void (*)(struct timer_list )’ from incompatible pointer type ‘void ()(long unsigned int)’ [-Werror=incompatible-pointer-types]
nvl->rc_timer.function = nvidia_rc_timer;
^
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv.c:2748:18: error: ‘struct timer_list’ has no member named ‘data’
nvl->rc_timer.data = (unsigned long) nvl;
^
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-dma.o
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:322: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-gvi.o
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-chrdev.c:15:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-cray.c:15:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-dma.c:15:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:322: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-chrdev.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-i2c.o
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:323: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-cray.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-mempool.o
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-gvi.c:15:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:323: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-dma.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-mmap.o
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:323: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-gvi.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-p2p.o
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-i2c.c:15:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-mempool.c:15:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:322: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-i2c.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-pat.o
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:323: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-mempool.o] Error 1
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-p2p.c:15:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-mmap.c:15:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-procfs.o
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:323: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-mmap.o] Error 1
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:323: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-p2p.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-usermap.o
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-vm.o
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-pat.c:15:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-procfs.c:15:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-pat.c: In function ‘nvidia_cpu_callback’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-pat.c:213:14: error: ‘CPU_DOWN_FAILED’ undeclared (first use in this function); did you mean ‘ACPI_RASF_FAILED’?
case CPU_DOWN_FAILED:
^~~~~~~~~~~~~~~
ACPI_RASF_FAILED
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-pat.c:213:14: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:322: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-procfs.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-vtophys.o
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-usermap.c:15:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-pat.c:220:14: error: ‘CPU_DOWN_PREPARE’ undeclared (first use in this function); did you mean ‘CPU_UP_PREPARE’?
case CPU_DOWN_PREPARE:
^~~~~~~~~~~~~~~~
CPU_UP_PREPARE
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-vm.c:14:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-pat.c:15:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-pat.c: In function ‘nv_init_pat_support’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:389:34: error: implicit declaration of function ‘register_cpu_notifier’; did you mean ‘register_acpi_notifier’? [-Werror=implicit-function-declaration]
#define register_hotcpu_notifier register_cpu_notifier
^~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-pat.c:258:17: note: in expansion of macro ‘register_hotcpu_notifier’
if (register_hotcpu_notifier(&nv_hotcpu_nfb) != 0)
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-pat.c: In function ‘nv_teardown_pat_support’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:386:36: error: implicit declaration of function ‘unregister_cpu_notifier’; did you mean ‘unregister_acpi_notifier’? [-Werror=implicit-function-declaration]
#define unregister_hotcpu_notifier unregister_cpu_notifier
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-pat.c:283:9: note: in expansion of macro ‘unregister_hotcpu_notifier’
unregister_hotcpu_notifier(&nv_hotcpu_nfb);
^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:323: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-pat.o] Error 1
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:323: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-usermap.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-interface.o
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-mlock.o
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:323: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-vm.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-pci.o
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-vtophys.c:15:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:322: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-vtophys.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-registry.o
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-interface.c:15:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-mlock.c:15:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-pci.c:15:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-mlock.c: In function ‘os_lock_user_pages’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-mlock.c:120:48: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion]
page_count, write, force, user_pages, NULL);
^~~~~
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-pgprot.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-mlock.c:15:
/usr/src/linux-headers-4.18.0-kali3-common/include/linux/mm.h:1490:46: note: expected ‘struct page **’ but argument is of type ‘NvBool’ {aka ‘unsigned char’}
unsigned int gup_flags, struct page **pages,
^
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-mlock.c:120:55: error: passing argument 5 of ‘get_user_pages’ from incompatible pointer type [-Werror=incompatible-pointer-types]
page_count, write, force, user_pages, NULL);
^
~
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-pgprot.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-mlock.c:15:
/usr/src/linux-headers-4.18.0-kali3-common/include/linux/mm.h:1491:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
struct vm_area_struct **vmas);
^~
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:18,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-mlock.c:15:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-mm.h:45:41: error: too many arguments to function ‘get_user_pages’
#define NV_GET_USER_PAGES get_user_pages
^
~
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-mlock.c:119:11: note: in expansion of macro ‘NV_GET_USER_PAGES’
ret = NV_GET_USER_PAGES((unsigned long)address,
^
~~~~
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-pgprot.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-mlock.c:15:
/usr/src/linux-headers-4.18.0-kali3-common/include/linux/mm.h:1489:6: note: declared here
long get_user_pages(unsigned long start, unsigned long nr_pages,
^~~~~~~~~~~~~~
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:322: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-interface.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-usermap.o
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:323: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-mlock.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-modeset-interface.o
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:323: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-pci.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-pci-table.o
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-registry.c:15:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:322: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-registry.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv_uvm_interface.o
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-usermap.c:15:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-modeset-interface.c:15:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:322: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/os-usermap.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nvlink_linux.o
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:322: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv-modeset-interface.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nvlink_pci.o
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv_uvm_interface.c:21:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:322: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/nv_uvm_interface.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/ebridge_linux.o
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia/ibmnpu_linux.o
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_utils.o
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common.o
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.o
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_page_migration.o
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_utils.c:25:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common.h:62,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common.c:37:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
In file included from /usr/src/linux-headers-4.18.0-kali3-common/include/asm-generic/bug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/arch/x86/include/asm/bug.h:83,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/bug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/mmdebug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/mm.h:9,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-pgprot.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common.h:62,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common.c:37:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h: In function ‘__fatal_signal_pending’:
In file included from /usr/src/linux-headers-4.18.0-kali3-common/include/asm-generic/bug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/arch/x86/include/asm/bug.h:83,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/bug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/mmdebug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/mm.h:9,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-pgprot.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_utils.c:25:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h: In function ‘__fatal_signal_pending’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:212:25: error: implicit declaration of function ‘sigismember’ [-Werror=implicit-function-declaration]
return unlikely(sigismember(&p->pending.signal, SIGKILL));
^~~~~~~~~~~
/usr/src/linux-headers-4.18.0-kali3-common/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:212:25: error: implicit declaration of function ‘sigismember’ [-Werror=implicit-function-declaration]
return unlikely(sigismember(&p->pending.signal, SIGKILL));
^~~~~~~~~~~
/usr/src/linux-headers-4.18.0-kali3-common/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_utils.c:25:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h: In function ‘fatal_signal_pending’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:217:16: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
return signal_pending(p) && __fatal_signal_pending(p);
^~~~~~~~~~~~~~
timer_pending
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common.h:62,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common.c:37:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h: In function ‘fatal_signal_pending’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:217:16: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
return signal_pending(p) && __fatal_signal_pending(p);
^~~~~~~~~~~~~~
timer_pending
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:322: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_utils.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_page_migration_stubs.o
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:323: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_page_migration_kepler.o
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_page_migration_maxwell.o
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_page_migration_pascal.o
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_channel_mgmt.o
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.c:24:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/nvstatus.o
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_page_migration.c:31:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
In file included from /usr/src/linux-headers-4.18.0-kali3-common/include/asm-generic/bug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/arch/x86/include/asm/bug.h:83,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/bug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/mmdebug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/mm.h:9,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-pgprot.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.c:24:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h: In function ‘__fatal_signal_pending’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:212:25: error: implicit declaration of function ‘sigismember’ [-Werror=implicit-function-declaration]
return unlikely(sigismember(&p->pending.signal, SIGKILL));
^~~~~~~~~~~
/usr/src/linux-headers-4.18.0-kali3-common/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.c:24:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h: In function ‘fatal_signal_pending’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:217:16: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
return signal_pending(p) && __fatal_signal_pending(p);
^~~~~~~~~~~~~~
timer_pending
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:323: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/nv-kthread-q.o
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/nv-kthread-q-selftest.o
In file included from /usr/src/linux-headers-4.18.0-kali3-common/include/asm-generic/bug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/arch/x86/include/asm/bug.h:83,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/bug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/mmdebug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/mm.h:9,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-pgprot.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_page_migration.c:31:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h: In function ‘__fatal_signal_pending’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:212:25: error: implicit declaration of function ‘sigismember’ [-Werror=implicit-function-declaration]
return unlikely(sigismember(&p->pending.signal, SIGKILL));
^~~~~~~~~~~
/usr/src/linux-headers-4.18.0-kali3-common/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_page_migration.c:31:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h: In function ‘fatal_signal_pending’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:217:16: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
return signal_pending(p) && __fatal_signal_pending(p);
^~~~~~~~~~~~~~
timer_pending
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:323: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_page_migration.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common_test.o
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common.h:62,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_channel_mgmt.c:23:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
In file included from /usr/src/linux-headers-4.18.0-kali3-common/include/asm-generic/bug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/arch/x86/include/asm/bug.h:83,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/bug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/mmdebug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/mm.h:9,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-pgprot.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common.h:62,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_channel_mgmt.c:23:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h: In function ‘__fatal_signal_pending’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:212:25: error: implicit declaration of function ‘sigismember’ [-Werror=implicit-function-declaration]
return unlikely(sigismember(&p->pending.signal, SIGKILL));
^~~~~~~~~~~
/usr/src/linux-headers-4.18.0-kali3-common/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common.h:62,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_channel_mgmt.c:23:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h: In function ‘fatal_signal_pending’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:217:16: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
return signal_pending(p) && __fatal_signal_pending(p);
^~~~~~~~~~~~~~
timer_pending
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:322: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_channel_mgmt.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_channel_directed_tests.o
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common_test.h:27,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common_test.c:24:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_channel_basic_sanity_tests.o
In file included from /usr/src/linux-headers-4.18.0-kali3-common/include/asm-generic/bug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/arch/x86/include/asm/bug.h:83,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/bug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/mmdebug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/mm.h:9,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-pgprot.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common_test.h:27,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common_test.c:24:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h: In function ‘__fatal_signal_pending’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:212:25: error: implicit declaration of function ‘sigismember’ [-Werror=implicit-function-declaration]
return unlikely(sigismember(&p->pending.signal, SIGKILL));
^~~~~~~~~~~
/usr/src/linux-headers-4.18.0-kali3-common/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_kernel_events.o
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common_test.h:27,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common_test.c:24:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h: In function ‘fatal_signal_pending’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:217:16: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
return signal_pending(p) && __fatal_signal_pending(p);
^~~~~~~~~~~~~~
timer_pending
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:323: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common_test.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_kernel_counters.o
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_channel_mgmt.h:26,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_gpu_ops_tests.h:32,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_channel_directed_tests.c:24:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_channel_mgmt.h:26,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_gpu_ops_tests.h:32,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_channel_basic_sanity_tests.c:23:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
In file included from /usr/src/linux-headers-4.18.0-kali3-common/include/asm-generic/bug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/arch/x86/include/asm/bug.h:83,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/bug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/mmdebug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/mm.h:9,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-pgprot.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_channel_mgmt.h:26,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_gpu_ops_tests.h:32,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_channel_directed_tests.c:24:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h: In function ‘__fatal_signal_pending’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:212:25: error: implicit declaration of function ‘sigismember’ [-Werror=implicit-function-declaration]
return unlikely(sigismember(&p->pending.signal, SIGKILL));
^~~~~~~~~~~
/usr/src/linux-headers-4.18.0-kali3-common/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_channel_mgmt.h:26,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_gpu_ops_tests.h:32,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_channel_directed_tests.c:24:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h: In function ‘fatal_signal_pending’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:217:16: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
return signal_pending(p) && __fatal_signal_pending(p);
^~~~~~~~~~~~~~
timer_pending
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common.h:62,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_kernel_events.c:24:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:322: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_channel_directed_tests.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_debug_session.o
In file included from /usr/src/linux-headers-4.18.0-kali3-common/include/asm-generic/bug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/arch/x86/include/asm/bug.h:83,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/bug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/mmdebug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/mm.h:9,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-pgprot.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_channel_mgmt.h:26,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_gpu_ops_tests.h:32,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_channel_basic_sanity_tests.c:23:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h: In function ‘__fatal_signal_pending’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:212:25: error: implicit declaration of function ‘sigismember’ [-Werror=implicit-function-declaration]
return unlikely(sigismember(&p->pending.signal, SIGKILL));
^~~~~~~~~~~
/usr/src/linux-headers-4.18.0-kali3-common/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_channel_mgmt.h:26,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_gpu_ops_tests.h:32,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_channel_basic_sanity_tests.c:23:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h: In function ‘fatal_signal_pending’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:217:16: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
return signal_pending(p) && __fatal_signal_pending(p);
^~~~~~~~~~~~~~
timer_pending
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common.h:62,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_kernel_counters.c:29:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
In file included from /usr/src/linux-headers-4.18.0-kali3-common/include/asm-generic/bug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/arch/x86/include/asm/bug.h:83,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/bug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/mmdebug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/mm.h:9,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-pgprot.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common.h:62,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_kernel_events.c:24:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h: In function ‘__fatal_signal_pending’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:212:25: error: implicit declaration of function ‘sigismember’ [-Werror=implicit-function-declaration]
return unlikely(sigismember(&p->pending.signal, SIGKILL));
^~~~~~~~~~~
/usr/src/linux-headers-4.18.0-kali3-common/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:323: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_channel_basic_sanity_tests.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_gpu_ops_tests.o
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common.h:62,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_kernel_events.c:24:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h: In function ‘fatal_signal_pending’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:217:16: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
return signal_pending(p) && __fatal_signal_pending(p);
^~~~~~~~~~~~~~
timer_pending
cc1: some warnings being treated as errors
In file included from /usr/src/linux-headers-4.18.0-kali3-common/include/asm-generic/bug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/arch/x86/include/asm/bug.h:83,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/bug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/mmdebug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/mm.h:9,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-pgprot.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common.h:62,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_kernel_counters.c:29:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h: In function ‘__fatal_signal_pending’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:212:25: error: implicit declaration of function ‘sigismember’ [-Werror=implicit-function-declaration]
return unlikely(sigismember(&p->pending.signal, SIGKILL));
^~~~~~~~~~~
/usr/src/linux-headers-4.18.0-kali3-common/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:323: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_kernel_events.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_lite.o
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common.h:62,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_kernel_counters.c:29:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h: In function ‘fatal_signal_pending’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:217:16: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
return signal_pending(p) && __fatal_signal_pending(p);
^~~~~~~~~~~~~~
timer_pending
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-4.18.0-kali3-common/scripts/Makefile.build:323: /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_kernel_counters.o] Error 1
CC [M] /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_page_cache.o
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common.h:62,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_debug_session.c:24:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv_uvm_interface.h:30,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_gpu_ops_tests.c:23:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:225:2: error: #error “This driver requires the ability to change memory types!”
#error “This driver requires the ability to change memory types!”
^~~~~
In file included from /usr/src/linux-headers-4.18.0-kali3-common/include/asm-generic/bug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/arch/x86/include/asm/bug.h:83,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/bug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/mmdebug.h:5,
from /usr/src/linux-headers-4.18.0-kali3-common/include/linux/mm.h:9,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-pgprot.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:39,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common.h:62,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_debug_session.c:24:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h: In function ‘__fatal_signal_pending’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:212:25: error: implicit declaration of function ‘sigismember’ [-Werror=implicit-function-declaration]
return unlikely(sigismember(&p->pending.signal, SIGKILL));
^~~~~~~~~~~
/usr/src/linux-headers-4.18.0-kali3-common/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_common.h:62,
from /tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_debug_session.c:24:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h: In function ‘fatal_signal_pending’:
/tmp/selfgz1556/NVIDIA-Linux-x86_64-367.44/kernel/nvidia-uvm/uvm_linux.h:217:16: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
return signal_pending(p) && __fatal_signal_pending(p);
^~~~~~~~~~~~~~
timer_pending
cc1: some warnings being treated as errors
In file included fro

You try to install an ancient driver version on a system with recent kernel, this will never work!