Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nvidia-installer log file '/var/log/nvidia-installer.log'
- creation time: Sat Jun 13 10:23:20 2020
- installer version: 418.88
- PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
- nvidia-installer command line:
- ./nvidia-installer
- Using: nvidia-installer ncurses v6 user interface
- -> Detected 4 CPUs online; setting concurrency level to 4.
- -> Installing NVIDIA driver version 418.88.
- -> 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)
- -> 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.
- Please review the message provided by the maintainer of this alternate installation method and decide how to proceed:
- 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.
- (Answer: Continue installation)
- -> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: No)
- -> Performing CC sanity check with CC="/usr/bin/cc".
- -> Kernel source path: '/lib/modules/5.4.0-37-generic/build'
- -> Kernel output path: '/lib/modules/5.4.0-37-generic/build'
- -> Performing Compiler check.
- -> Performing Dom0 check.
- -> Performing Xen check.
- -> Performing PREEMPT_RT check.
- -> Performing vgpu_kvm check.
- -> Cleaning kernel module build directory.
- 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"'...
- rm -f -r conftest
- make[1]: Entering directory '/usr/src/linux-headers-5.4.0-37-generic'
- make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-37-generic'
- -> Building kernel modules
- 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"'...
- make[1]: Entering directory '/usr/src/linux-headers-5.4.0-37-generic'
- SYMLINK /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-kernel.o
- SYMLINK /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-modeset/nv-modeset-kernel.o
- CONFTEST: INIT_WORK
- CONFTEST: remap_pfn_range
- CONFTEST: hash__remap_4k_pfn
- CONFTEST: follow_pfn
- CONFTEST: vmap
- CONFTEST: set_pages_uc
- CONFTEST: list_is_first
- CONFTEST: set_memory_uc
- CONFTEST: set_memory_array_uc
- CONFTEST: change_page_attr
- CONFTEST: pci_get_class
- CONFTEST: pci_choose_state
- CONFTEST: vm_insert_page
- CONFTEST: acpi_device_id
- CONFTEST: acquire_console_sem
- CONFTEST: console_lock
- CONFTEST: kmem_cache_create
- CONFTEST: on_each_cpu
- CONFTEST: smp_call_function
- CONFTEST: acpi_evaluate_integer
- CONFTEST: ioremap_cache
- CONFTEST: ioremap_wc
- CONFTEST: acpi_walk_namespace
- CONFTEST: pci_domain_nr
- CONFTEST: pci_dma_mapping_error
- CONFTEST: sg_alloc_table
- CONFTEST: sg_init_table
- CONFTEST: pci_get_domain_bus_and_slot
- CONFTEST: get_num_physpages
- CONFTEST: efi_enabled
- CONFTEST: proc_create_data
- CONFTEST: pde_data
- CONFTEST: proc_remove
- CONFTEST: pm_vt_switch_required
- CONFTEST: xen_ioemu_inject_msi
- CONFTEST: phys_to_dma
- CONFTEST: get_dma_ops
- CONFTEST: write_cr4
- CONFTEST: of_get_property
- CONFTEST: of_find_node_by_phandle
- CONFTEST: of_node_to_nid
- CONFTEST: pnv_pci_get_npu_dev
- CONFTEST: of_get_ibm_chip_id
- CONFTEST: for_each_online_node
- CONFTEST: node_end_pfn
- CONFTEST: pci_bus_address
- CONFTEST: pci_stop_and_remove_bus_device
- CONFTEST: pci_remove_bus_device
- CONFTEST: request_threaded_irq
- CONFTEST: register_cpu_notifier
- CONFTEST: cpuhp_setup_state
- CONFTEST: dma_map_resource
- CONFTEST: backlight_device_register
- CONFTEST: register_acpi_notifier
- CONFTEST: timer_setup
- CONFTEST: pci_enable_msix_range
- CONFTEST: compound_order
- CONFTEST: do_gettimeofday
- CONFTEST: dma_direct_map_resource
- CONFTEST: remap_page_range
- CONFTEST: address_space_init_once
- CONFTEST: kbasename
- CONFTEST: fatal_signal_pending
- CONFTEST: list_cut_position
- CONFTEST: vzalloc
- CONFTEST: wait_on_bit_lock_argument_count
- CONFTEST: bitmap_clear
- CONFTEST: usleep_range
- CONFTEST: radix_tree_empty
- CONFTEST: radix_tree_replace_slot
- CONFTEST: pnv_npu2_init_context
- CONFTEST: drm_dev_unref
- CONFTEST: drm_reinit_primary_mode_group
- CONFTEST: get_user_pages_remote
- CONFTEST: get_user_pages
- CONFTEST: drm_gem_object_lookup
- CONFTEST: drm_atomic_state_ref_counting
- CONFTEST: drm_driver_has_gem_prime_res_obj
- CONFTEST: drm_atomic_helper_connector_dpms
- CONFTEST: drm_connector_funcs_have_mode_in_name
- CONFTEST: vmf_insert_pfn
- CONFTEST: drm_framebuffer_get
- CONFTEST: drm_gem_object_get
- CONFTEST: drm_dev_put
- CONFTEST: is_export_symbol_gpl_of_node_to_nid
- CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
- CONFTEST: is_export_symbol_present_swiotlb_dma_ops
- CONFTEST: i2c_adapter
- CONFTEST: pm_message_t
- CONFTEST: irq_handler_t
- CONFTEST: acpi_device_ops
- CONFTEST: acpi_op_remove
- CONFTEST: outer_flush_all
- CONFTEST: proc_dir_entry
- CONFTEST: scatterlist
- CONFTEST: sg_table
- CONFTEST: file_operations
- CONFTEST: vm_operations_struct
- CONFTEST: atomic_long_type
- CONFTEST: pci_save_state
- CONFTEST: file_inode
- CONFTEST: task_struct
- CONFTEST: kuid_t
- CONFTEST: dma_ops
- CONFTEST: swiotlb_dma_ops
- CONFTEST: dma_map_ops
- CONFTEST: noncoherent_swiotlb_dma_ops
- CONFTEST: vm_fault_present
- CONFTEST: vm_fault_has_address
- CONFTEST: backlight_properties_type
- CONFTEST: vmbus_channel_has_ringbuffer_page
- CONFTEST: fault_flags
- CONFTEST: atomic64_type
- CONFTEST: address_space
- CONFTEST: backing_dev_info
- CONFTEST: mm_context_t
- CONFTEST: vm_ops_fault_removed_vma_arg
- CONFTEST: node_states_n_memory
- CONFTEST: drm_bus_present
- CONFTEST: drm_bus_has_bus_type
- CONFTEST: drm_bus_has_get_irq
- CONFTEST: drm_bus_has_get_name
- CONFTEST: drm_driver_has_legacy_dev_list
- CONFTEST: drm_driver_has_set_busid
- CONFTEST: drm_crtc_state_has_connectors_changed
- CONFTEST: drm_init_function_args
- CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg
- CONFTEST: drm_helper_mode_fill_fb_struct
- CONFTEST: drm_master_drop_has_from_release_arg
- CONFTEST: drm_driver_unload_has_int_return_type
- CONFTEST: kref_has_refcount_of_type_refcount_t
- CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
- CONFTEST: drm_crtc_helper_funcs_has_atomic_enable
- CONFTEST: drm_mode_object_find_has_file_priv_arg
- CONFTEST: dma_buf_owner
- CONFTEST: drm_connector_list_iter
- CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
- CONFTEST: dom0_kernel_present
- CONFTEST: nvidia_vgpu_hyperv_available
- CONFTEST: nvidia_vgpu_kvm_build
- CONFTEST: nvidia_grid_build
- CONFTEST: drm_available
- CONFTEST: drm_atomic_available
- CONFTEST: is_export_symbol_gpl_refcount_inc
- CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.o
- In file included from ./include/linux/bitops.h:5,
- from ./include/linux/kernel.h:12,
- from ./include/linux/list.h:9,
- from ./include/linux/preempt.h:11,
- from ./include/linux/spinlock.h:51,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-lock.h:16,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:19,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:14:
- ./include/linux/bits.h:8: warning: "BIT" redefined
- 8 | #define BIT(nr) (UL(1) << (nr))
- |
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:12:
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
- 58 | #define BIT(b) (1<<(b))
- |
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.c:13:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c:13:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- 39 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c: In function 'nv_init_module':
- /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]
- 349 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c: In function 'nv_exit_module':
- /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]
- 364 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:14:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- 46 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c: In function 'nvidia_init_module':
- /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]
- 981 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c: At top level:
- /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]
- 1235 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.o] Error 1
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.o] Error 1
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- 19 | #if (NV_BUILD_MODULE_INSTANCES == 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c: In function 'nv_encode_caching':
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:255:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
- 255 | if (NV_ALLOW_CACHING(memory_type))
- | ^
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:257:9: note: here
- 257 | default:
- | ^~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.c:14:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.o
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pci-table.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-kthread-q.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-kthread-q-selftest.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.c:12:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.c:27:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.c:24:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.c:24:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-msi.h:14,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.c:11:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.c:21:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_utils.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.c:30:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_common.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.c:29:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/nvstatus.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/nvCpuUuid.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_tools.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_global.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv_uvm_interface.h:35,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_isr.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_procfs.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_va_space.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_va_space_mm.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_semaphore.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mem.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_rm_mem.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_channel.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_lock.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_hal.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_tree.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_allocator.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_va_range.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_va_block.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_group.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv_uvm_interface.h:35,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_access_counters.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_events.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv_uvm_interface.h:35,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv_uvm_interface.h:35,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- 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
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_module.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_access_counters.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu.o
- In file included from ./include/linux/bitops.h:5,
- from ./include/linux/kernel.h:12,
- from ./include/linux/list.h:9,
- from ./include/linux/preempt.h:11,
- from ./include/linux/spinlock.h:51,
- from ./include/linux/seqlock.h:36,
- from ./include/linux/time.h:6,
- from ./include/linux/ktime.h:24,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-time.h:28,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu.c:26:
- ./include/linux/bits.h:8: warning: "BIT" redefined
- 8 | #define BIT(nr) (UL(1) << (nr))
- |
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:28,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu.c:26:
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
- 58 | #define BIT(b) (1<<(b))
- |
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pte_batch.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_tlb_batch.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_push.o
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu.c: In function 'uvm_page_tree_put_ptes_async':
- /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]
- 693 | tree->gpu->host_hal->tlb_invalidate_all(&push,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 694 | uvm_page_tree_pdb(tree)->addr,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 695 | invalidate_depth,
- | ~~~~~~~~~~~~~~~~~
- 696 | membar_after_invalidate);
- | ~~~~~~~~~~~~~~~~~~~~~~~~
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pushbuffer.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_thread_context.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_tracker.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler_ce.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler_host.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler_mmu.o
- In file included from ./include/linux/bitops.h:5,
- from ./include/linux/kernel.h:12,
- from ./include/linux/list.h:9,
- from ./include/linux/preempt.h:11,
- from ./include/linux/spinlock.h:51,
- from ./include/linux/seqlock.h:36,
- from ./include/linux/time.h:6,
- from ./include/linux/ktime.h:24,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-time.h:28,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39:
- ./include/linux/bits.h:8: warning: "BIT" redefined
- 8 | #define BIT(nr) (UL(1) << (nr))
- |
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:28,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39:
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
- 58 | #define BIT(b) (1<<(b))
- |
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_maxwell.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_maxwell_host.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_ce.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_host.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_mmu.o
- In file included from ./include/linux/bitops.h:5,
- from ./include/linux/kernel.h:12,
- from ./include/linux/list.h:9,
- from ./include/linux/preempt.h:11,
- from ./include/linux/spinlock.h:51,
- from ./include/linux/seqlock.h:36,
- from ./include/linux/time.h:6,
- from ./include/linux/ktime.h:24,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-time.h:28,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36:
- ./include/linux/bits.h:8: warning: "BIT" redefined
- 8 | #define BIT(nr) (UL(1) << (nr))
- |
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:28,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36:
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
- 58 | #define BIT(b) (1<<(b))
- |
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_volta_host.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_volta_mmu.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_volta.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_volta_fault_buffer.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_turing.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_turing_mmu.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_turing_host.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_policy.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_utils.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kvmalloc.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_sysmem.o
- In file included from ./include/linux/bitops.h:5,
- from ./include/linux/kernel.h:12,
- from ./include/linux/list.h:9,
- from ./include/linux/preempt.h:11,
- from ./include/linux/spinlock.h:51,
- from ./include/linux/seqlock.h:36,
- from ./include/linux/time.h:6,
- from ./include/linux/ktime.h:24,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-time.h:28,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- ./include/linux/bits.h:8: warning: "BIT" redefined
- 8 | #define BIT(nr) (UL(1) << (nr))
- |
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:28,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
- 58 | #define BIT(b) (1<<(b))
- |
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_gpu.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_migrate.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_populate_pageable.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_migrate_pageable.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_map_external.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_user_channel.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_hmm.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_heuristics.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_thrashing.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_prefetch.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_ats_ibm.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_ats_faults.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_test_rng.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_tree_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_allocator_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mem_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_rm_mem_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_page_tree_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_tracker_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_push_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_channel_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_ce_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_lock_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_utils_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kvmalloc_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_events_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_module_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu_test.o
- In file included from ./include/linux/bitops.h:5,
- from ./include/linux/kernel.h:12,
- from ./include/linux/list.h:9,
- from ./include/linux/preempt.h:11,
- from ./include/linux/spinlock.h:51,
- from ./include/linux/seqlock.h:36,
- from ./include/linux/time.h:6,
- from ./include/linux/ktime.h:24,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-time.h:28,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu_test.c:24:
- ./include/linux/bits.h:8: warning: "BIT" redefined
- 8 | #define BIT(nr) (UL(1) << (nr))
- |
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:28,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu_test.c:24:
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
- 58 | #define BIT(b) (1<<(b))
- |
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_va_block_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_group_tree_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-modeset/nvidia-modeset-linux.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-drv.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-utils.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-crtc.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-encoder.o
- /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'?
- 657 | .driver_features = DRIVER_GEM | DRIVER_PRIME | DRIVER_RENDER,
- | ^~~~~~~~~~~~
- | DRIVER_PCI_DMA
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-drv.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-connector.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-gem.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-fb.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-modeset.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-prime-fence.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-linux.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-helper.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nv-pci-table.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o
- LD [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-modeset.o
- 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
- make[2]: Target '__build' not remade because of errors.
- make[1]: *** [Makefile:1719: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel] Error 2
- make[1]: Target 'modules' not remade because of errors.
- make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-37-generic'
- make: *** [Makefile:81: modules] Error 2
- -> Error.
- ERROR: An error occurred while performing the step: "Building kernel modules". See /var/log/nvidia-installer.log for details.
- -> The command `cd ./kernel; /usr/bin/make -k -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:
- make[1]: Entering directory '/usr/src/linux-headers-5.4.0-37-generic'
- SYMLINK /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-kernel.o
- SYMLINK /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-modeset/nv-modeset-kernel.o
- CONFTEST: INIT_WORK
- CONFTEST: remap_pfn_range
- CONFTEST: hash__remap_4k_pfn
- CONFTEST: follow_pfn
- CONFTEST: vmap
- CONFTEST: set_pages_uc
- CONFTEST: list_is_first
- CONFTEST: set_memory_uc
- CONFTEST: set_memory_array_uc
- CONFTEST: change_page_attr
- CONFTEST: pci_get_class
- CONFTEST: pci_choose_state
- CONFTEST: vm_insert_page
- CONFTEST: acpi_device_id
- CONFTEST: acquire_console_sem
- CONFTEST: console_lock
- CONFTEST: kmem_cache_create
- CONFTEST: on_each_cpu
- CONFTEST: smp_call_function
- CONFTEST: acpi_evaluate_integer
- CONFTEST: ioremap_cache
- CONFTEST: ioremap_wc
- CONFTEST: acpi_walk_namespace
- CONFTEST: pci_domain_nr
- CONFTEST: pci_dma_mapping_error
- CONFTEST: sg_alloc_table
- CONFTEST: sg_init_table
- CONFTEST: pci_get_domain_bus_and_slot
- CONFTEST: get_num_physpages
- CONFTEST: efi_enabled
- CONFTEST: proc_create_data
- CONFTEST: pde_data
- CONFTEST: proc_remove
- CONFTEST: pm_vt_switch_required
- CONFTEST: xen_ioemu_inject_msi
- CONFTEST: phys_to_dma
- CONFTEST: get_dma_ops
- CONFTEST: write_cr4
- CONFTEST: of_get_property
- CONFTEST: of_find_node_by_phandle
- CONFTEST: of_node_to_nid
- CONFTEST: pnv_pci_get_npu_dev
- CONFTEST: of_get_ibm_chip_id
- CONFTEST: for_each_online_node
- CONFTEST: node_end_pfn
- CONFTEST: pci_bus_address
- CONFTEST: pci_stop_and_remove_bus_device
- CONFTEST: pci_remove_bus_device
- CONFTEST: request_threaded_irq
- CONFTEST: register_cpu_notifier
- CONFTEST: cpuhp_setup_state
- CONFTEST: dma_map_resource
- CONFTEST: backlight_device_register
- CONFTEST: register_acpi_notifier
- CONFTEST: timer_setup
- CONFTEST: pci_enable_msix_range
- CONFTEST: compound_order
- CONFTEST: do_gettimeofday
- CONFTEST: dma_direct_map_resource
- CONFTEST: remap_page_range
- CONFTEST: address_space_init_once
- CONFTEST: kbasename
- CONFTEST: fatal_signal_pending
- CONFTEST: list_cut_position
- CONFTEST: vzalloc
- CONFTEST: wait_on_bit_lock_argument_count
- CONFTEST: bitmap_clear
- CONFTEST: usleep_range
- CONFTEST: radix_tree_empty
- CONFTEST: radix_tree_replace_slot
- CONFTEST: pnv_npu2_init_context
- CONFTEST: drm_dev_unref
- CONFTEST: drm_reinit_primary_mode_group
- CONFTEST: get_user_pages_remote
- CONFTEST: get_user_pages
- CONFTEST: drm_gem_object_lookup
- CONFTEST: drm_atomic_state_ref_counting
- CONFTEST: drm_driver_has_gem_prime_res_obj
- CONFTEST: drm_atomic_helper_connector_dpms
- CONFTEST: drm_connector_funcs_have_mode_in_name
- CONFTEST: vmf_insert_pfn
- CONFTEST: drm_framebuffer_get
- CONFTEST: drm_gem_object_get
- CONFTEST: drm_dev_put
- CONFTEST: is_export_symbol_gpl_of_node_to_nid
- CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
- CONFTEST: is_export_symbol_present_swiotlb_dma_ops
- CONFTEST: i2c_adapter
- CONFTEST: pm_message_t
- CONFTEST: irq_handler_t
- CONFTEST: acpi_device_ops
- CONFTEST: acpi_op_remove
- CONFTEST: outer_flush_all
- CONFTEST: proc_dir_entry
- CONFTEST: scatterlist
- CONFTEST: sg_table
- CONFTEST: file_operations
- CONFTEST: vm_operations_struct
- CONFTEST: atomic_long_type
- CONFTEST: pci_save_state
- CONFTEST: file_inode
- CONFTEST: task_struct
- CONFTEST: kuid_t
- CONFTEST: dma_ops
- CONFTEST: swiotlb_dma_ops
- CONFTEST: dma_map_ops
- CONFTEST: noncoherent_swiotlb_dma_ops
- CONFTEST: vm_fault_present
- CONFTEST: vm_fault_has_address
- CONFTEST: backlight_properties_type
- CONFTEST: vmbus_channel_has_ringbuffer_page
- CONFTEST: fault_flags
- CONFTEST: atomic64_type
- CONFTEST: address_space
- CONFTEST: backing_dev_info
- CONFTEST: mm_context_t
- CONFTEST: vm_ops_fault_removed_vma_arg
- CONFTEST: node_states_n_memory
- CONFTEST: drm_bus_present
- CONFTEST: drm_bus_has_bus_type
- CONFTEST: drm_bus_has_get_irq
- CONFTEST: drm_bus_has_get_name
- CONFTEST: drm_driver_has_legacy_dev_list
- CONFTEST: drm_driver_has_set_busid
- CONFTEST: drm_crtc_state_has_connectors_changed
- CONFTEST: drm_init_function_args
- CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg
- CONFTEST: drm_helper_mode_fill_fb_struct
- CONFTEST: drm_master_drop_has_from_release_arg
- CONFTEST: drm_driver_unload_has_int_return_type
- CONFTEST: kref_has_refcount_of_type_refcount_t
- CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
- CONFTEST: drm_crtc_helper_funcs_has_atomic_enable
- CONFTEST: drm_mode_object_find_has_file_priv_arg
- CONFTEST: dma_buf_owner
- CONFTEST: drm_connector_list_iter
- CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
- CONFTEST: dom0_kernel_present
- CONFTEST: nvidia_vgpu_hyperv_available
- CONFTEST: nvidia_vgpu_kvm_build
- CONFTEST: nvidia_grid_build
- CONFTEST: drm_available
- CONFTEST: drm_atomic_available
- CONFTEST: is_export_symbol_gpl_refcount_inc
- CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.o
- In file included from ./include/linux/bitops.h:5,
- from ./include/linux/kernel.h:12,
- from ./include/linux/list.h:9,
- from ./include/linux/preempt.h:11,
- from ./include/linux/spinlock.h:51,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-lock.h:16,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:19,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:14:
- ./include/linux/bits.h:8: warning: "BIT" redefined
- 8 | #define BIT(nr) (UL(1) << (nr))
- |
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:12:
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
- 58 | #define BIT(b) (1<<(b))
- |
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.c:13:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c:13:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- 39 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c: In function 'nv_init_module':
- /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]
- 349 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c: In function 'nv_exit_module':
- /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]
- 364 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:14:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- 46 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c: In function 'nvidia_init_module':
- /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]
- 981 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c: At top level:
- /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]
- 1235 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.o] Error 1
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.o] Error 1
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- 19 | #if (NV_BUILD_MODULE_INSTANCES == 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c: In function 'nv_encode_caching':
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:255:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
- 255 | if (NV_ALLOW_CACHING(memory_type))
- | ^
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:257:9: note: here
- 257 | default:
- | ^~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.c:14:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.o
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pci-table.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-kthread-q.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-kthread-q-selftest.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.c:12:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.c:27:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.c:24:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.c:24:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-msi.h:14,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.c:11:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.c:21:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_utils.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.c:30:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_common.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.c:29:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/nvstatus.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/nvCpuUuid.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_tools.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_global.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv_uvm_interface.h:35,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_isr.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_procfs.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_va_space.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_va_space_mm.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_semaphore.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mem.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_rm_mem.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_channel.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_lock.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_hal.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_tree.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_allocator.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_va_range.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_va_block.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_group.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv_uvm_interface.h:35,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_access_counters.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_events.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv_uvm_interface.h:35,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv_uvm_interface.h:35,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- 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
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_module.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_access_counters.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu.o
- In file included from ./include/linux/bitops.h:5,
- from ./include/linux/kernel.h:12,
- from ./include/linux/list.h:9,
- from ./include/linux/preempt.h:11,
- from ./include/linux/spinlock.h:51,
- from ./include/linux/seqlock.h:36,
- from ./include/linux/time.h:6,
- from ./include/linux/ktime.h:24,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-time.h:28,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu.c:26:
- ./include/linux/bits.h:8: warning: "BIT" redefined
- 8 | #define BIT(nr) (UL(1) << (nr))
- |
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:28,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu.c:26:
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
- 58 | #define BIT(b) (1<<(b))
- |
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pte_batch.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_tlb_batch.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_push.o
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu.c: In function 'uvm_page_tree_put_ptes_async':
- /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]
- 693 | tree->gpu->host_hal->tlb_invalidate_all(&push,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 694 | uvm_page_tree_pdb(tree)->addr,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 695 | invalidate_depth,
- | ~~~~~~~~~~~~~~~~~
- 696 | membar_after_invalidate);
- | ~~~~~~~~~~~~~~~~~~~~~~~~
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pushbuffer.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_thread_context.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_tracker.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler_ce.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler_host.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler_mmu.o
- In file included from ./include/linux/bitops.h:5,
- from ./include/linux/kernel.h:12,
- from ./include/linux/list.h:9,
- from ./include/linux/preempt.h:11,
- from ./include/linux/spinlock.h:51,
- from ./include/linux/seqlock.h:36,
- from ./include/linux/time.h:6,
- from ./include/linux/ktime.h:24,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-time.h:28,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39:
- ./include/linux/bits.h:8: warning: "BIT" redefined
- 8 | #define BIT(nr) (UL(1) << (nr))
- |
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:28,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39:
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
- 58 | #define BIT(b) (1<<(b))
- |
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_maxwell.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_maxwell_host.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_ce.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_host.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_mmu.o
- In file included from ./include/linux/bitops.h:5,
- from ./include/linux/kernel.h:12,
- from ./include/linux/list.h:9,
- from ./include/linux/preempt.h:11,
- from ./include/linux/spinlock.h:51,
- from ./include/linux/seqlock.h:36,
- from ./include/linux/time.h:6,
- from ./include/linux/ktime.h:24,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-time.h:28,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36:
- ./include/linux/bits.h:8: warning: "BIT" redefined
- 8 | #define BIT(nr) (UL(1) << (nr))
- |
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:28,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36:
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
- 58 | #define BIT(b) (1<<(b))
- |
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_volta_host.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_volta_mmu.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_volta.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_volta_fault_buffer.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_turing.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_turing_mmu.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_turing_host.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_policy.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_utils.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kvmalloc.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_sysmem.o
- In file included from ./include/linux/bitops.h:5,
- from ./include/linux/kernel.h:12,
- from ./include/linux/list.h:9,
- from ./include/linux/preempt.h:11,
- from ./include/linux/spinlock.h:51,
- from ./include/linux/seqlock.h:36,
- from ./include/linux/time.h:6,
- from ./include/linux/ktime.h:24,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-time.h:28,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- ./include/linux/bits.h:8: warning: "BIT" redefined
- 8 | #define BIT(nr) (UL(1) << (nr))
- |
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:28,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
- 58 | #define BIT(b) (1<<(b))
- |
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_gpu.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_migrate.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_populate_pageable.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_migrate_pageable.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_map_external.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_user_channel.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_hmm.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_heuristics.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_thrashing.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_prefetch.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_ats_ibm.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_ats_faults.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_test_rng.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_tree_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_allocator_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mem_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_rm_mem_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_page_tree_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_tracker_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_push_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_channel_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_ce_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_lock_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_utils_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_kvmalloc_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_events_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_perf_module_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu_test.o
- In file included from ./include/linux/bitops.h:5,
- from ./include/linux/kernel.h:12,
- from ./include/linux/list.h:9,
- from ./include/linux/preempt.h:11,
- from ./include/linux/spinlock.h:51,
- from ./include/linux/seqlock.h:36,
- from ./include/linux/time.h:6,
- from ./include/linux/ktime.h:24,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-time.h:28,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu_test.c:24:
- ./include/linux/bits.h:8: warning: "BIT" redefined
- 8 | #define BIT(nr) (UL(1) << (nr))
- |
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_gpu.h:28,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_mmu_test.c:24:
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
- 58 | #define BIT(b) (1<<(b))
- |
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_va_block_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-uvm/uvm8_range_group_tree_test.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-modeset/nvidia-modeset-linux.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-drv.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-utils.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-crtc.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-encoder.o
- /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'?
- 657 | .driver_features = DRIVER_GEM | DRIVER_PRIME | DRIVER_RENDER,
- | ^~~~~~~~~~~~
- | DRIVER_PCI_DMA
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-drv.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-connector.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-gem.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-fb.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-modeset.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-prime-fence.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-linux.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-helper.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nv-pci-table.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o
- LD [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia-modeset.o
- 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
- make[2]: Target '__build' not remade because of errors.
- make[1]: *** [Makefile:1719: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel] Error 2
- make[1]: Target 'modules' not remade because of errors.
- make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-37-generic'
- make: *** [Makefile:81: modules] Error 2
- -> Checking to see whether the nvidia kernel module was successfully built
- 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"'...
- make[1]: Entering directory '/usr/src/linux-headers-5.4.0-37-generic'
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.o
- In file included from ./include/linux/bitops.h:5,
- from ./include/linux/kernel.h:12,
- from ./include/linux/list.h:9,
- from ./include/linux/preempt.h:11,
- from ./include/linux/spinlock.h:51,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-lock.h:16,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:19,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:14:
- ./include/linux/bits.h:8: warning: "BIT" redefined
- 8 | #define BIT(nr) (UL(1) << (nr))
- |
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:12:
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
- 58 | #define BIT(b) (1<<(b))
- |
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c:13:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.c:13:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- 39 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c: In function 'nv_init_module':
- /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]
- 349 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c: In function 'nv_exit_module':
- /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]
- 364 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:14:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.o
- /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]
- 46 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c: In function 'nvidia_init_module':
- /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]
- 981 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c: At top level:
- /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]
- 1235 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c: In function 'nv_encode_caching':
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:255:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
- 255 | if (NV_ALLOW_CACHING(memory_type))
- | ^
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:257:9: note: here
- 257 | default:
- | ^~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- 19 | #if (NV_BUILD_MODULE_INSTANCES == 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.c:14:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.c:12:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.c:27:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.c:24:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.c:24:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-msi.h:14,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.c:11:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.o] Error 1
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.c:21:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.c:30:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.c:29:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.o] Error 1
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.o] Error 1
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.o] Error 1
- make[2]: Target '__build' not remade because of errors.
- make[1]: *** [Makefile:1719: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel] Error 2
- make[1]: Target 'modules' not remade because of errors.
- make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-37-generic'
- make: *** [Makefile:81: modules] Error 2
- -> Error.
- 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.
- -> 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:
- make[1]: Entering directory '/usr/src/linux-headers-5.4.0-37-generic'
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.o
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.o
- In file included from ./include/linux/bitops.h:5,
- from ./include/linux/kernel.h:12,
- from ./include/linux/list.h:9,
- from ./include/linux/preempt.h:11,
- from ./include/linux/spinlock.h:51,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-lock.h:16,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-linux.h:19,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:14:
- ./include/linux/bits.h:8: warning: "BIT" redefined
- 8 | #define BIT(nr) (UL(1) << (nr))
- |
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:12:
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition
- 58 | #define BIT(b) (1<<(b))
- |
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c:13:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.c:13:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- 39 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c: In function 'nv_init_module':
- /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]
- 349 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.c: In function 'nv_exit_module':
- /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]
- 364 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c:14:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-instance.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.o
- /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]
- 46 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c: In function 'nvidia_init_module':
- /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]
- 981 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.c: At top level:
- /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]
- 1235 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-frontend.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-acpi.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-chrdev.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-cray.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-dma.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-gvi.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-i2c.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mempool.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c: In function 'nv_encode_caching':
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:255:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
- 255 | if (NV_ALLOW_CACHING(memory_type))
- | ^
- /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.c:257:9: note: here
- 257 | default:
- | ^~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- 19 | #if (NV_BUILD_MODULE_INSTANCES == 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-mmap.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-pat.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-p2p.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-usermap.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-procfs.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.c:14:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vtophys.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-vm.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-mlock.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-pci.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-registry.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.o
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-interface.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/os-usermap.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.c:15:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-modeset-interface.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.c:12:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-memdbg.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.c:27:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-ibmnpu.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.c:24:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-report-err.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.c:24:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-rsync.o] Error 1
- CC [M] /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.o
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/common/inc/nv-msi.h:14,
- from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.c:11:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv-msi.o] Error 1
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.c:21:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.c:30:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.c:29:
- /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]
- 1842 | #if (NV_BUILD_MODULE_INSTANCES != 0)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nv_uvm_interface.o] Error 1
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/nvlink_linux.o] Error 1
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:275: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel/nvidia/linux_nvswitch.o] Error 1
- make[2]: Target '__build' not remade because of errors.
- make[1]: *** [Makefile:1719: /tmp/selfgz12603/NVIDIA-Linux-x86_64-418.88/kernel] Error 2
- make[1]: Target 'modules' not remade because of errors.
- make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-37-generic'
- make: *** [Makefile:81: modules] Error 2
- ERROR: The nvidia kernel module was not created.
- ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement