Guest User

Untitled

a guest
Jun 13th, 2020
21
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. nvidia-installer log file '/var/log/nvidia-installer.log'
  2. creation time: Sat Jun 13 10:23:20 2020
  3. installer version: 418.88
  4.  
  5. PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
  6.  
  7. nvidia-installer command line:
  8. ./nvidia-installer
  9.  
  10. Using: nvidia-installer ncurses v6 user interface
  11. -> Detected 4 CPUs online; setting concurrency level to 4.
  12. -> Installing NVIDIA driver version 418.88.
  13. -> There appears to already be a driver installed on your system (version: 418.88). As part of installing this driver (version: 418.88), the existing driver will be uninstalled. Are you sure you want to continue? (Answer: Continue installation)
  14. -> An alternate method of installing the NVIDIA driver was detected. (This is usually a package provided by your distributor.) A driver installed via that method may integrate better with your system than a driver installed by nvidia-installer.
  15.  
  16. Please review the message provided by the maintainer of this alternate installation method and decide how to proceed:
  17.  
  18. The NVIDIA driver provided by Ubuntu can be installed by launching the "Software & Updates" application, and by selecting the NVIDIA driver from the "Additional Drivers" tab.
  19.  
  20.  
  21. (Answer: Continue installation)
  22. -> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: No)
  23. -> Performing CC sanity check with CC="/usr/bin/cc".
  24. -> Kernel source path: '/lib/modules/5.4.0-37-generic/build'
  25. -> Kernel output path: '/lib/modules/5.4.0-37-generic/build'
  26. -> Performing Compiler check.
  27. -> Performing Dom0 check.
  28. -> Performing Xen check.
  29. -> Performing PREEMPT_RT check.
  30. -> Performing vgpu_kvm check.
  31. -> Cleaning kernel module build directory.
  32. executing: 'cd ./kernel; /usr/bin/make -k -j4 clean NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.4.0-37-generic/build" SYSOUT="/lib/modules/5.4.0-37-generic/build"'...
  33. rm -f -r conftest
  34. make[1]: Entering directory '/usr/src/linux-headers-5.4.0-37-generic'
  35. make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-37-generic'
  36. -> Building kernel modules
  37. executing: 'cd ./kernel; /usr/bin/make -k -j4 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.4.0-37-generic/build" SYSOUT="/lib/modules/5.4.0-37-generic/build"'...
  38. make[1]: Entering directory '/usr/src/linux-headers-5.4.0-37-generic'
  39. SYMLINK /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-kernel.o
  40. SYMLINK /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-modeset/nv-modeset-kernel.o
  41. CONFTEST: INIT_WORK
  42. CONFTEST: remap_pfn_range
  43. CONFTEST: hash__remap_4k_pfn
  44. CONFTEST: follow_pfn
  45. CONFTEST: vmap
  46. CONFTEST: set_pages_uc
  47. CONFTEST: list_is_first
  48. CONFTEST: set_memory_uc
  49. CONFTEST: set_memory_array_uc
  50. CONFTEST: change_page_attr
  51. CONFTEST: pci_get_class
  52. CONFTEST: pci_choose_state
  53. CONFTEST: vm_insert_page
  54. CONFTEST: acpi_device_id
  55. CONFTEST: acquire_console_sem
  56. CONFTEST: console_lock
  57. CONFTEST: kmem_cache_create
  58. CONFTEST: on_each_cpu
  59. CONFTEST: smp_call_function
  60. CONFTEST: acpi_evaluate_integer
  61. CONFTEST: ioremap_cache
  62. CONFTEST: ioremap_wc
  63. CONFTEST: acpi_walk_namespace
  64. CONFTEST: pci_domain_nr
  65. CONFTEST: pci_dma_mapping_error
  66. CONFTEST: sg_alloc_table
  67. CONFTEST: sg_init_table
  68. CONFTEST: pci_get_domain_bus_and_slot
  69. CONFTEST: get_num_physpages
  70. CONFTEST: efi_enabled
  71. CONFTEST: proc_create_data
  72. CONFTEST: pde_data
  73. CONFTEST: proc_remove
  74. CONFTEST: pm_vt_switch_required
  75. CONFTEST: xen_ioemu_inject_msi
  76. CONFTEST: phys_to_dma
  77. CONFTEST: get_dma_ops
  78. CONFTEST: write_cr4
  79. CONFTEST: of_get_property
  80. CONFTEST: of_find_node_by_phandle
  81. CONFTEST: of_node_to_nid
  82. CONFTEST: pnv_pci_get_npu_dev
  83. CONFTEST: of_get_ibm_chip_id
  84. CONFTEST: for_each_online_node
  85. CONFTEST: node_end_pfn
  86. CONFTEST: pci_bus_address
  87. CONFTEST: pci_stop_and_remove_bus_device
  88. CONFTEST: pci_remove_bus_device
  89. CONFTEST: request_threaded_irq
  90. CONFTEST: register_cpu_notifier
  91. CONFTEST: cpuhp_setup_state
  92. CONFTEST: dma_map_resource
  93. CONFTEST: backlight_device_register
  94. CONFTEST: register_acpi_notifier
  95. CONFTEST: timer_setup
  96. CONFTEST: pci_enable_msix_range
  97. CONFTEST: compound_order
  98. CONFTEST: do_gettimeofday
  99. CONFTEST: dma_direct_map_resource
  100. CONFTEST: remap_page_range
  101. CONFTEST: address_space_init_once
  102. CONFTEST: kbasename
  103. CONFTEST: fatal_signal_pending
  104. CONFTEST: list_cut_position
  105. CONFTEST: vzalloc
  106. CONFTEST: wait_on_bit_lock_argument_count
  107. CONFTEST: bitmap_clear
  108. CONFTEST: usleep_range
  109. CONFTEST: radix_tree_empty
  110. CONFTEST: radix_tree_replace_slot
  111. CONFTEST: pnv_npu2_init_context
  112. CONFTEST: drm_dev_unref
  113. CONFTEST: drm_reinit_primary_mode_group
  114. CONFTEST: get_user_pages_remote
  115. CONFTEST: get_user_pages
  116. CONFTEST: drm_gem_object_lookup
  117. CONFTEST: drm_atomic_state_ref_counting
  118. CONFTEST: drm_driver_has_gem_prime_res_obj
  119. CONFTEST: drm_atomic_helper_connector_dpms
  120. CONFTEST: drm_connector_funcs_have_mode_in_name
  121. CONFTEST: vmf_insert_pfn
  122. CONFTEST: drm_framebuffer_get
  123. CONFTEST: drm_gem_object_get
  124. CONFTEST: drm_dev_put
  125. CONFTEST: is_export_symbol_gpl_of_node_to_nid
  126. CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
  127. CONFTEST: is_export_symbol_present_swiotlb_dma_ops
  128. CONFTEST: i2c_adapter
  129. CONFTEST: pm_message_t
  130. CONFTEST: irq_handler_t
  131. CONFTEST: acpi_device_ops
  132. CONFTEST: acpi_op_remove
  133. CONFTEST: outer_flush_all
  134. CONFTEST: proc_dir_entry
  135. CONFTEST: scatterlist
  136. CONFTEST: sg_table
  137. CONFTEST: file_operations
  138. CONFTEST: vm_operations_struct
  139. CONFTEST: atomic_long_type
  140. CONFTEST: pci_save_state
  141. CONFTEST: file_inode
  142. CONFTEST: task_struct
  143. CONFTEST: kuid_t
  144. CONFTEST: dma_ops
  145. CONFTEST: swiotlb_dma_ops
  146. CONFTEST: dma_map_ops
  147. CONFTEST: noncoherent_swiotlb_dma_ops
  148. CONFTEST: vm_fault_present
  149. CONFTEST: vm_fault_has_address
  150. CONFTEST: backlight_properties_type
  151. CONFTEST: vmbus_channel_has_ringbuffer_page
  152. CONFTEST: fault_flags
  153. CONFTEST: atomic64_type
  154. CONFTEST: address_space
  155. CONFTEST: backing_dev_info
  156. CONFTEST: mm_context_t
  157. CONFTEST: vm_ops_fault_removed_vma_arg
  158. CONFTEST: node_states_n_memory
  159. CONFTEST: drm_bus_present
  160. CONFTEST: drm_bus_has_bus_type
  161. CONFTEST: drm_bus_has_get_irq
  162. CONFTEST: drm_bus_has_get_name
  163. CONFTEST: drm_driver_has_legacy_dev_list
  164. CONFTEST: drm_driver_has_set_busid
  165. CONFTEST: drm_crtc_state_has_connectors_changed
  166. CONFTEST: drm_init_function_args
  167. CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg
  168. CONFTEST: drm_helper_mode_fill_fb_struct
  169. CONFTEST: drm_master_drop_has_from_release_arg
  170. CONFTEST: drm_driver_unload_has_int_return_type
  171. CONFTEST: kref_has_refcount_of_type_refcount_t
  172. CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
  173. CONFTEST: drm_crtc_helper_funcs_has_atomic_enable
  174. CONFTEST: drm_mode_object_find_has_file_priv_arg
  175. CONFTEST: dma_buf_owner
  176. CONFTEST: drm_connector_list_iter
  177. CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
  178. CONFTEST: dom0_kernel_present
  179. CONFTEST: nvidia_vgpu_hyperv_available
  180. CONFTEST: nvidia_vgpu_kvm_build
  181. CONFTEST: nvidia_grid_build
  182. CONFTEST: drm_available
  183. CONFTEST: drm_atomic_available
  184. CONFTEST: is_export_symbol_gpl_refcount_inc
  185. CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
  186. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.o
  187. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.o
  188. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.o
  189. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.o
  190. In file included from ./include/linux/bitops.h:5,
  191. from ./include/linux/kernel.h:12,
  192. from ./include/linux/list.h:9,
  193. from ./include/linux/preempt.h:11,
  194. from ./include/linux/spinlock.h:51,
  195. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-lock.h:16,
  196. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:19,
  197. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:14:
  198. ./include/linux/bits.h:8: warning: "BIT" redefined
  199. 8 | #define BIT(nr) (UL(1) << (nr))
  200. |
  201. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:12:
  202. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
  203. 58 | #define BIT(b) (1<<(b))
  204. |
  205. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.c:13:
  206. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  207. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  208. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  209. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c:13:
  210. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  211. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  212. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  213. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.c:15:
  214. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  215. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  216. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  217. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c:39:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  218. 39 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  219. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  220. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c: In function 'nv_init_module':
  221. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c:349:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  222. 349 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  223. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  224. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c: In function 'nv_exit_module':
  225. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c:364:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  226. 364 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  227. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  228. cc1: some warnings being treated as errors
  229. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.o] Error 1
  230. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.o
  231. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:14:
  232. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  233. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  234. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  235. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:46:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  236. 46 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  237. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  238. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c: In function 'nvidia_init_module':
  239. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:981:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  240. 981 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  241. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  242. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c: At top level:
  243. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:1235:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  244. 1235 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  245. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  246. cc1: some warnings being treated as errors
  247. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.o] Error 1
  248. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.o
  249. cc1: some warnings being treated as errors
  250. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.o] Error 1
  251. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.o
  252. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.c:15:
  253. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  254. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  255. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  256. cc1: some warnings being treated as errors
  257. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.o] Error 1
  258. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.o
  259. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.c:15:
  260. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  261. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  262. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  263. cc1: some warnings being treated as errors
  264. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.o] Error 1
  265. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.o
  266. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.c:15:
  267. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  268. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  269. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  270. cc1: some warnings being treated as errors
  271. cc1: some warnings being treated as errors
  272. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.c:15:
  273. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  274. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  275. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  276. cc1: some warnings being treated as errors
  277. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.c:15:
  278. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  279. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  280. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  281. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.o] Error 1
  282. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.o] Error 1
  283. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.o] Error 1
  284. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.o
  285. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.o
  286. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.o
  287. cc1: some warnings being treated as errors
  288. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.o] Error 1
  289. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.o
  290. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.c:15:
  291. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  292. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  293. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  294. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.c:15:
  295. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  296. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  297. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  298. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:15:
  299. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  300. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  301. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  302. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.c:19:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  303. 19 | #if (NV_BUILD_MODULE_INSTANCES == 0)
  304. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  305. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c: In function 'nv_encode_caching':
  306. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:255:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  307. 255 | if (NV_ALLOW_CACHING(memory_type))
  308. | ^
  309. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:257:9: note: here
  310. 257 | default:
  311. | ^~~~~~~
  312. cc1: some warnings being treated as errors
  313. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.o] Error 1
  314. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.o
  315. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.c:15:
  316. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  317. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  318. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  319. cc1: some warnings being treated as errors
  320. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.o] Error 1
  321. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.o
  322. cc1: some warnings being treated as errors
  323. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.o] Error 1
  324. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.o
  325. cc1: some warnings being treated as errors
  326. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.o] Error 1
  327. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.o
  328. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.c:15:
  329. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  330. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  331. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  332. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.c:15:
  333. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  334. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  335. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  336. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.c:14:
  337. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  338. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  339. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  340. cc1: some warnings being treated as errors
  341. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.o] Error 1
  342. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.o
  343. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.c:15:
  344. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  345. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  346. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  347. cc1: some warnings being treated as errors
  348. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.o] Error 1
  349. cc1: some warnings being treated as errors
  350. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.o
  351. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.o] Error 1
  352. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.o
  353. cc1: some warnings being treated as errors
  354. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.o] Error 1
  355. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.o
  356. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.c:15:
  357. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  358. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  359. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  360. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.c:15:
  361. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  362. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  363. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  364. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.c:15:
  365. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  366. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  367. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  368. cc1: some warnings being treated as errors
  369. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.o] Error 1
  370. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.o
  371. cc1: some warnings being treated as errors
  372. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.o] Error 1
  373. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.o
  374. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.c:15:
  375. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  376. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  377. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  378. cc1: some warnings being treated as errors
  379. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.o] Error 1
  380. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pci-table.o
  381. cc1: some warnings being treated as errors
  382. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.o] Error 1
  383. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-kthread-q.o
  384. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.c:15:
  385. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  386. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  387. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  388. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.c:15:
  389. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  390. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  391. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  392. cc1: some warnings being treated as errors
  393. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.o] Error 1
  394. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-kthread-q-selftest.o
  395. cc1: some warnings being treated as errors
  396. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.o] Error 1
  397. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.o
  398. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.o
  399. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.o
  400. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.o
  401. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.c:12:
  402. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  403. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  404. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  405. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.c:27:
  406. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  407. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  408. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  409. cc1: some warnings being treated as errors
  410. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.o] Error 1
  411. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.o
  412. cc1: some warnings being treated as errors
  413. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.o] Error 1
  414. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.o
  415. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.c:24:
  416. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  417. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  418. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  419. cc1: some warnings being treated as errors
  420. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.o] Error 1
  421. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.o
  422. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.c:24:
  423. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  424. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  425. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  426. cc1: some warnings being treated as errors
  427. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.o] Error 1
  428. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.o
  429. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-msi.h:14,
  430. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.c:11:
  431. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  432. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  433. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  434. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.c:21:
  435. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  436. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  437. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  438. cc1: some warnings being treated as errors
  439. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.o] Error 1
  440. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_utils.o
  441. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.c:30:
  442. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  443. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  444. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  445. cc1: some warnings being treated as errors
  446. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.o] Error 1
  447. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_common.o
  448. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.c:29:
  449. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  450. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  451. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  452. cc1: some warnings being treated as errors
  453. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.o] Error 1
  454. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.o
  455. cc1: some warnings being treated as errors
  456. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.o] Error 1
  457. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/nvstatus.o
  458. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/nvCpuUuid.o
  459. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8.o
  460. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_tools.o
  461. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_global.o
  462. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.o
  463. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv_uvm_interface.h:35,
  464. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.c:24:
  465. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  466. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  467. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  468. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_isr.o
  469. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_procfs.o
  470. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_va_space.o
  471. cc1: some warnings being treated as errors
  472. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.o] Error 1
  473. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_va_space_mm.o
  474. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_semaphore.o
  475. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mem.o
  476. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_rm_mem.o
  477. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_channel.o
  478. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_lock.o
  479. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_hal.o
  480. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_tree.o
  481. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_allocator.o
  482. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_va_range.o
  483. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_va_block.o
  484. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_group.o
  485. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o
  486. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv_uvm_interface.h:35,
  487. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
  488. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  489. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  490. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  491. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.o
  492. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_access_counters.o
  493. cc1: some warnings being treated as errors
  494. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o] Error 1
  495. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_events.o
  496. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv_uvm_interface.h:35,
  497. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23:
  498. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  499. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  500. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  501. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv_uvm_interface.h:35,
  502. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24:
  503. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  504. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  505. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  506. cc1: some warnings being treated as errors
  507. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.o] Error 1
  508. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_module.o
  509. cc1: some warnings being treated as errors
  510. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_access_counters.o] Error 1
  511. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu.o
  512. In file included from ./include/linux/bitops.h:5,
  513. from ./include/linux/kernel.h:12,
  514. from ./include/linux/list.h:9,
  515. from ./include/linux/preempt.h:11,
  516. from ./include/linux/spinlock.h:51,
  517. from ./include/linux/seqlock.h:36,
  518. from ./include/linux/time.h:6,
  519. from ./include/linux/ktime.h:24,
  520. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-time.h:28,
  521. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.h:38,
  522. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:31,
  523. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu.c:26:
  524. ./include/linux/bits.h:8: warning: "BIT" redefined
  525. 8 | #define BIT(nr) (UL(1) << (nr))
  526. |
  527. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:28,
  528. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu.c:26:
  529. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
  530. 58 | #define BIT(b) (1<<(b))
  531. |
  532. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pte_batch.o
  533. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_tlb_batch.o
  534. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_push.o
  535. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu.c: In function 'uvm_page_tree_put_ptes_async':
  536. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu.c:693:5: warning: 'invalidate_depth' may be used uninitialized in this function [-Wmaybe-uninitialized]
  537. 693 | tree->gpu->host_hal->tlb_invalidate_all(&push,
  538. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  539. 694 | uvm_page_tree_pdb(tree)->addr,
  540. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  541. 695 | invalidate_depth,
  542. | ~~~~~~~~~~~~~~~~~
  543. 696 | membar_after_invalidate);
  544. | ~~~~~~~~~~~~~~~~~~~~~~~~
  545. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pushbuffer.o
  546. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_thread_context.o
  547. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_tracker.o
  548. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler.o
  549. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler_ce.o
  550. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler_host.o
  551. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler_mmu.o
  552. In file included from ./include/linux/bitops.h:5,
  553. from ./include/linux/kernel.h:12,
  554. from ./include/linux/list.h:9,
  555. from ./include/linux/preempt.h:11,
  556. from ./include/linux/spinlock.h:51,
  557. from ./include/linux/seqlock.h:36,
  558. from ./include/linux/time.h:6,
  559. from ./include/linux/ktime.h:24,
  560. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-time.h:28,
  561. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.h:38,
  562. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:31,
  563. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39:
  564. ./include/linux/bits.h:8: warning: "BIT" redefined
  565. 8 | #define BIT(nr) (UL(1) << (nr))
  566. |
  567. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:28,
  568. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39:
  569. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
  570. 58 | #define BIT(b) (1<<(b))
  571. |
  572. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_maxwell.o
  573. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_maxwell_host.o
  574. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal.o
  575. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_ce.o
  576. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_host.o
  577. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_mmu.o
  578. In file included from ./include/linux/bitops.h:5,
  579. from ./include/linux/kernel.h:12,
  580. from ./include/linux/list.h:9,
  581. from ./include/linux/preempt.h:11,
  582. from ./include/linux/spinlock.h:51,
  583. from ./include/linux/seqlock.h:36,
  584. from ./include/linux/time.h:6,
  585. from ./include/linux/ktime.h:24,
  586. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-time.h:28,
  587. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.h:38,
  588. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:31,
  589. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36:
  590. ./include/linux/bits.h:8: warning: "BIT" redefined
  591. 8 | #define BIT(nr) (UL(1) << (nr))
  592. |
  593. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:28,
  594. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36:
  595. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
  596. 58 | #define BIT(b) (1<<(b))
  597. |
  598. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o
  599. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_volta_host.o
  600. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_volta_mmu.o
  601. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_volta.o
  602. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_volta_fault_buffer.o
  603. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.o
  604. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_turing.o
  605. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_turing_mmu.o
  606. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_turing_host.o
  607. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_policy.o
  608. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_utils.o
  609. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kvmalloc.o
  610. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_sysmem.o
  611. In file included from ./include/linux/bitops.h:5,
  612. from ./include/linux/kernel.h:12,
  613. from ./include/linux/list.h:9,
  614. from ./include/linux/preempt.h:11,
  615. from ./include/linux/spinlock.h:51,
  616. from ./include/linux/seqlock.h:36,
  617. from ./include/linux/time.h:6,
  618. from ./include/linux/ktime.h:24,
  619. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-time.h:28,
  620. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.h:38,
  621. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:31,
  622. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
  623. ./include/linux/bits.h:8: warning: "BIT" redefined
  624. 8 | #define BIT(nr) (UL(1) << (nr))
  625. |
  626. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:28,
  627. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
  628. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
  629. 58 | #define BIT(b) (1<<(b))
  630. |
  631. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_gpu.o
  632. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_migrate.o
  633. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_populate_pageable.o
  634. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_migrate_pageable.o
  635. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_map_external.o
  636. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_user_channel.o
  637. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_hmm.o
  638. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_heuristics.o
  639. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_thrashing.o
  640. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_prefetch.o
  641. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_ats_ibm.o
  642. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_ats_faults.o
  643. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_test.o
  644. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_test_rng.o
  645. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_tree_test.o
  646. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_allocator_test.o
  647. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o
  648. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mem_test.o
  649. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_rm_mem_test.o
  650. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_page_tree_test.o
  651. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_tracker_test.o
  652. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_push_test.o
  653. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_channel_test.o
  654. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_ce_test.o
  655. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_lock_test.o
  656. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_utils_test.o
  657. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kvmalloc_test.o
  658. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_test.o
  659. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.o
  660. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_events_test.o
  661. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_module_test.o
  662. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o
  663. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o
  664. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu_test.o
  665. In file included from ./include/linux/bitops.h:5,
  666. from ./include/linux/kernel.h:12,
  667. from ./include/linux/list.h:9,
  668. from ./include/linux/preempt.h:11,
  669. from ./include/linux/spinlock.h:51,
  670. from ./include/linux/seqlock.h:36,
  671. from ./include/linux/time.h:6,
  672. from ./include/linux/ktime.h:24,
  673. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-time.h:28,
  674. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.h:38,
  675. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:31,
  676. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu_test.c:24:
  677. ./include/linux/bits.h:8: warning: "BIT" redefined
  678. 8 | #define BIT(nr) (UL(1) << (nr))
  679. |
  680. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:28,
  681. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu_test.c:24:
  682. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
  683. 58 | #define BIT(b) (1<<(b))
  684. |
  685. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o
  686. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_va_block_test.o
  687. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_group_tree_test.o
  688. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-modeset/nvidia-modeset-linux.o
  689. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm.o
  690. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-drv.o
  691. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-utils.o
  692. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-crtc.o
  693. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-encoder.o
  694. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-drv.c:657:44: error: 'DRIVER_PRIME' undeclared here (not in a function); did you mean 'DRIVER_PCI_DMA'?
  695. 657 | .driver_features = DRIVER_GEM | DRIVER_PRIME | DRIVER_RENDER,
  696. | ^~~~~~~~~~~~
  697. | DRIVER_PCI_DMA
  698. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-drv.o] Error 1
  699. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-connector.o
  700. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-gem.o
  701. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-fb.o
  702. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-modeset.o
  703. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-prime-fence.o
  704. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-linux.o
  705. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-helper.o
  706. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nv-pci-table.o
  707. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o
  708. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o
  709. LD [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-modeset.o
  710. ld -r -o /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-modeset/nv-modeset-interface.o /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-modeset/nvidia-modeset-linux.o
  711. make[2]: Target '__build' not remade because of errors.
  712. make[1]: *** [Makefile:1719: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel] Error 2
  713. make[1]: Target 'modules' not remade because of errors.
  714. make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-37-generic'
  715. make: *** [Makefile:81: modules] Error 2
  716. -> Error.
  717. ERROR: An error occurred while performing the step: "Building kernel modules". See /var/log/nvidia-installer.log for details.
  718. -> The command `cd ./kernel; /usr/bin/make -k -j4 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.4.0-37-generic/build" SYSOUT="/lib/modules/5.4.0-37-generic/build"` failed with the following output:
  719.  
  720. make[1]: Entering directory '/usr/src/linux-headers-5.4.0-37-generic'
  721. SYMLINK /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-kernel.o
  722. SYMLINK /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-modeset/nv-modeset-kernel.o
  723. CONFTEST: INIT_WORK
  724. CONFTEST: remap_pfn_range
  725. CONFTEST: hash__remap_4k_pfn
  726. CONFTEST: follow_pfn
  727. CONFTEST: vmap
  728. CONFTEST: set_pages_uc
  729. CONFTEST: list_is_first
  730. CONFTEST: set_memory_uc
  731. CONFTEST: set_memory_array_uc
  732. CONFTEST: change_page_attr
  733. CONFTEST: pci_get_class
  734. CONFTEST: pci_choose_state
  735. CONFTEST: vm_insert_page
  736. CONFTEST: acpi_device_id
  737. CONFTEST: acquire_console_sem
  738. CONFTEST: console_lock
  739. CONFTEST: kmem_cache_create
  740. CONFTEST: on_each_cpu
  741. CONFTEST: smp_call_function
  742. CONFTEST: acpi_evaluate_integer
  743. CONFTEST: ioremap_cache
  744. CONFTEST: ioremap_wc
  745. CONFTEST: acpi_walk_namespace
  746. CONFTEST: pci_domain_nr
  747. CONFTEST: pci_dma_mapping_error
  748. CONFTEST: sg_alloc_table
  749. CONFTEST: sg_init_table
  750. CONFTEST: pci_get_domain_bus_and_slot
  751. CONFTEST: get_num_physpages
  752. CONFTEST: efi_enabled
  753. CONFTEST: proc_create_data
  754. CONFTEST: pde_data
  755. CONFTEST: proc_remove
  756. CONFTEST: pm_vt_switch_required
  757. CONFTEST: xen_ioemu_inject_msi
  758. CONFTEST: phys_to_dma
  759. CONFTEST: get_dma_ops
  760. CONFTEST: write_cr4
  761. CONFTEST: of_get_property
  762. CONFTEST: of_find_node_by_phandle
  763. CONFTEST: of_node_to_nid
  764. CONFTEST: pnv_pci_get_npu_dev
  765. CONFTEST: of_get_ibm_chip_id
  766. CONFTEST: for_each_online_node
  767. CONFTEST: node_end_pfn
  768. CONFTEST: pci_bus_address
  769. CONFTEST: pci_stop_and_remove_bus_device
  770. CONFTEST: pci_remove_bus_device
  771. CONFTEST: request_threaded_irq
  772. CONFTEST: register_cpu_notifier
  773. CONFTEST: cpuhp_setup_state
  774. CONFTEST: dma_map_resource
  775. CONFTEST: backlight_device_register
  776. CONFTEST: register_acpi_notifier
  777. CONFTEST: timer_setup
  778. CONFTEST: pci_enable_msix_range
  779. CONFTEST: compound_order
  780. CONFTEST: do_gettimeofday
  781. CONFTEST: dma_direct_map_resource
  782. CONFTEST: remap_page_range
  783. CONFTEST: address_space_init_once
  784. CONFTEST: kbasename
  785. CONFTEST: fatal_signal_pending
  786. CONFTEST: list_cut_position
  787. CONFTEST: vzalloc
  788. CONFTEST: wait_on_bit_lock_argument_count
  789. CONFTEST: bitmap_clear
  790. CONFTEST: usleep_range
  791. CONFTEST: radix_tree_empty
  792. CONFTEST: radix_tree_replace_slot
  793. CONFTEST: pnv_npu2_init_context
  794. CONFTEST: drm_dev_unref
  795. CONFTEST: drm_reinit_primary_mode_group
  796. CONFTEST: get_user_pages_remote
  797. CONFTEST: get_user_pages
  798. CONFTEST: drm_gem_object_lookup
  799. CONFTEST: drm_atomic_state_ref_counting
  800. CONFTEST: drm_driver_has_gem_prime_res_obj
  801. CONFTEST: drm_atomic_helper_connector_dpms
  802. CONFTEST: drm_connector_funcs_have_mode_in_name
  803. CONFTEST: vmf_insert_pfn
  804. CONFTEST: drm_framebuffer_get
  805. CONFTEST: drm_gem_object_get
  806. CONFTEST: drm_dev_put
  807. CONFTEST: is_export_symbol_gpl_of_node_to_nid
  808. CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
  809. CONFTEST: is_export_symbol_present_swiotlb_dma_ops
  810. CONFTEST: i2c_adapter
  811. CONFTEST: pm_message_t
  812. CONFTEST: irq_handler_t
  813. CONFTEST: acpi_device_ops
  814. CONFTEST: acpi_op_remove
  815. CONFTEST: outer_flush_all
  816. CONFTEST: proc_dir_entry
  817. CONFTEST: scatterlist
  818. CONFTEST: sg_table
  819. CONFTEST: file_operations
  820. CONFTEST: vm_operations_struct
  821. CONFTEST: atomic_long_type
  822. CONFTEST: pci_save_state
  823. CONFTEST: file_inode
  824. CONFTEST: task_struct
  825. CONFTEST: kuid_t
  826. CONFTEST: dma_ops
  827. CONFTEST: swiotlb_dma_ops
  828. CONFTEST: dma_map_ops
  829. CONFTEST: noncoherent_swiotlb_dma_ops
  830. CONFTEST: vm_fault_present
  831. CONFTEST: vm_fault_has_address
  832. CONFTEST: backlight_properties_type
  833. CONFTEST: vmbus_channel_has_ringbuffer_page
  834. CONFTEST: fault_flags
  835. CONFTEST: atomic64_type
  836. CONFTEST: address_space
  837. CONFTEST: backing_dev_info
  838. CONFTEST: mm_context_t
  839. CONFTEST: vm_ops_fault_removed_vma_arg
  840. CONFTEST: node_states_n_memory
  841. CONFTEST: drm_bus_present
  842. CONFTEST: drm_bus_has_bus_type
  843. CONFTEST: drm_bus_has_get_irq
  844. CONFTEST: drm_bus_has_get_name
  845. CONFTEST: drm_driver_has_legacy_dev_list
  846. CONFTEST: drm_driver_has_set_busid
  847. CONFTEST: drm_crtc_state_has_connectors_changed
  848. CONFTEST: drm_init_function_args
  849. CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg
  850. CONFTEST: drm_helper_mode_fill_fb_struct
  851. CONFTEST: drm_master_drop_has_from_release_arg
  852. CONFTEST: drm_driver_unload_has_int_return_type
  853. CONFTEST: kref_has_refcount_of_type_refcount_t
  854. CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
  855. CONFTEST: drm_crtc_helper_funcs_has_atomic_enable
  856. CONFTEST: drm_mode_object_find_has_file_priv_arg
  857. CONFTEST: dma_buf_owner
  858. CONFTEST: drm_connector_list_iter
  859. CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
  860. CONFTEST: dom0_kernel_present
  861. CONFTEST: nvidia_vgpu_hyperv_available
  862. CONFTEST: nvidia_vgpu_kvm_build
  863. CONFTEST: nvidia_grid_build
  864. CONFTEST: drm_available
  865. CONFTEST: drm_atomic_available
  866. CONFTEST: is_export_symbol_gpl_refcount_inc
  867. CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
  868. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.o
  869. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.o
  870. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.o
  871. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.o
  872. In file included from ./include/linux/bitops.h:5,
  873. from ./include/linux/kernel.h:12,
  874. from ./include/linux/list.h:9,
  875. from ./include/linux/preempt.h:11,
  876. from ./include/linux/spinlock.h:51,
  877. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-lock.h:16,
  878. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:19,
  879. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:14:
  880. ./include/linux/bits.h:8: warning: "BIT" redefined
  881. 8 | #define BIT(nr) (UL(1) << (nr))
  882. |
  883. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:12:
  884. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
  885. 58 | #define BIT(b) (1<<(b))
  886. |
  887. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.c:13:
  888. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  889. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  890. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  891. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c:13:
  892. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  893. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  894. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  895. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.c:15:
  896. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  897. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  898. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  899. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c:39:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  900. 39 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  901. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  902. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c: In function 'nv_init_module':
  903. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c:349:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  904. 349 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  905. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  906. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c: In function 'nv_exit_module':
  907. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c:364:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  908. 364 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  909. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  910. cc1: some warnings being treated as errors
  911. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.o] Error 1
  912. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.o
  913. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:14:
  914. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  915. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  916. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  917. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:46:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  918. 46 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  919. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  920. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c: In function 'nvidia_init_module':
  921. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:981:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  922. 981 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  923. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  924. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c: At top level:
  925. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:1235:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  926. 1235 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  927. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  928. cc1: some warnings being treated as errors
  929. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.o] Error 1
  930. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.o
  931. cc1: some warnings being treated as errors
  932. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.o] Error 1
  933. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.o
  934. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.c:15:
  935. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  936. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  937. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  938. cc1: some warnings being treated as errors
  939. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.o] Error 1
  940. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.o
  941. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.c:15:
  942. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  943. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  944. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  945. cc1: some warnings being treated as errors
  946. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.o] Error 1
  947. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.o
  948. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.c:15:
  949. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  950. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  951. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  952. cc1: some warnings being treated as errors
  953. cc1: some warnings being treated as errors
  954. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.c:15:
  955. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  956. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  957. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  958. cc1: some warnings being treated as errors
  959. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.c:15:
  960. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  961. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  962. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  963. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.o] Error 1
  964. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.o] Error 1
  965. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.o] Error 1
  966. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.o
  967. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.o
  968. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.o
  969. cc1: some warnings being treated as errors
  970. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.o] Error 1
  971. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.o
  972. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.c:15:
  973. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  974. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  975. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  976. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.c:15:
  977. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  978. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  979. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  980. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:15:
  981. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  982. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  983. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  984. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.c:19:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  985. 19 | #if (NV_BUILD_MODULE_INSTANCES == 0)
  986. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  987. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c: In function 'nv_encode_caching':
  988. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:255:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  989. 255 | if (NV_ALLOW_CACHING(memory_type))
  990. | ^
  991. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:257:9: note: here
  992. 257 | default:
  993. | ^~~~~~~
  994. cc1: some warnings being treated as errors
  995. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.o] Error 1
  996. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.o
  997. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.c:15:
  998. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  999. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1000. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1001. cc1: some warnings being treated as errors
  1002. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.o] Error 1
  1003. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.o
  1004. cc1: some warnings being treated as errors
  1005. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.o] Error 1
  1006. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.o
  1007. cc1: some warnings being treated as errors
  1008. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.o] Error 1
  1009. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.o
  1010. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.c:15:
  1011. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1012. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1013. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1014. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.c:15:
  1015. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1016. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1017. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1018. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.c:14:
  1019. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1020. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1021. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1022. cc1: some warnings being treated as errors
  1023. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.o] Error 1
  1024. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.o
  1025. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.c:15:
  1026. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1027. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1028. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1029. cc1: some warnings being treated as errors
  1030. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.o] Error 1
  1031. cc1: some warnings being treated as errors
  1032. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.o
  1033. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.o] Error 1
  1034. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.o
  1035. cc1: some warnings being treated as errors
  1036. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.o] Error 1
  1037. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.o
  1038. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.c:15:
  1039. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1040. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1041. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1042. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.c:15:
  1043. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1044. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1045. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1046. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.c:15:
  1047. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1048. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1049. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1050. cc1: some warnings being treated as errors
  1051. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.o] Error 1
  1052. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.o
  1053. cc1: some warnings being treated as errors
  1054. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.o] Error 1
  1055. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.o
  1056. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.c:15:
  1057. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1058. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1059. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1060. cc1: some warnings being treated as errors
  1061. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.o] Error 1
  1062. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pci-table.o
  1063. cc1: some warnings being treated as errors
  1064. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.o] Error 1
  1065. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-kthread-q.o
  1066. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.c:15:
  1067. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1068. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1069. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1070. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.c:15:
  1071. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1072. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1073. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1074. cc1: some warnings being treated as errors
  1075. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.o] Error 1
  1076. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-kthread-q-selftest.o
  1077. cc1: some warnings being treated as errors
  1078. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.o] Error 1
  1079. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.o
  1080. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.o
  1081. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.o
  1082. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.o
  1083. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.c:12:
  1084. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1085. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1086. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1087. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.c:27:
  1088. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1089. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1090. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1091. cc1: some warnings being treated as errors
  1092. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.o] Error 1
  1093. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.o
  1094. cc1: some warnings being treated as errors
  1095. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.o] Error 1
  1096. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.o
  1097. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.c:24:
  1098. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1099. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1100. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1101. cc1: some warnings being treated as errors
  1102. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.o] Error 1
  1103. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.o
  1104. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.c:24:
  1105. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1106. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1107. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1108. cc1: some warnings being treated as errors
  1109. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.o] Error 1
  1110. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.o
  1111. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-msi.h:14,
  1112. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.c:11:
  1113. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1114. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1115. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1116. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.c:21:
  1117. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1118. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1119. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1120. cc1: some warnings being treated as errors
  1121. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.o] Error 1
  1122. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_utils.o
  1123. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.c:30:
  1124. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1125. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1126. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1127. cc1: some warnings being treated as errors
  1128. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.o] Error 1
  1129. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_common.o
  1130. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.c:29:
  1131. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1132. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1133. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1134. cc1: some warnings being treated as errors
  1135. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.o] Error 1
  1136. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.o
  1137. cc1: some warnings being treated as errors
  1138. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.o] Error 1
  1139. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/nvstatus.o
  1140. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/nvCpuUuid.o
  1141. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8.o
  1142. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_tools.o
  1143. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_global.o
  1144. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.o
  1145. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv_uvm_interface.h:35,
  1146. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.c:24:
  1147. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1148. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1149. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1150. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_isr.o
  1151. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_procfs.o
  1152. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_va_space.o
  1153. cc1: some warnings being treated as errors
  1154. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.o] Error 1
  1155. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_va_space_mm.o
  1156. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_semaphore.o
  1157. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mem.o
  1158. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_rm_mem.o
  1159. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_channel.o
  1160. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_lock.o
  1161. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_hal.o
  1162. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_tree.o
  1163. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_allocator.o
  1164. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_va_range.o
  1165. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_va_block.o
  1166. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_group.o
  1167. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o
  1168. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv_uvm_interface.h:35,
  1169. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
  1170. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1171. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1172. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1173. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.o
  1174. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_access_counters.o
  1175. cc1: some warnings being treated as errors
  1176. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o] Error 1
  1177. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_events.o
  1178. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv_uvm_interface.h:35,
  1179. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23:
  1180. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1181. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1182. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1183. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv_uvm_interface.h:35,
  1184. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24:
  1185. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1186. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1187. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1188. cc1: some warnings being treated as errors
  1189. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.o] Error 1
  1190. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_module.o
  1191. cc1: some warnings being treated as errors
  1192. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_access_counters.o] Error 1
  1193. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu.o
  1194. In file included from ./include/linux/bitops.h:5,
  1195. from ./include/linux/kernel.h:12,
  1196. from ./include/linux/list.h:9,
  1197. from ./include/linux/preempt.h:11,
  1198. from ./include/linux/spinlock.h:51,
  1199. from ./include/linux/seqlock.h:36,
  1200. from ./include/linux/time.h:6,
  1201. from ./include/linux/ktime.h:24,
  1202. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-time.h:28,
  1203. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.h:38,
  1204. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:31,
  1205. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu.c:26:
  1206. ./include/linux/bits.h:8: warning: "BIT" redefined
  1207. 8 | #define BIT(nr) (UL(1) << (nr))
  1208. |
  1209. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:28,
  1210. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu.c:26:
  1211. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
  1212. 58 | #define BIT(b) (1<<(b))
  1213. |
  1214. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pte_batch.o
  1215. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_tlb_batch.o
  1216. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_push.o
  1217. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu.c: In function 'uvm_page_tree_put_ptes_async':
  1218. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu.c:693:5: warning: 'invalidate_depth' may be used uninitialized in this function [-Wmaybe-uninitialized]
  1219. 693 | tree->gpu->host_hal->tlb_invalidate_all(&push,
  1220. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1221. 694 | uvm_page_tree_pdb(tree)->addr,
  1222. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1223. 695 | invalidate_depth,
  1224. | ~~~~~~~~~~~~~~~~~
  1225. 696 | membar_after_invalidate);
  1226. | ~~~~~~~~~~~~~~~~~~~~~~~~
  1227. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pushbuffer.o
  1228. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_thread_context.o
  1229. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_tracker.o
  1230. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler.o
  1231. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler_ce.o
  1232. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler_host.o
  1233. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler_mmu.o
  1234. In file included from ./include/linux/bitops.h:5,
  1235. from ./include/linux/kernel.h:12,
  1236. from ./include/linux/list.h:9,
  1237. from ./include/linux/preempt.h:11,
  1238. from ./include/linux/spinlock.h:51,
  1239. from ./include/linux/seqlock.h:36,
  1240. from ./include/linux/time.h:6,
  1241. from ./include/linux/ktime.h:24,
  1242. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-time.h:28,
  1243. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.h:38,
  1244. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:31,
  1245. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39:
  1246. ./include/linux/bits.h:8: warning: "BIT" redefined
  1247. 8 | #define BIT(nr) (UL(1) << (nr))
  1248. |
  1249. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:28,
  1250. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39:
  1251. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
  1252. 58 | #define BIT(b) (1<<(b))
  1253. |
  1254. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_maxwell.o
  1255. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_maxwell_host.o
  1256. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal.o
  1257. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_ce.o
  1258. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_host.o
  1259. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_mmu.o
  1260. In file included from ./include/linux/bitops.h:5,
  1261. from ./include/linux/kernel.h:12,
  1262. from ./include/linux/list.h:9,
  1263. from ./include/linux/preempt.h:11,
  1264. from ./include/linux/spinlock.h:51,
  1265. from ./include/linux/seqlock.h:36,
  1266. from ./include/linux/time.h:6,
  1267. from ./include/linux/ktime.h:24,
  1268. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-time.h:28,
  1269. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.h:38,
  1270. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:31,
  1271. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36:
  1272. ./include/linux/bits.h:8: warning: "BIT" redefined
  1273. 8 | #define BIT(nr) (UL(1) << (nr))
  1274. |
  1275. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:28,
  1276. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36:
  1277. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
  1278. 58 | #define BIT(b) (1<<(b))
  1279. |
  1280. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o
  1281. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_volta_host.o
  1282. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_volta_mmu.o
  1283. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_volta.o
  1284. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_volta_fault_buffer.o
  1285. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.o
  1286. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_turing.o
  1287. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_turing_mmu.o
  1288. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_turing_host.o
  1289. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_policy.o
  1290. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_utils.o
  1291. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kvmalloc.o
  1292. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_sysmem.o
  1293. In file included from ./include/linux/bitops.h:5,
  1294. from ./include/linux/kernel.h:12,
  1295. from ./include/linux/list.h:9,
  1296. from ./include/linux/preempt.h:11,
  1297. from ./include/linux/spinlock.h:51,
  1298. from ./include/linux/seqlock.h:36,
  1299. from ./include/linux/time.h:6,
  1300. from ./include/linux/ktime.h:24,
  1301. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-time.h:28,
  1302. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.h:38,
  1303. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:31,
  1304. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
  1305. ./include/linux/bits.h:8: warning: "BIT" redefined
  1306. 8 | #define BIT(nr) (UL(1) << (nr))
  1307. |
  1308. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:28,
  1309. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
  1310. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
  1311. 58 | #define BIT(b) (1<<(b))
  1312. |
  1313. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_gpu.o
  1314. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_migrate.o
  1315. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_populate_pageable.o
  1316. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_migrate_pageable.o
  1317. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_map_external.o
  1318. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_user_channel.o
  1319. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_hmm.o
  1320. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_heuristics.o
  1321. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_thrashing.o
  1322. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_prefetch.o
  1323. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_ats_ibm.o
  1324. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_ats_faults.o
  1325. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_test.o
  1326. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_test_rng.o
  1327. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_tree_test.o
  1328. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_allocator_test.o
  1329. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o
  1330. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mem_test.o
  1331. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_rm_mem_test.o
  1332. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_page_tree_test.o
  1333. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_tracker_test.o
  1334. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_push_test.o
  1335. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_channel_test.o
  1336. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_ce_test.o
  1337. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_lock_test.o
  1338. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_utils_test.o
  1339. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kvmalloc_test.o
  1340. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_test.o
  1341. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.o
  1342. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_events_test.o
  1343. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_module_test.o
  1344. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o
  1345. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o
  1346. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu_test.o
  1347. In file included from ./include/linux/bitops.h:5,
  1348. from ./include/linux/kernel.h:12,
  1349. from ./include/linux/list.h:9,
  1350. from ./include/linux/preempt.h:11,
  1351. from ./include/linux/spinlock.h:51,
  1352. from ./include/linux/seqlock.h:36,
  1353. from ./include/linux/time.h:6,
  1354. from ./include/linux/ktime.h:24,
  1355. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-time.h:28,
  1356. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.h:38,
  1357. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:31,
  1358. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu_test.c:24:
  1359. ./include/linux/bits.h:8: warning: "BIT" redefined
  1360. 8 | #define BIT(nr) (UL(1) << (nr))
  1361. |
  1362. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:28,
  1363. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu_test.c:24:
  1364. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
  1365. 58 | #define BIT(b) (1<<(b))
  1366. |
  1367. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o
  1368. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_va_block_test.o
  1369. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_group_tree_test.o
  1370. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-modeset/nvidia-modeset-linux.o
  1371. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm.o
  1372. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-drv.o
  1373. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-utils.o
  1374. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-crtc.o
  1375. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-encoder.o
  1376. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-drv.c:657:44: error: 'DRIVER_PRIME' undeclared here (not in a function); did you mean 'DRIVER_PCI_DMA'?
  1377. 657 | .driver_features = DRIVER_GEM | DRIVER_PRIME | DRIVER_RENDER,
  1378. | ^~~~~~~~~~~~
  1379. | DRIVER_PCI_DMA
  1380. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-drv.o] Error 1
  1381. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-connector.o
  1382. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-gem.o
  1383. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-fb.o
  1384. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-modeset.o
  1385. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-prime-fence.o
  1386. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-linux.o
  1387. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-helper.o
  1388. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nv-pci-table.o
  1389. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o
  1390. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o
  1391. LD [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-modeset.o
  1392. ld -r -o /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-modeset/nv-modeset-interface.o /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-modeset/nvidia-modeset-linux.o
  1393. make[2]: Target '__build' not remade because of errors.
  1394. make[1]: *** [Makefile:1719: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel] Error 2
  1395. make[1]: Target 'modules' not remade because of errors.
  1396. make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-37-generic'
  1397. make: *** [Makefile:81: modules] Error 2
  1398. -> Checking to see whether the nvidia kernel module was successfully built
  1399. executing: 'cd ./kernel; /usr/bin/make -k -j4 NV_KERNEL_MODULES="nvidia" NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.4.0-37-generic/build" SYSOUT="/lib/modules/5.4.0-37-generic/build"'...
  1400. make[1]: Entering directory '/usr/src/linux-headers-5.4.0-37-generic'
  1401. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.o
  1402. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.o
  1403. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.o
  1404. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.o
  1405. In file included from ./include/linux/bitops.h:5,
  1406. from ./include/linux/kernel.h:12,
  1407. from ./include/linux/list.h:9,
  1408. from ./include/linux/preempt.h:11,
  1409. from ./include/linux/spinlock.h:51,
  1410. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-lock.h:16,
  1411. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:19,
  1412. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:14:
  1413. ./include/linux/bits.h:8: warning: "BIT" redefined
  1414. 8 | #define BIT(nr) (UL(1) << (nr))
  1415. |
  1416. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:12:
  1417. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
  1418. 58 | #define BIT(b) (1<<(b))
  1419. |
  1420. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c:13:
  1421. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1422. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1423. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1424. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.c:13:
  1425. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1426. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1427. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1428. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c:39:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1429. 39 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1430. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1431. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c: In function 'nv_init_module':
  1432. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c:349:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1433. 349 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1434. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1435. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c: In function 'nv_exit_module':
  1436. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c:364:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1437. 364 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1438. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1439. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.c:15:
  1440. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1441. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1442. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1443. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:14:
  1444. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1445. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1446. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1447. cc1: some warnings being treated as errors
  1448. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.o] Error 1
  1449. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.o
  1450. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:46:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1451. 46 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1452. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1453. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c: In function 'nvidia_init_module':
  1454. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:981:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1455. 981 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1456. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1457. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c: At top level:
  1458. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:1235:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1459. 1235 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1460. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1461. cc1: some warnings being treated as errors
  1462. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.o] Error 1
  1463. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.o
  1464. cc1: some warnings being treated as errors
  1465. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.o] Error 1
  1466. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.o
  1467. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.c:15:
  1468. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1469. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1470. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1471. cc1: some warnings being treated as errors
  1472. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.o] Error 1
  1473. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.o
  1474. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.c:15:
  1475. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1476. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1477. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1478. cc1: some warnings being treated as errors
  1479. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.o] Error 1
  1480. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.o
  1481. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.c:15:
  1482. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1483. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1484. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1485. cc1: some warnings being treated as errors
  1486. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.o] Error 1
  1487. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.o
  1488. cc1: some warnings being treated as errors
  1489. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.o] Error 1
  1490. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.o
  1491. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.c:15:
  1492. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1493. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1494. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1495. cc1: some warnings being treated as errors
  1496. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.o] Error 1
  1497. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.o
  1498. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.c:15:
  1499. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1500. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1501. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1502. cc1: some warnings being treated as errors
  1503. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.o] Error 1
  1504. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.o
  1505. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.c:15:
  1506. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1507. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1508. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1509. cc1: some warnings being treated as errors
  1510. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.o] Error 1
  1511. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.o
  1512. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:15:
  1513. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1514. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1515. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1516. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c: In function 'nv_encode_caching':
  1517. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:255:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1518. 255 | if (NV_ALLOW_CACHING(memory_type))
  1519. | ^
  1520. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:257:9: note: here
  1521. 257 | default:
  1522. | ^~~~~~~
  1523. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.c:15:
  1524. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1525. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1526. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1527. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.c:19:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1528. 19 | #if (NV_BUILD_MODULE_INSTANCES == 0)
  1529. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1530. cc1: some warnings being treated as errors
  1531. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.o] Error 1
  1532. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.o
  1533. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.c:15:
  1534. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1535. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1536. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1537. cc1: some warnings being treated as errors
  1538. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.o] Error 1
  1539. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.o
  1540. cc1: some warnings being treated as errors
  1541. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.o] Error 1
  1542. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.o
  1543. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.c:15:
  1544. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1545. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1546. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1547. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.c:15:
  1548. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1549. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1550. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1551. cc1: some warnings being treated as errors
  1552. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.o] Error 1
  1553. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.o
  1554. cc1: some warnings being treated as errors
  1555. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.o] Error 1
  1556. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.o
  1557. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.c:14:
  1558. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1559. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1560. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1561. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.c:15:
  1562. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1563. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1564. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1565. cc1: some warnings being treated as errors
  1566. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.o] Error 1
  1567. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.o
  1568. cc1: some warnings being treated as errors
  1569. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.o] Error 1
  1570. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.o
  1571. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.c:15:
  1572. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1573. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1574. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1575. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.c:15:
  1576. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1577. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1578. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1579. cc1: some warnings being treated as errors
  1580. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.o] Error 1
  1581. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.o
  1582. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.c:15:
  1583. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1584. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1585. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1586. cc1: some warnings being treated as errors
  1587. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.o] Error 1
  1588. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.o
  1589. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.c:15:
  1590. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1591. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1592. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1593. cc1: some warnings being treated as errors
  1594. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.o] Error 1
  1595. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.o
  1596. cc1: some warnings being treated as errors
  1597. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.o] Error 1
  1598. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.o
  1599. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.c:15:
  1600. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1601. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1602. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1603. cc1: some warnings being treated as errors
  1604. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.o] Error 1
  1605. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.o
  1606. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.c:15:
  1607. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1608. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1609. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1610. cc1: some warnings being treated as errors
  1611. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.o] Error 1
  1612. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.o
  1613. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.c:12:
  1614. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1615. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1616. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1617. cc1: some warnings being treated as errors
  1618. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.o] Error 1
  1619. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.o
  1620. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.c:27:
  1621. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1622. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1623. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1624. cc1: some warnings being treated as errors
  1625. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.o] Error 1
  1626. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.o
  1627. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.c:24:
  1628. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1629. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1630. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1631. cc1: some warnings being treated as errors
  1632. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.o] Error 1
  1633. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.o
  1634. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.c:24:
  1635. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1636. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1637. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1638. cc1: some warnings being treated as errors
  1639. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.o] Error 1
  1640. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.o
  1641. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-msi.h:14,
  1642. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.c:11:
  1643. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1644. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1645. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1646. cc1: some warnings being treated as errors
  1647. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.o] Error 1
  1648. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.c:21:
  1649. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1650. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1651. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1652. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.c:30:
  1653. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1654. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1655. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1656. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.c:29:
  1657. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1658. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1659. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1660. cc1: some warnings being treated as errors
  1661. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.o] Error 1
  1662. cc1: some warnings being treated as errors
  1663. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.o] Error 1
  1664. cc1: some warnings being treated as errors
  1665. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.o] Error 1
  1666. make[2]: Target '__build' not remade because of errors.
  1667. make[1]: *** [Makefile:1719: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel] Error 2
  1668. make[1]: Target 'modules' not remade because of errors.
  1669. make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-37-generic'
  1670. make: *** [Makefile:81: modules] Error 2
  1671. -> Error.
  1672. ERROR: An error occurred while performing the step: "Checking to see whether the nvidia kernel module was successfully built". See /var/log/nvidia-installer.log for details.
  1673. -> The command `cd ./kernel; /usr/bin/make -k -j4 NV_KERNEL_MODULES="nvidia" NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.4.0-37-generic/build" SYSOUT="/lib/modules/5.4.0-37-generic/build"` failed with the following output:
  1674.  
  1675. make[1]: Entering directory '/usr/src/linux-headers-5.4.0-37-generic'
  1676. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.o
  1677. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.o
  1678. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.o
  1679. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.o
  1680. In file included from ./include/linux/bitops.h:5,
  1681. from ./include/linux/kernel.h:12,
  1682. from ./include/linux/list.h:9,
  1683. from ./include/linux/preempt.h:11,
  1684. from ./include/linux/spinlock.h:51,
  1685. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-lock.h:16,
  1686. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:19,
  1687. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:14:
  1688. ./include/linux/bits.h:8: warning: "BIT" redefined
  1689. 8 | #define BIT(nr) (UL(1) << (nr))
  1690. |
  1691. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:12:
  1692. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
  1693. 58 | #define BIT(b) (1<<(b))
  1694. |
  1695. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c:13:
  1696. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1697. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1698. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1699. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.c:13:
  1700. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1701. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1702. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1703. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c:39:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1704. 39 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1705. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1706. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c: In function 'nv_init_module':
  1707. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c:349:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1708. 349 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1709. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1710. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c: In function 'nv_exit_module':
  1711. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c:364:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1712. 364 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1713. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1714. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.c:15:
  1715. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1716. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1717. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1718. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:14:
  1719. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1720. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1721. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1722. cc1: some warnings being treated as errors
  1723. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.o] Error 1
  1724. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.o
  1725. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:46:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1726. 46 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1727. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1728. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c: In function 'nvidia_init_module':
  1729. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:981:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1730. 981 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1731. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1732. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c: At top level:
  1733. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:1235:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1734. 1235 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1735. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1736. cc1: some warnings being treated as errors
  1737. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.o] Error 1
  1738. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.o
  1739. cc1: some warnings being treated as errors
  1740. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.o] Error 1
  1741. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.o
  1742. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.c:15:
  1743. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1744. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1745. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1746. cc1: some warnings being treated as errors
  1747. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.o] Error 1
  1748. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.o
  1749. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.c:15:
  1750. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1751. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1752. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1753. cc1: some warnings being treated as errors
  1754. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.o] Error 1
  1755. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.o
  1756. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.c:15:
  1757. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1758. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1759. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1760. cc1: some warnings being treated as errors
  1761. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.o] Error 1
  1762. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.o
  1763. cc1: some warnings being treated as errors
  1764. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.o] Error 1
  1765. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.o
  1766. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.c:15:
  1767. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1768. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1769. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1770. cc1: some warnings being treated as errors
  1771. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.o] Error 1
  1772. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.o
  1773. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.c:15:
  1774. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1775. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1776. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1777. cc1: some warnings being treated as errors
  1778. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.o] Error 1
  1779. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.o
  1780. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.c:15:
  1781. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1782. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1783. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1784. cc1: some warnings being treated as errors
  1785. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.o] Error 1
  1786. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.o
  1787. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:15:
  1788. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1789. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1790. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1791. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c: In function 'nv_encode_caching':
  1792. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:255:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1793. 255 | if (NV_ALLOW_CACHING(memory_type))
  1794. | ^
  1795. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:257:9: note: here
  1796. 257 | default:
  1797. | ^~~~~~~
  1798. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.c:15:
  1799. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1800. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1801. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1802. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.c:19:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1803. 19 | #if (NV_BUILD_MODULE_INSTANCES == 0)
  1804. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1805. cc1: some warnings being treated as errors
  1806. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.o] Error 1
  1807. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.o
  1808. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.c:15:
  1809. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1810. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1811. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1812. cc1: some warnings being treated as errors
  1813. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.o] Error 1
  1814. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.o
  1815. cc1: some warnings being treated as errors
  1816. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.o] Error 1
  1817. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.o
  1818. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.c:15:
  1819. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1820. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1821. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1822. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.c:15:
  1823. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1824. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1825. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1826. cc1: some warnings being treated as errors
  1827. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.o] Error 1
  1828. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.o
  1829. cc1: some warnings being treated as errors
  1830. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.o] Error 1
  1831. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.o
  1832. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.c:14:
  1833. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1834. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1835. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1836. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.c:15:
  1837. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1838. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1839. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1840. cc1: some warnings being treated as errors
  1841. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.o] Error 1
  1842. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.o
  1843. cc1: some warnings being treated as errors
  1844. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.o] Error 1
  1845. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.o
  1846. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.c:15:
  1847. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1848. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1849. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1850. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.c:15:
  1851. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1852. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1853. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1854. cc1: some warnings being treated as errors
  1855. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.o] Error 1
  1856. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.o
  1857. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.c:15:
  1858. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1859. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1860. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1861. cc1: some warnings being treated as errors
  1862. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.o] Error 1
  1863. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.o
  1864. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.c:15:
  1865. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1866. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1867. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1868. cc1: some warnings being treated as errors
  1869. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.o] Error 1
  1870. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.o
  1871. cc1: some warnings being treated as errors
  1872. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.o] Error 1
  1873. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.o
  1874. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.c:15:
  1875. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1876. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1877. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1878. cc1: some warnings being treated as errors
  1879. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.o] Error 1
  1880. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.o
  1881. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.c:15:
  1882. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1883. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1884. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1885. cc1: some warnings being treated as errors
  1886. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.o] Error 1
  1887. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.o
  1888. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.c:12:
  1889. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1890. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1891. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1892. cc1: some warnings being treated as errors
  1893. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.o] Error 1
  1894. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.o
  1895. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.c:27:
  1896. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1897. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1898. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1899. cc1: some warnings being treated as errors
  1900. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.o] Error 1
  1901. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.o
  1902. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.c:24:
  1903. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1904. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1905. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1906. cc1: some warnings being treated as errors
  1907. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.o] Error 1
  1908. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.o
  1909. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.c:24:
  1910. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1911. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1912. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1913. cc1: some warnings being treated as errors
  1914. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.o] Error 1
  1915. CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.o
  1916. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-msi.h:14,
  1917. from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.c:11:
  1918. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1919. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1920. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1921. cc1: some warnings being treated as errors
  1922. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.o] Error 1
  1923. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.c:21:
  1924. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1925. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1926. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1927. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.c:30:
  1928. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1929. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1930. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1931. In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.c:29:
  1932. /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:1842:6: error: "NV_BUILD_MODULE_INSTANCES" is not defined, evaluates to 0 [-Werror=undef]
  1933. 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
  1934. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  1935. cc1: some warnings being treated as errors
  1936. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.o] Error 1
  1937. cc1: some warnings being treated as errors
  1938. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.o] Error 1
  1939. cc1: some warnings being treated as errors
  1940. make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.o] Error 1
  1941. make[2]: Target '__build' not remade because of errors.
  1942. make[1]: *** [Makefile:1719: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel] Error 2
  1943. make[1]: Target 'modules' not remade because of errors.
  1944. make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-37-generic'
  1945. make: *** [Makefile:81: modules] Error 2
  1946. ERROR: The nvidia kernel module was not created.
  1947. 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.
RAW Paste Data