Toggle navigation
Create Paste
Paste Image
Login
Register
Code Language
apl
asterisk
java
C#
clike
clojure
cobol
coffeescript
commonlisp
css
cypher
d
diff
django
dtd
dylan
ecl
eiffel
erlang
fortran
gas
gfm
gherkin
go
groovy
haml
haskell
haxe
htmlembedded
html
htmlmixed
http
jade
javascript
JSON
jinja2
julia
kotlin
less
livescript
lua
markdown
meta.js
mirc
mllike
mysql
nginx
ntriples
ocaml
octave
pascal
pegjs
perl
php
pig
plsql
properties
puppet
python
q
r
rpm
rst
ruby
rust
sass
scheme
shell
sieve
smalltalk
smarty
smartymixed
solr
sparql
sql
stex
tcl
text
tiddlywiki
tiki
toml
turtle
vb
vbscript
velocity
verilog
xml
xmlpure
xquery
yaml
z80
Author *
Are you human?
Save Pastie
Current Stats
QR
Size:
1.02 MiB
Views:
58
Revisions (1)
Diff
Rev
Date
Size
Rev 1
09/08/17
1.02 MiB
59b28a6ee31c6
Embed Code
View
Collaborate
Beautify
Run
nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Fri Sep 8 08:20:54 2017 installer version: 367.27 PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin nvidia-installer command line: ./nvidia-installer Unable to load: nvidia-installer ncurses v6 user interface Using: nvidia-installer ncurses user interface -> Detected 1 CPUs online; setting concurrency level to 1. -> License accepted. -> Installing NVIDIA driver version 367.27. -> Performing CC sanity check with CC="/usr/bin/cc". -> Kernel source path: '/lib/modules/4.12.0-kali1-amd64/source' -> Kernel output path: '/lib/modules/4.12.0-kali1-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 -j1 clean NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.12.0-kali1-amd64/source" SYSOUT="/lib/modules/4.12.0-kali1-amd64/build"'... rm -f -r conftest /usr/bin/make "CC=cc" KBUILD_OUTPUT=/lib/modules/4.12.0-kali1-amd64/build KBUILD_VERBOSE= -C /lib/modules/4.12.0-kali1-amd64/source M=/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.12.0-kali1-amd64/source NV_KERNEL_OUTPUT=/lib/modules/4.12.0-kali1-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.12.0-kali1-common' make[2]: Entering directory '/usr/src/linux-headers-4.12.0-kali1-amd64' make[2]: Leaving directory '/usr/src/linux-headers-4.12.0-kali1-amd64' make[1]: Leaving directory '/usr/src/linux-headers-4.12.0-kali1-common' -> Building kernel modules executing: 'cd ./kernel; /usr/bin/make -k -j1 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.12.0-kali1-amd64/source" SYSOUT="/lib/modules/4.12.0-kali1-amd64/build"'... /usr/bin/make "CC=cc" KBUILD_OUTPUT=/lib/modules/4.12.0-kali1-amd64/build KBUILD_VERBOSE= -C /lib/modules/4.12.0-kali1-amd64/source M=/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.12.0-kali1-amd64/source NV_KERNEL_OUTPUT=/lib/modules/4.12.0-kali1-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.12.0-kali1-common' make[2]: Entering directory '/usr/src/linux-headers-4.12.0-kali1-amd64' 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: console_lock CONFTEST: kmem_cache_create 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: remap_page_range CONFTEST: address_space_init_once CONFTEST: kbasename CONFTEST: fatal_signal_pending CONFTEST: list_cut_position CONFTEST: hlist_for_each_entry CONFTEST: vzalloc CONFTEST: wait_on_bit_lock_argument_count CONFTEST: bitmap_clear CONFTEST: usleep_range 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: 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/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-frontend.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-frontend.c:13:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-frontend.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-frontend.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-instance.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-instance.c:13:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-instance.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-instance.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv.c:13:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-acpi.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-acpi.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-acpi.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-acpi.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-chrdev.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-chrdev.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-chrdev.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-chrdev.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-cray.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-cray.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-cray.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-cray.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-dma.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-dma.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-dma.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-dma.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-gvi.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-gvi.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-gvi.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-gvi.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-i2c.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-i2c.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-i2c.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-i2c.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-mempool.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-mempool.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-mempool.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-mempool.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-mmap.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-mmap.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-mmap.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-mmap.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-p2p.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-p2p.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-p2p.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-p2p.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-pat.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-pat.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-pat.c: In function ânvidia_cpu_callbackâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/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/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-pat.c:213:14: note: each undeclared identifier is reported only once for each function it appears in /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/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/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-pat.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-pat.c: In function ânv_init_pat_supportâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:387: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/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-pat.c:258:17: note: in expansion of macro âregister_hotcpu_notifierâ if (register_hotcpu_notifier(&nv_hotcpu_nfb) != 0) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-pat.c: In function ânv_teardown_pat_supportâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:384: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/selfgz3971/NVIDIA-Linux-x86_64-367.27/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 /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-pat.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-pat.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-procfs.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-procfs.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-procfs.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-procfs.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-usermap.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-usermap.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-usermap.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-usermap.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-vm.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-vm.c:14:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-vm.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-vm.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-vtophys.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-vtophys.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-vtophys.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-vtophys.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-interface.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-interface.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-interface.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-interface.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-mlock.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-mlock.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-mlock.c: In function âos_lock_user_pagesâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/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/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-mlock.c:15: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:1342:6: note: expected âstruct page **â but argument is of type âNvBool {aka unsigned char}â long get_user_pages(unsigned long start, unsigned long nr_pages, ^~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/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/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-mlock.c:15: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:1342:6: note: expected âstruct vm_area_struct **â but argument is of type âstruct page **â long get_user_pages(unsigned long start, unsigned long nr_pages, ^~~~~~~~~~~~~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:18:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/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/selfgz3971/NVIDIA-Linux-x86_64-367.27/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/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-mlock.c:15: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:1342:6: note: declared here long get_user_pages(unsigned long start, unsigned long nr_pages, ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-mlock.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-mlock.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-pci.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-pci.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-pci.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-pci.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-registry.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-registry.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-registry.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-registry.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-usermap.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-usermap.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-usermap.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-usermap.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-modeset-interface.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-modeset-interface.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-modeset-interface.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-modeset-interface.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-pci-table.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv_uvm_interface.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv_uvm_interface.c:21:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv_uvm_interface.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv_uvm_interface.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nvlink_linux.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nvlink_pci.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/ebridge_linux.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/ibmnpu_linux.o SYMLINK /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-kernel.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_utils.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_utils.c:25:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_utils.c:25: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_utils.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_utils.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.c:37: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.c:37: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.c:37: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.c:37: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.c:24:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_migration.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_migration.c:31: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_migration.c:31: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_migration.c:31:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_migration.c:31: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_migration.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_migration.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_migration_stubs.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_migration_kepler.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_migration_maxwell.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_migration_pascal.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.c:23: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/nvstatus.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common_test.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_directed_tests.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.h:26, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.h:32, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_directed_tests.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.h:26, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.h:32, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_directed_tests.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.h:26:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.h:32, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_directed_tests.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.h:26, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.h:32, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_directed_tests.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_directed_tests.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_directed_tests.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_basic_sanity_tests.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.h:26, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.h:32, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_basic_sanity_tests.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.h:26, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.h:32, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_basic_sanity_tests.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.h:26:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.h:32, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_basic_sanity_tests.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.h:26, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.h:32, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_basic_sanity_tests.c:23: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_basic_sanity_tests.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_basic_sanity_tests.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_events.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_events.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_events.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_events.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_events.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_events.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_events.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_counters.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_counters.c:29: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_counters.c:29: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_counters.c:29: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_counters.c:29: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_counters.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_counters.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_debug_session.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_debug_session.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_debug_session.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_debug_session.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_debug_session.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_debug_session.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_debug_session.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.c:23: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.c:26: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.c:26: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.c:26: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.c:26: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.c: In function â_faultâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.c:1336:45: error: âstruct vm_faultâ has no member named âvirtual_addressâ unsigned long vaddr = (unsigned long)vmf->virtual_address; ^~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.c: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.c:1366:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .fault = _fault, ^~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.c:1366:14: note: (near initialization for âuvmlite_vma_ops.faultâ) /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.c:1396:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .fault = _sigbus_fault, ^~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.c:1396:14: note: (near initialization for âcounters_vma_ops.faultâ) cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_cache.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_cache.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_cache.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_cache.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_cache.c:25: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_cache.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_cache.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_api.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_api.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_api.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_api.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_api.c:25: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_api.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_api.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_prefetch.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_prefetch.c:28: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_prefetch.c:28: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_prefetch.c:28: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_prefetch.c:28: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_prefetch.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_prefetch.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_region_tracking.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_region_tracking.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_region_tracking.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_region_tracking.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_region_tracking.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_region_tracking.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_region_tracking.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_region_tracking.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_region_tracking.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_region_tracking.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_region_tracking.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_mmu_mgmt_pascal.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_mmu_mgmt.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_mmu_mgmt_stubs.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_full_fault_buffer.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_full_fault_buffer_pascal.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_full_fault_buffer_pascal.c:26: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_full_fault_buffer_pascal.c:26: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_full_fault_buffer_pascal.c:26: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_full_fault_buffer_pascal.c:26: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_full_fault_buffer_pascal.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_full_fault_buffer_pascal.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu_fmt.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../compat.h:312, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/mmu_fmt.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu_fmt.c:10: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../compat.h:312, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/mmu_fmt.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu_fmt.c:10: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../compat.h:312, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/mmu_fmt.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu_fmt.c:10: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../compat.h:312, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/mmu_fmt.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu_fmt.c:10: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu_fmt.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu_fmt.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/gmmu_fmt.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../compat.h:312, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../field_desc.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/gmmu_fmt.h:54, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/gmmu_fmt.c:10: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../compat.h:312, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../field_desc.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/gmmu_fmt.h:54, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/gmmu_fmt.c:10: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../compat.h:312, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../field_desc.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/gmmu_fmt.h:54, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/gmmu_fmt.c:10: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../compat.h:312, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../field_desc.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/gmmu_fmt.h:54, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/gmmu_fmt.c:10: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/gmmu_fmt.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/gmmu_fmt.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernel.h:13:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/asm-generic/bug.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c: In function âuvm_vm_fault_sigbusâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:87:68: error: âstruct vm_faultâ has no member named âvirtual_addressâ UVM_DBG_PRINT_RL("Fault to address 0x%p in disabled vman", vmf->virtual_address); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/printk.h:422:17: note: in definition of macro âprintk_ratelimitedâ printk(fmt, ##__VA_ARGS__); ^~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:85:13: note: in expansion of macro âUVM_PRINT_FUNC_PREFIXâ UVM_PRINT_FUNC_PREFIX(func, prefix, fmt, ##__VA_ARGS__); ^~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:99:5: note: in expansion of macro âUVM_PRINT_FUNC_PREFIX_CHECKâ UVM_PRINT_FUNC_PREFIX_CHECK(printk_ratelimited, KERN_DEBUG NVIDIA_UVM_PRETTY_PRINTING_PREFIX, " " fmt, ##__VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:87:5: note: in expansion of macro âUVM_DBG_PRINT_RLâ UVM_DBG_PRINT_RL("Fault to address 0x%p in disabled vman", vmf->virtual_address); ^~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:94:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .fault = uvm_vm_fault_sigbus ^~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:94:14: note: (near initialization for âuvm_vm_ops_disabled.faultâ) /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c: In function âuvm_vm_faultâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:294:45: error: âstruct vm_faultâ has no member named âvirtual_addressâ NvU64 fault_addr = (NvU64)(uintptr_t)vmf->virtual_address; ^~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:348:21: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .fault = uvm_vm_fault, ^~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:348:21: note: (near initialization for âuvm_vm_ops.faultâ) /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:349:21: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .page_mkwrite = uvm_vm_fault, ^~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:349:21: note: (near initialization for âuvm_vm_ops.page_mkwriteâ) cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.c:23: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.c: In function âmap_user_pagesâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.c:164:55: error: passing argument 5 of âget_user_pagesâ from incompatible pointer type [-Werror=incompatible-pointer-types] ret = NV_GET_USER_PAGES(user_va, num_pages, 1, 0, *pages, vmas); ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.c:23: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:1342:6: note: expected âstruct vm_area_struct **â but argument is of type âstruct page **â long get_user_pages(unsigned long start, unsigned long nr_pages, ^~~~~~~~~~~~~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:18:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/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/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.c:164:11: note: in expansion of macro âNV_GET_USER_PAGESâ ret = NV_GET_USER_PAGES(user_va, num_pages, 1, 0, *pages, vmas); ^~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.c:23: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:1342:6: note: declared here long get_user_pages(unsigned long start, unsigned long nr_pages, ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_procfs.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_procfs.h:28:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_procfs.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_procfs.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_procfs.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_range.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_range.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_range.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_range.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block.c:24:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_group.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_group.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_group.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_group.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/types.h:5, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sort.h:4, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.c:25: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:32:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.c:26: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.c: In function âuvm_gpu_isr_unlockâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.c:1593:28: error: passing argument 1 of âatomic_readâ from incompatible pointer type [-Werror=incompatible-pointer-types] UVM_ASSERT(atomic_read(&gpu->gpu_kref.refcount) > 0); ^ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:138:45: note: in definition of macro âUVM_IGNORE_EXPRâ #define UVM_IGNORE_EXPR(expr) ((void)sizeof(expr)) ^~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:168:26: note: in expansion of macro â_UVM_ASSERT_MSGâ #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "n") ^~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.c:1593:5: note: in expansion of macro âUVM_ASSERTâ UVM_ASSERT(atomic_read(&gpu->gpu_kref.refcount) > 0); ^~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/msr.h:66:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/processor.h:20, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/cpufeature.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/thread_info.h:52, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/thread_info.h:37, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/preempt.h:6, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/preempt.h:80, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmzone.h:7, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/gfp.h:5, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:9, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.c:25: /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/atomic.h:24:28: note: expected âconst atomic_t * {aka const struct <anonymous> *}â but argument is of type ârefcount_t * {aka struct refcount_struct *}â static __always_inline int atomic_read(const atomic_t *v) ^~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu.c:26: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pte_batch.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pte_batch.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pte_batch.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tlb_batch.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tlb_batch.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tlb_batch.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pushbuffer.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pushbuffer.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pushbuffer.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pushbuffer.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pushbuffer.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pushbuffer.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pushbuffer.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_thread_context.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_thread_context.c:25: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_thread_context.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_thread_context.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker.h:29:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_ce.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_ce.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_ce.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_host.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_host.c:24:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_host.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_host.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_mmu.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_mmu.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_mmu.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell_host.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell_host.c:24:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell_host.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell_host.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_ce.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_ce.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_ce.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_host.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_host.c:24:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_host.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_host.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_mmu.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_mmu.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_mmu.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_policy.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_policy.c:25: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_policy.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_policy.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_gpu.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_gpu.c:31: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_gpu.c:31: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_gpu.c:31: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_gpu.c:31: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_gpu.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_gpu.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_migrate.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_migrate.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_migrate.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_migrate.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_map_external.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_map_external.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_map_external.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_map_external.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_user_channel.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_user_channel.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_user_channel.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_user_channel.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hmm.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hmm.h:29:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hmm.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hmm.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hmm.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_heuristics.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_heuristics.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_heuristics.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_thrashing.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_thrashing.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_thrashing.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test_rng.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test_rng.h:28:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test_rng.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test_rng.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test_rng.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_page_tree_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_page_tree_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_page_tree_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_ce_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_ce_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_ce_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_ce_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils_test.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/types.h:5, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/log2.h:15, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils_test.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils_test.c:25: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_process_va_space_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_process_va_space_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_process_va_space_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_process_va_space_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_process_va_space_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_process_va_space_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_process_va_space_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-modeset/nvidia-modeset-linux.o SYMLINK /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-modeset/nv-modeset-kernel.o LD [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-modeset.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c:29:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:43:24: error: field âbaseâ has incomplete type struct drm_encoder base; ^~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c:67:18: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .fb_create = nvidia_drm_framebuffer_create, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c:67:18: note: (near initialization for ânv_mode_config_funcs.fb_createâ) /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c: In function ânvidia_drm_migrate_modeset_ownershipâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c:455:26: error: âstruct drm_minorâ has no member named âmasterâ !file_priv->minor->master) ^~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c:476:5: error: implicit declaration of function âdrm_master_putâ; did you mean âdrm_mm_printâ? [-Werror=implicit-function-declaration] drm_master_put(&file_priv->minor->master); ^~~~~~~~~~~~~~ drm_mm_print /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c:476:37: error: âstruct drm_minorâ has no member named âmasterâ drm_master_put(&file_priv->minor->master); ^~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c: In function ânvidia_drm_pci_set_busidâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c:493:11: error: dereferencing pointer to incomplete type âstruct drm_masterâ master->unique = nvidia_drm_asprintf("pci:%04x:%02x:%02x.%d", ^~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c:615:31: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .unload = nvidia_drm_unload, ^~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c:615:31: note: (near initialization for ânv_drm_driver.unloadâ) /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c: In function ânvidia_update_drm_driver_featuresâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c:655:36: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] nv_drm_driver.master_drop = nvidia_drm_master_drop; ^ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-utils.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-crtc.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c:28:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:43:24: error: field âbaseâ has incomplete type struct drm_encoder base; ^~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/list.h:8:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/agp_backend.h:33, from /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drmP.h:35, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-priv.h:30, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c:27: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c: In function ânvidia_encoder_destroyâ: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernel.h:863:48: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] const typeof( ((type *)0)->member ) *__mptr = (ptr); ^ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:47:5: note: in expansion of macro âcontainer_ofâ container_of(__encoder, struct nvidia_drm_encoder, base) ^~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c:42:45: note: in expansion of macro âDRM_ENCODER_TO_NV_ENCODERâ struct nvidia_drm_encoder *nv_encoder = DRM_ENCODER_TO_NV_ENCODER(encoder); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernel.h:863:48: note: (near initialization for ânv_encoderâ) const typeof( ((type *)0)->member ) *__mptr = (ptr); ^ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:47:5: note: in expansion of macro âcontainer_ofâ container_of(__encoder, struct nvidia_drm_encoder, base) ^~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c:42:45: note: in expansion of macro âDRM_ENCODER_TO_NV_ENCODERâ struct nvidia_drm_encoder *nv_encoder = DRM_ENCODER_TO_NV_ENCODER(encoder); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c: In function ânvidia_drm_add_encoderâ: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernel.h:863:48: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] const typeof( ((type *)0)->member ) *__mptr = (ptr); ^ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:47:5: note: in expansion of macro âcontainer_ofâ container_of(__encoder, struct nvidia_drm_encoder, base) ^~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c:293:18: note: in expansion of macro âDRM_ENCODER_TO_NV_ENCODERâ nv_encoder = DRM_ENCODER_TO_NV_ENCODER(encoder); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c: In function âget_nv_encoder_from_nvkms_displayâ: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernel.h:863:48: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] const typeof( ((type *)0)->member ) *__mptr = (ptr); ^ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:47:5: note: in expansion of macro âcontainer_ofâ container_of(__encoder, struct nvidia_drm_encoder, base) ^~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c:330:21: note: in expansion of macro âDRM_ENCODER_TO_NV_ENCODERâ DRM_ENCODER_TO_NV_ENCODER(encoder); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernel.h:863:48: note: (near initialization for ânv_encoderâ) const typeof( ((type *)0)->member ) *__mptr = (ptr); ^ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:47:5: note: in expansion of macro âcontainer_ofâ container_of(__encoder, struct nvidia_drm_encoder, base) ^~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c:330:21: note: in expansion of macro âDRM_ENCODER_TO_NV_ENCODERâ DRM_ENCODER_TO_NV_ENCODER(encoder); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c: In function ânvidia_drm_handle_dynamic_display_connectedâ: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernel.h:863:48: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] const typeof( ((type *)0)->member ) *__mptr = (ptr); ^ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:47:5: note: in expansion of macro âcontainer_ofâ container_of(__encoder, struct nvidia_drm_encoder, base) ^~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c:453:18: note: in expansion of macro âDRM_ENCODER_TO_NV_ENCODERâ nv_encoder = DRM_ENCODER_TO_NV_ENCODER(encoder); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c: In function ânvidia_encoder_newâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c:168:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-connector.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-connector.c:30:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:43:24: error: field âbaseâ has incomplete type struct drm_encoder base; ^~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/list.h:8:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/agp_backend.h:33, from /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drmP.h:35, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-priv.h:30, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-connector.c:27: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-connector.c: In function ânvidia_connector_detectâ: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernel.h:863:48: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] const typeof( ((type *)0)->member ) *__mptr = (ptr); ^ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:47:5: note: in expansion of macro âcontainer_ofâ container_of(__encoder, struct nvidia_drm_encoder, base) ^~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-connector.c:118:22: note: in expansion of macro âDRM_ENCODER_TO_NV_ENCODERâ nv_encoder = DRM_ENCODER_TO_NV_ENCODER(encoder); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernel.h:863:48: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] const typeof( ((type *)0)->member ) *__mptr = (ptr); ^ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:47:5: note: in expansion of macro âcontainer_ofâ container_of(__encoder, struct nvidia_drm_encoder, base) ^~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-connector.c:135:27: note: in expansion of macro âDRM_ENCODER_TO_NV_ENCODERâ nv_detected_encoder = DRM_ENCODER_TO_NV_ENCODER(detected_encoder); ^~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-connector.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-connector.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-gem.o /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-gem.c: In function ânvidia_drm_dumb_map_offsetâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-gem.c:411:33: error: passing argument 1 of âdrm_gem_object_lookupâ from incompatible pointer type [-Werror=incompatible-pointer-types] gem = drm_gem_object_lookup(dev, file, handle); ^~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-priv.h:33:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-gem.c:27: /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_gem.h:319:24: note: expected âstruct drm_file *â but argument is of type âstruct drm_device *â struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle); ^~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-gem.c:411:38: warning: passing argument 2 of âdrm_gem_object_lookupâ makes integer from pointer without a cast [-Wint-conversion] gem = drm_gem_object_lookup(dev, file, handle); ^~~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-priv.h:33:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-gem.c:27: /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_gem.h:319:24: note: expected âu32 {aka unsigned int}â but argument is of type âstruct drm_file *â struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle); ^~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-gem.c:411:11: error: too many arguments to function âdrm_gem_object_lookupâ gem = drm_gem_object_lookup(dev, file, handle); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-priv.h:33:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-gem.c:27: /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_gem.h:319:24: note: declared here struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle); ^~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-gem.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-gem.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.o /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c: In function âinternal_framebuffer_createâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:117:33: error: passing argument 1 of âdrm_gem_object_lookupâ from incompatible pointer type [-Werror=incompatible-pointer-types] gem = drm_gem_object_lookup(dev, file, cmd->handles[0]); ^~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-priv.h:33:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:27: /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_gem.h:319:24: note: expected âstruct drm_file *â but argument is of type âstruct drm_device *â struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle); ^~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:117:38: warning: passing argument 2 of âdrm_gem_object_lookupâ makes integer from pointer without a cast [-Wint-conversion] gem = drm_gem_object_lookup(dev, file, cmd->handles[0]); ^~~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-priv.h:33:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:27: /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_gem.h:319:24: note: expected âu32 {aka unsigned int}â but argument is of type âstruct drm_file *â struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle); ^~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:117:11: error: too many arguments to function âdrm_gem_object_lookupâ gem = drm_gem_object_lookup(dev, file, cmd->handles[0]); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-priv.h:33:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:27: /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_gem.h:319:24: note: declared here struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle); ^~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:156:36: error: passing argument 1 of âdrm_helper_mode_fill_fb_structâ from incompatible pointer type [-Werror=incompatible-pointer-types] drm_helper_mode_fill_fb_struct(&nv_fb->base, cmd); ^ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_crtc_helper.h:44:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:33: /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_modeset_helper.h:30:6: note: expected âstruct drm_device *â but argument is of type âstruct drm_framebuffer *â void drm_helper_mode_fill_fb_struct(struct drm_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:156:50: error: passing argument 2 of âdrm_helper_mode_fill_fb_structâ from incompatible pointer type [-Werror=incompatible-pointer-types] drm_helper_mode_fill_fb_struct(&nv_fb->base, cmd); ^~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_crtc_helper.h:44:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:33: /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_modeset_helper.h:30:6: note: expected âstruct drm_framebuffer *â but argument is of type âstruct drm_mode_fb_cmd2 *â void drm_helper_mode_fill_fb_struct(struct drm_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:156:5: error: too few arguments to function âdrm_helper_mode_fill_fb_structâ drm_helper_mode_fill_fb_struct(&nv_fb->base, cmd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_crtc_helper.h:44:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:33: /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_modeset_helper.h:30:6: note: declared here void drm_helper_mode_fill_fb_struct(struct drm_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-modeset.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-modeset.c:33:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:43:24: error: field âbaseâ has incomplete type struct drm_encoder base; ^~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-modeset.c: In function ânvidia_drm_atomic_commit_task_callbackâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-modeset.c:589:5: error: implicit declaration of function âdrm_atomic_state_freeâ; did you mean â__drm_atomic_state_freeâ? [-Werror=implicit-function-declaration] drm_atomic_state_free(state); ^~~~~~~~~~~~~~~~~~~~~ __drm_atomic_state_free /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-modeset.c: In function ânvidia_drm_atomic_commitâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-modeset.c:669:34: error: passing argument 1 of âdrm_atomic_helper_swap_stateâ from incompatible pointer type [-Werror=incompatible-pointer-types] drm_atomic_helper_swap_state(dev, state); ^~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-modeset.c:36:0: /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_atomic_helper.h:80:6: note: expected âstruct drm_atomic_state *â but argument is of type âstruct drm_device *â void drm_atomic_helper_swap_state(struct drm_atomic_state *state, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-modeset.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-modeset.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-mmap.o /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-mmap.c: In function ânvidia_drm_gem_mmapâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-mmap.c:114:50: error: passing argument 2 of âdrm_vma_node_is_allowedâ from incompatible pointer type [-Werror=incompatible-pointer-types] if (!drm_vma_node_is_allowed(&gem->vma_node, filp)) ^~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_gem.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-priv.h:33, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-mmap.c:27: /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_vma_manager.h:66:6: note: expected âstruct drm_file *â but argument is of type âstruct file *â bool drm_vma_node_is_allowed(struct drm_vma_offset_node *node, ^~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-mmap.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-mmap.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-linux.o /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-linux.c: In function ânvidia_drm_lock_user_pagesâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-linux.c:125:67: warning: passing argument 4 of âget_user_pagesâ makes pointer from integer without a cast [-Wint-conversion] pages_pinned = NV_GET_USER_PAGES(address, pages_count, write, force, ^~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/scatterlist.h:7:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/dma-mapping.h:10, from /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drmP.h:37, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-os-interface.h:32, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-linux.c:27: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:1342:6: note: expected âstruct page **â but argument is of type âintâ long get_user_pages(unsigned long start, unsigned long nr_pages, ^~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-linux.c:126:38: error: passing argument 5 of âget_user_pagesâ from incompatible pointer type [-Werror=incompatible-pointer-types] user_pages, NULL); ^~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/scatterlist.h:7:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/dma-mapping.h:10, from /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drmP.h:37, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-os-interface.h:32, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-linux.c:27: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:1342:6: note: expected âstruct vm_area_struct **â but argument is of type âstruct page **â long get_user_pages(unsigned long start, unsigned long nr_pages, ^~~~~~~~~~~~~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-linux.c:34:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/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/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-linux.c:125:20: note: in expansion of macro âNV_GET_USER_PAGESâ pages_pinned = NV_GET_USER_PAGES(address, pages_count, write, force, ^~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/scatterlist.h:7:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/dma-mapping.h:10, from /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drmP.h:37, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-os-interface.h:32, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-linux.c:27: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:1342:6: note: declared here long get_user_pages(unsigned long start, unsigned long nr_pages, ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-linux.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-linux.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nv-pci-table.o ld -r -o /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-modeset/nv-modeset-interface.o /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-modeset/nvidia-modeset-linux.o make[3]: Target '__build' not remade because of errors. /usr/src/linux-headers-4.12.0-kali1-common/Makefile:1532: recipe for target '_module_/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel' failed make[2]: *** [_module_/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel] Error 2 make[2]: Target 'modules' not remade because of errors. make[2]: Leaving directory '/usr/src/linux-headers-4.12.0-kali1-amd64' Makefile:152: recipe for target 'sub-make' failed make[1]: *** [sub-make] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/linux-headers-4.12.0-kali1-common' Makefile:81: recipe for target 'modules' failed make: *** [modules] Error 2 -> Error. ERROR: An error occurred while performing the step: "Building kernel modules". See /var/log/nvidia-installer.log for details. -> The command `cd ./kernel; /usr/bin/make -k -j1 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.12.0-kali1-amd64/source" SYSOUT="/lib/modules/4.12.0-kali1-amd64/build"` failed with the following output: /usr/bin/make "CC=cc" KBUILD_OUTPUT=/lib/modules/4.12.0-kali1-amd64/build KBUILD_VERBOSE= -C /lib/modules/4.12.0-kali1-amd64/source M=/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.12.0-kali1-amd64/source NV_KERNEL_OUTPUT=/lib/modules/4.12.0-kali1-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.12.0-kali1-common' make[2]: Entering directory '/usr/src/linux-headers-4.12.0-kali1-amd64' 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: console_lock CONFTEST: kmem_cache_create 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: remap_page_range CONFTEST: address_space_init_once CONFTEST: kbasename CONFTEST: fatal_signal_pending CONFTEST: list_cut_position CONFTEST: hlist_for_each_entry CONFTEST: vzalloc CONFTEST: wait_on_bit_lock_argument_count CONFTEST: bitmap_clear CONFTEST: usleep_range 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: 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/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-frontend.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-frontend.c:13:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-frontend.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-frontend.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-instance.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-instance.c:13:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-instance.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-instance.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv.c:13:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-acpi.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-acpi.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-acpi.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-acpi.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-chrdev.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-chrdev.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-chrdev.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-chrdev.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-cray.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-cray.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-cray.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-cray.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-dma.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-dma.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-dma.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-dma.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-gvi.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-gvi.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-gvi.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-gvi.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-i2c.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-i2c.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-i2c.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-i2c.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-mempool.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-mempool.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-mempool.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-mempool.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-mmap.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-mmap.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-mmap.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-mmap.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-p2p.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-p2p.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-p2p.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-p2p.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-pat.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-pat.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-pat.c: In function ânvidia_cpu_callbackâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/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/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-pat.c:213:14: note: each undeclared identifier is reported only once for each function it appears in /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/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/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-pat.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-pat.c: In function ânv_init_pat_supportâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:387: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/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-pat.c:258:17: note: in expansion of macro âregister_hotcpu_notifierâ if (register_hotcpu_notifier(&nv_hotcpu_nfb) != 0) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-pat.c: In function ânv_teardown_pat_supportâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:384: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/selfgz3971/NVIDIA-Linux-x86_64-367.27/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 /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-pat.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-pat.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-procfs.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-procfs.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-procfs.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-procfs.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-usermap.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-usermap.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-usermap.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-usermap.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-vm.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-vm.c:14:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-vm.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-vm.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-vtophys.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-vtophys.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-vtophys.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-vtophys.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-interface.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-interface.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-interface.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-interface.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-mlock.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-mlock.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-mlock.c: In function âos_lock_user_pagesâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/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/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-mlock.c:15: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:1342:6: note: expected âstruct page **â but argument is of type âNvBool {aka unsigned char}â long get_user_pages(unsigned long start, unsigned long nr_pages, ^~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/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/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-mlock.c:15: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:1342:6: note: expected âstruct vm_area_struct **â but argument is of type âstruct page **â long get_user_pages(unsigned long start, unsigned long nr_pages, ^~~~~~~~~~~~~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:18:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/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/selfgz3971/NVIDIA-Linux-x86_64-367.27/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/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-mlock.c:15: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:1342:6: note: declared here long get_user_pages(unsigned long start, unsigned long nr_pages, ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-mlock.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-mlock.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-pci.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-pci.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-pci.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-pci.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-registry.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-registry.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-registry.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-registry.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-usermap.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-usermap.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-usermap.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/os-usermap.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-modeset-interface.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-modeset-interface.c:15:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-modeset-interface.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-modeset-interface.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-pci-table.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv_uvm_interface.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv_uvm_interface.c:21:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv_uvm_interface.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv_uvm_interface.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nvlink_linux.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nvlink_pci.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/ebridge_linux.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/ibmnpu_linux.o SYMLINK /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia/nv-kernel.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_utils.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_utils.c:25:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_utils.c:25: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_utils.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_utils.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.c:37: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.c:37: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.c:37: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.c:37: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.c:24:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_migration.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_migration.c:31: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_migration.c:31: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_migration.c:31:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_migration.c:31: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_migration.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_migration.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_migration_stubs.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_migration_kepler.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_migration_maxwell.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_migration_pascal.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.c:23: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/nvstatus.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common_test.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_directed_tests.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.h:26, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.h:32, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_directed_tests.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.h:26, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.h:32, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_directed_tests.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.h:26:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.h:32, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_directed_tests.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.h:26, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.h:32, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_directed_tests.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_directed_tests.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_directed_tests.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_basic_sanity_tests.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.h:26, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.h:32, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_basic_sanity_tests.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.h:26, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.h:32, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_basic_sanity_tests.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.h:26:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.h:32, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_basic_sanity_tests.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_mgmt.h:26, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.h:32, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_basic_sanity_tests.c:23: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_basic_sanity_tests.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_channel_basic_sanity_tests.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_events.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_events.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_events.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_events.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_events.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_events.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_events.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_counters.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_counters.c:29: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_counters.c:29: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_counters.c:29: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_counters.c:29: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_counters.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_kernel_counters.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_debug_session.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_debug_session.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_debug_session.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_debug_session.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_debug_session.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_debug_session.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_debug_session.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.c:23: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_gpu_ops_tests.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.c:26: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.c:26: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.c:26: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.c:26: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.c: In function â_faultâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.c:1336:45: error: âstruct vm_faultâ has no member named âvirtual_addressâ unsigned long vaddr = (unsigned long)vmf->virtual_address; ^~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.c: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.c:1366:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .fault = _fault, ^~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.c:1366:14: note: (near initialization for âuvmlite_vma_ops.faultâ) /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.c:1396:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .fault = _sigbus_fault, ^~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.c:1396:14: note: (near initialization for âcounters_vma_ops.faultâ) cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_cache.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_cache.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_cache.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_cache.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_cache.c:25: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_cache.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_page_cache.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_api.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_api.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_api.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_api.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_api.c:25: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_api.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_api.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_prefetch.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_prefetch.c:28: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_prefetch.c:28: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_prefetch.c:28: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_prefetch.c:28: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_prefetch.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_prefetch.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_region_tracking.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_region_tracking.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_region_tracking.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_region_tracking.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_region_tracking.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_region_tracking.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_region_tracking.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_region_tracking.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_region_tracking.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_region_tracking.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_lite_region_tracking.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_mmu_mgmt_pascal.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_mmu_mgmt.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_mmu_mgmt_stubs.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_full_fault_buffer.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_full_fault_buffer_pascal.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_full_fault_buffer_pascal.c:26: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_full_fault_buffer_pascal.c:26: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_full_fault_buffer_pascal.c:26: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_full_fault_buffer_pascal.c:26: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_full_fault_buffer_pascal.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_full_fault_buffer_pascal.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu_fmt.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../compat.h:312, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/mmu_fmt.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu_fmt.c:10: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../compat.h:312, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/mmu_fmt.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu_fmt.c:10: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../compat.h:312, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/mmu_fmt.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu_fmt.c:10: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../compat.h:312, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/mmu_fmt.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu_fmt.c:10: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu_fmt.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu_fmt.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/gmmu_fmt.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../compat.h:312, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../field_desc.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/gmmu_fmt.h:54, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/gmmu_fmt.c:10: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../compat.h:312, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../field_desc.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/gmmu_fmt.h:54, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/gmmu_fmt.c:10: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../compat.h:312, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../field_desc.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/gmmu_fmt.h:54, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/gmmu_fmt.c:10: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../compat.h:312, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/../field_desc.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/mmu/gmmu_fmt.h:54, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/gmmu_fmt.c:10: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/gmmu_fmt.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/gmmu_fmt.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernel.h:13:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/asm-generic/bug.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c: In function âuvm_vm_fault_sigbusâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:87:68: error: âstruct vm_faultâ has no member named âvirtual_addressâ UVM_DBG_PRINT_RL("Fault to address 0x%p in disabled vman", vmf->virtual_address); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/printk.h:422:17: note: in definition of macro âprintk_ratelimitedâ printk(fmt, ##__VA_ARGS__); ^~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:85:13: note: in expansion of macro âUVM_PRINT_FUNC_PREFIXâ UVM_PRINT_FUNC_PREFIX(func, prefix, fmt, ##__VA_ARGS__); ^~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:99:5: note: in expansion of macro âUVM_PRINT_FUNC_PREFIX_CHECKâ UVM_PRINT_FUNC_PREFIX_CHECK(printk_ratelimited, KERN_DEBUG NVIDIA_UVM_PRETTY_PRINTING_PREFIX, " " fmt, ##__VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:87:5: note: in expansion of macro âUVM_DBG_PRINT_RLâ UVM_DBG_PRINT_RL("Fault to address 0x%p in disabled vman", vmf->virtual_address); ^~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:94:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .fault = uvm_vm_fault_sigbus ^~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:94:14: note: (near initialization for âuvm_vm_ops_disabled.faultâ) /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c: In function âuvm_vm_faultâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:294:45: error: âstruct vm_faultâ has no member named âvirtual_addressâ NvU64 fault_addr = (NvU64)(uintptr_t)vmf->virtual_address; ^~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:348:21: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .fault = uvm_vm_fault, ^~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:348:21: note: (near initialization for âuvm_vm_ops.faultâ) /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:349:21: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .page_mkwrite = uvm_vm_fault, ^~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.c:349:21: note: (near initialization for âuvm_vm_ops.page_mkwriteâ) cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.c:23: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.c: In function âmap_user_pagesâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.c:164:55: error: passing argument 5 of âget_user_pagesâ from incompatible pointer type [-Werror=incompatible-pointer-types] ret = NV_GET_USER_PAGES(user_va, num_pages, 1, 0, *pages, vmas); ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.c:23: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:1342:6: note: expected âstruct vm_area_struct **â but argument is of type âstruct page **â long get_user_pages(unsigned long start, unsigned long nr_pages, ^~~~~~~~~~~~~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:18:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/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/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.c:164:11: note: in expansion of macro âNV_GET_USER_PAGESâ ret = NV_GET_USER_PAGES(user_va, num_pages, 1, 0, *pages, vmas); ^~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.c:23: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:1342:6: note: declared here long get_user_pages(unsigned long start, unsigned long nr_pages, ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tools.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_procfs.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_procfs.h:28:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_procfs.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_procfs.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_procfs.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_range.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_range.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_range.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_range.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block.c:24:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_group.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_group.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_group.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_group.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/types.h:5, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sort.h:4, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.c:25: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:32:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.c:26: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.c: In function âuvm_gpu_isr_unlockâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.c:1593:28: error: passing argument 1 of âatomic_readâ from incompatible pointer type [-Werror=incompatible-pointer-types] UVM_ASSERT(atomic_read(&gpu->gpu_kref.refcount) > 0); ^ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:138:45: note: in definition of macro âUVM_IGNORE_EXPRâ #define UVM_IGNORE_EXPR(expr) ((void)sizeof(expr)) ^~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:168:26: note: in expansion of macro â_UVM_ASSERT_MSGâ #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "n") ^~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.c:1593:5: note: in expansion of macro âUVM_ASSERTâ UVM_ASSERT(atomic_read(&gpu->gpu_kref.refcount) > 0); ^~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/msr.h:66:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/processor.h:20, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/cpufeature.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/thread_info.h:52, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/thread_info.h:37, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/preempt.h:6, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/preempt.h:80, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmzone.h:7, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/gfp.h:5, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:9, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.c:25: /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/atomic.h:24:28: note: expected âconst atomic_t * {aka const struct <anonymous> *}â but argument is of type ârefcount_t * {aka struct refcount_struct *}â static __always_inline int atomic_read(const atomic_t *v) ^~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_page_fault.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu.c:26: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pte_batch.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pte_batch.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pte_batch.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tlb_batch.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tlb_batch.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tlb_batch.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pushbuffer.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pushbuffer.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pushbuffer.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pushbuffer.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pushbuffer.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pushbuffer.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pushbuffer.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_thread_context.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_thread_context.c:25: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_thread_context.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_thread_context.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker.h:29:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_ce.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_ce.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_ce.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_host.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_host.c:24:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_host.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_host.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_mmu.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_mmu.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kepler_mmu.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell_host.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell_host.c:24:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell_host.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_maxwell_host.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_ce.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_ce.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_ce.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_host.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_host.c:24:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_host.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_host.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_mmu.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_mmu.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_mmu.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_policy.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_policy.c:25: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_policy.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_policy.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_gpu.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_gpu.c:31: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_gpu.c:31: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_gpu.c:31: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_gpu.c:31: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_gpu.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_gpu.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_migrate.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_migrate.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_migrate.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_migrate.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_map_external.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_map_external.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_map_external.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_map_external.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_user_channel.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_user_channel.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_user_channel.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_user_channel.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hmm.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hmm.h:29:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hmm.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hmm.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hmm.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_heuristics.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_heuristics.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_heuristics.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_thrashing.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_thrashing.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_thrashing.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test_rng.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test_rng.h:28:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test_rng.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test_rng.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test_rng.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_tree_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_range_allocator_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mem_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_rm_mem_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_page_tree_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_page_tree_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_page_tree_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_tracker_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_push_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_ce_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_channel.h:28, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_ce_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_ce_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_ce_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_lock_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils_test.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/types.h:5, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/log2.h:15, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils_test.c:25: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils_test.c:25: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_utils_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_pmm_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_events_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_perf_module_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_mmu_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_process_va_space_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_process_va_space_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_process_va_space_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_process_va_space_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_global.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_process_va_space_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_process_va_space_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_process_va_space_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block_test.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:223: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.12.0-kali1-common/include/asm-generic/bug.h:4:0, from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/bug.h:81, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/bug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmdebug.h:4, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:8, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function â__fatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:217:25: error: implicit declaration of function âsigismemberâ [-Werror=implicit-function-declaration] return unlikely(sigismember(&p->pending.signal, SIGKILL)); ^ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/compiler.h:179:42: note: in definition of macro âunlikelyâ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: In function âfatal_signal_pendingâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:222: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 /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:566:13: error: conflicting types for âradix_tree_emptyâ static bool radix_tree_empty(struct radix_tree_root *tree) ^~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/module.h:17, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/common/inc/nv-linux.h:61, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm_common.h:62, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:131:20: note: previous definition of âradix_tree_emptyâ was here static inline bool radix_tree_empty(const struct radix_tree_root *root) ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block_test.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-uvm/uvm8_va_block_test.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-modeset/nvidia-modeset-linux.o SYMLINK /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-modeset/nv-modeset-kernel.o LD [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-modeset.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c:29:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:43:24: error: field âbaseâ has incomplete type struct drm_encoder base; ^~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c:67:18: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .fb_create = nvidia_drm_framebuffer_create, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c:67:18: note: (near initialization for ânv_mode_config_funcs.fb_createâ) /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c: In function ânvidia_drm_migrate_modeset_ownershipâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c:455:26: error: âstruct drm_minorâ has no member named âmasterâ !file_priv->minor->master) ^~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c:476:5: error: implicit declaration of function âdrm_master_putâ; did you mean âdrm_mm_printâ? [-Werror=implicit-function-declaration] drm_master_put(&file_priv->minor->master); ^~~~~~~~~~~~~~ drm_mm_print /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c:476:37: error: âstruct drm_minorâ has no member named âmasterâ drm_master_put(&file_priv->minor->master); ^~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c: In function ânvidia_drm_pci_set_busidâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c:493:11: error: dereferencing pointer to incomplete type âstruct drm_masterâ master->unique = nvidia_drm_asprintf("pci:%04x:%02x:%02x.%d", ^~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c: At top level: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c:615:31: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .unload = nvidia_drm_unload, ^~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c:615:31: note: (near initialization for ânv_drm_driver.unloadâ) /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c: In function ânvidia_update_drm_driver_featuresâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.c:655:36: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] nv_drm_driver.master_drop = nvidia_drm_master_drop; ^ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-drv.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-utils.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-crtc.o CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c:28:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:43:24: error: field âbaseâ has incomplete type struct drm_encoder base; ^~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/list.h:8:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/agp_backend.h:33, from /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drmP.h:35, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-priv.h:30, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c:27: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c: In function ânvidia_encoder_destroyâ: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernel.h:863:48: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] const typeof( ((type *)0)->member ) *__mptr = (ptr); ^ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:47:5: note: in expansion of macro âcontainer_ofâ container_of(__encoder, struct nvidia_drm_encoder, base) ^~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c:42:45: note: in expansion of macro âDRM_ENCODER_TO_NV_ENCODERâ struct nvidia_drm_encoder *nv_encoder = DRM_ENCODER_TO_NV_ENCODER(encoder); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernel.h:863:48: note: (near initialization for ânv_encoderâ) const typeof( ((type *)0)->member ) *__mptr = (ptr); ^ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:47:5: note: in expansion of macro âcontainer_ofâ container_of(__encoder, struct nvidia_drm_encoder, base) ^~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c:42:45: note: in expansion of macro âDRM_ENCODER_TO_NV_ENCODERâ struct nvidia_drm_encoder *nv_encoder = DRM_ENCODER_TO_NV_ENCODER(encoder); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c: In function ânvidia_drm_add_encoderâ: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernel.h:863:48: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] const typeof( ((type *)0)->member ) *__mptr = (ptr); ^ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:47:5: note: in expansion of macro âcontainer_ofâ container_of(__encoder, struct nvidia_drm_encoder, base) ^~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c:293:18: note: in expansion of macro âDRM_ENCODER_TO_NV_ENCODERâ nv_encoder = DRM_ENCODER_TO_NV_ENCODER(encoder); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c: In function âget_nv_encoder_from_nvkms_displayâ: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernel.h:863:48: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] const typeof( ((type *)0)->member ) *__mptr = (ptr); ^ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:47:5: note: in expansion of macro âcontainer_ofâ container_of(__encoder, struct nvidia_drm_encoder, base) ^~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c:330:21: note: in expansion of macro âDRM_ENCODER_TO_NV_ENCODERâ DRM_ENCODER_TO_NV_ENCODER(encoder); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernel.h:863:48: note: (near initialization for ânv_encoderâ) const typeof( ((type *)0)->member ) *__mptr = (ptr); ^ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:47:5: note: in expansion of macro âcontainer_ofâ container_of(__encoder, struct nvidia_drm_encoder, base) ^~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c:330:21: note: in expansion of macro âDRM_ENCODER_TO_NV_ENCODERâ DRM_ENCODER_TO_NV_ENCODER(encoder); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c: In function ânvidia_drm_handle_dynamic_display_connectedâ: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernel.h:863:48: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] const typeof( ((type *)0)->member ) *__mptr = (ptr); ^ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:47:5: note: in expansion of macro âcontainer_ofâ container_of(__encoder, struct nvidia_drm_encoder, base) ^~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c:453:18: note: in expansion of macro âDRM_ENCODER_TO_NV_ENCODERâ nv_encoder = DRM_ENCODER_TO_NV_ENCODER(encoder); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c: In function ânvidia_encoder_newâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.c:168:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-connector.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-connector.c:30:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:43:24: error: field âbaseâ has incomplete type struct drm_encoder base; ^~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/list.h:8:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/agp_backend.h:33, from /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drmP.h:35, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-priv.h:30, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-connector.c:27: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-connector.c: In function ânvidia_connector_detectâ: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernel.h:863:48: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] const typeof( ((type *)0)->member ) *__mptr = (ptr); ^ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:47:5: note: in expansion of macro âcontainer_ofâ container_of(__encoder, struct nvidia_drm_encoder, base) ^~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-connector.c:118:22: note: in expansion of macro âDRM_ENCODER_TO_NV_ENCODERâ nv_encoder = DRM_ENCODER_TO_NV_ENCODER(encoder); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernel.h:863:48: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] const typeof( ((type *)0)->member ) *__mptr = (ptr); ^ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:47:5: note: in expansion of macro âcontainer_ofâ container_of(__encoder, struct nvidia_drm_encoder, base) ^~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-connector.c:135:27: note: in expansion of macro âDRM_ENCODER_TO_NV_ENCODERâ nv_detected_encoder = DRM_ENCODER_TO_NV_ENCODER(detected_encoder); ^~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-connector.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-connector.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-gem.o /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-gem.c: In function ânvidia_drm_dumb_map_offsetâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-gem.c:411:33: error: passing argument 1 of âdrm_gem_object_lookupâ from incompatible pointer type [-Werror=incompatible-pointer-types] gem = drm_gem_object_lookup(dev, file, handle); ^~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-priv.h:33:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-gem.c:27: /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_gem.h:319:24: note: expected âstruct drm_file *â but argument is of type âstruct drm_device *â struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle); ^~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-gem.c:411:38: warning: passing argument 2 of âdrm_gem_object_lookupâ makes integer from pointer without a cast [-Wint-conversion] gem = drm_gem_object_lookup(dev, file, handle); ^~~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-priv.h:33:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-gem.c:27: /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_gem.h:319:24: note: expected âu32 {aka unsigned int}â but argument is of type âstruct drm_file *â struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle); ^~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-gem.c:411:11: error: too many arguments to function âdrm_gem_object_lookupâ gem = drm_gem_object_lookup(dev, file, handle); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-priv.h:33:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-gem.c:27: /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_gem.h:319:24: note: declared here struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle); ^~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-gem.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-gem.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.o /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c: In function âinternal_framebuffer_createâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:117:33: error: passing argument 1 of âdrm_gem_object_lookupâ from incompatible pointer type [-Werror=incompatible-pointer-types] gem = drm_gem_object_lookup(dev, file, cmd->handles[0]); ^~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-priv.h:33:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:27: /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_gem.h:319:24: note: expected âstruct drm_file *â but argument is of type âstruct drm_device *â struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle); ^~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:117:38: warning: passing argument 2 of âdrm_gem_object_lookupâ makes integer from pointer without a cast [-Wint-conversion] gem = drm_gem_object_lookup(dev, file, cmd->handles[0]); ^~~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-priv.h:33:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:27: /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_gem.h:319:24: note: expected âu32 {aka unsigned int}â but argument is of type âstruct drm_file *â struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle); ^~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:117:11: error: too many arguments to function âdrm_gem_object_lookupâ gem = drm_gem_object_lookup(dev, file, cmd->handles[0]); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-priv.h:33:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:27: /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_gem.h:319:24: note: declared here struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle); ^~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:156:36: error: passing argument 1 of âdrm_helper_mode_fill_fb_structâ from incompatible pointer type [-Werror=incompatible-pointer-types] drm_helper_mode_fill_fb_struct(&nv_fb->base, cmd); ^ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_crtc_helper.h:44:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:33: /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_modeset_helper.h:30:6: note: expected âstruct drm_device *â but argument is of type âstruct drm_framebuffer *â void drm_helper_mode_fill_fb_struct(struct drm_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:156:50: error: passing argument 2 of âdrm_helper_mode_fill_fb_structâ from incompatible pointer type [-Werror=incompatible-pointer-types] drm_helper_mode_fill_fb_struct(&nv_fb->base, cmd); ^~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_crtc_helper.h:44:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:33: /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_modeset_helper.h:30:6: note: expected âstruct drm_framebuffer *â but argument is of type âstruct drm_mode_fb_cmd2 *â void drm_helper_mode_fill_fb_struct(struct drm_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:156:5: error: too few arguments to function âdrm_helper_mode_fill_fb_structâ drm_helper_mode_fill_fb_struct(&nv_fb->base, cmd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_crtc_helper.h:44:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.c:33: /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_modeset_helper.h:30:6: note: declared here void drm_helper_mode_fill_fb_struct(struct drm_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-fb.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-modeset.o In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-modeset.c:33:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-encoder.h:43:24: error: field âbaseâ has incomplete type struct drm_encoder base; ^~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-modeset.c: In function ânvidia_drm_atomic_commit_task_callbackâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-modeset.c:589:5: error: implicit declaration of function âdrm_atomic_state_freeâ; did you mean â__drm_atomic_state_freeâ? [-Werror=implicit-function-declaration] drm_atomic_state_free(state); ^~~~~~~~~~~~~~~~~~~~~ __drm_atomic_state_free /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-modeset.c: In function ânvidia_drm_atomic_commitâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-modeset.c:669:34: error: passing argument 1 of âdrm_atomic_helper_swap_stateâ from incompatible pointer type [-Werror=incompatible-pointer-types] drm_atomic_helper_swap_state(dev, state); ^~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-modeset.c:36:0: /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_atomic_helper.h:80:6: note: expected âstruct drm_atomic_state *â but argument is of type âstruct drm_device *â void drm_atomic_helper_swap_state(struct drm_atomic_state *state, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-modeset.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-modeset.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-mmap.o /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-mmap.c: In function ânvidia_drm_gem_mmapâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-mmap.c:114:50: error: passing argument 2 of âdrm_vma_node_is_allowedâ from incompatible pointer type [-Werror=incompatible-pointer-types] if (!drm_vma_node_is_allowed(&gem->vma_node, filp)) ^~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_gem.h:39:0, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-priv.h:33, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-mmap.c:27: /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drm_vma_manager.h:66:6: note: expected âstruct drm_file *â but argument is of type âstruct file *â bool drm_vma_node_is_allowed(struct drm_vma_offset_node *node, ^~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-mmap.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-mmap.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-linux.o /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-linux.c: In function ânvidia_drm_lock_user_pagesâ: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-linux.c:125:67: warning: passing argument 4 of âget_user_pagesâ makes pointer from integer without a cast [-Wint-conversion] pages_pinned = NV_GET_USER_PAGES(address, pages_count, write, force, ^~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/scatterlist.h:7:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/dma-mapping.h:10, from /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drmP.h:37, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-os-interface.h:32, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-linux.c:27: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:1342:6: note: expected âstruct page **â but argument is of type âintâ long get_user_pages(unsigned long start, unsigned long nr_pages, ^~~~~~~~~~~~~~ /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-linux.c:126:38: error: passing argument 5 of âget_user_pagesâ from incompatible pointer type [-Werror=incompatible-pointer-types] user_pages, NULL); ^~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/scatterlist.h:7:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/dma-mapping.h:10, from /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drmP.h:37, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-os-interface.h:32, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-linux.c:27: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:1342:6: note: expected âstruct vm_area_struct **â but argument is of type âstruct page **â long get_user_pages(unsigned long start, unsigned long nr_pages, ^~~~~~~~~~~~~~ In file included from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-linux.c:34:0: /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/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/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-linux.c:125:20: note: in expansion of macro âNV_GET_USER_PAGESâ pages_pinned = NV_GET_USER_PAGES(address, pages_count, write, force, ^~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/scatterlist.h:7:0, from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/dma-mapping.h:10, from /usr/src/linux-headers-4.12.0-kali1-common/include/drm/drmP.h:37, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-os-interface.h:32, from /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-linux.c:27: /usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:1342:6: note: declared here long get_user_pages(unsigned long start, unsigned long nr_pages, ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-linux.o' failed make[3]: *** [/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nvidia-drm-linux.o] Error 1 CC [M] /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-drm/nv-pci-table.o ld -r -o /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-modeset/nv-modeset-interface.o /tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel/nvidia-modeset/nvidia-modeset-linux.o make[3]: Target '__build' not remade because of errors. /usr/src/linux-headers-4.12.0-kali1-common/Makefile:1532: recipe for target '_module_/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel' failed make[2]: *** [_module_/tmp/selfgz3971/NVIDIA-Linux-x86_64-367.27/kernel] Error 2 make[2]: Target 'modules' not remade because of errors. make[2]: Leaving directory '/usr/src/linux-headers-4.12.0-kali1-amd64' Makefile:152: recipe for target 'sub-make' failed make[1]: *** [sub-make] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/linux-headers-4.12.0-kali1-common' Makefile:81: recipe for target 'modules' failed make: *** [modules] Error 2 ERROR: The nvidia kernel module was not created. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.