nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Tue May 24 16:31:05 2022 installer version: 418.113 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 8 CPUs online; setting concurrency level to 8. -> Installing NVIDIA driver version 418.113. -> There appears to already be a driver installed on your system (version: 418.113). As part of installing this driver (version: 418.113), 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.17.5-76051705-generic/build' -> Kernel output path: '/lib/modules/5.17.5-76051705-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 -j8 clean NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.17.5-76051705-generic/build" SYSOUT="/lib/modules/5.17.5-76051705-generic/build"'... rm -f -r conftest make[1]: Entering directory '/usr/src/linux-headers-5.17.5-76051705-generic' make[1]: Leaving directory '/usr/src/linux-headers-5.17.5-76051705-generic' -> Building kernel modules executing: 'cd ./kernel; /usr/bin/make -k -j8 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.17.5-76051705-generic/build" SYSOUT="/lib/modules/5.17.5-76051705-generic/build"'... make[1]: Entering directory '/usr/src/linux-headers-5.17.5-76051705-generic' warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 You are using: cc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 SYMLINK /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-kernel.o SYMLINK /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/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: vmf_insert_pfn 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: 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: 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: kmem_cache_has_kobj_remove_work CONFTEST: sysfs_slab_unlink 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_has_bus_type CONFTEST: drm_bus_present CONFTEST: drm_bus_has_get_name CONFTEST: drm_bus_has_get_irq 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: drm_driver_prime_flag_present 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/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.c:12: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.c:12: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.c:13: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.o compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:12: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.o compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pci-table.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-kthread-q.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-kthread-q-selftest.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.o compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-msi.h:14, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.c:11: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_utils.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.c:20: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_utils.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/nvstatus.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/nvCpuUuid.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_isr.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:29: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_isr.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.o] Error 1 /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.o] Error 1 /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_ce.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_host.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_mmu.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell_host.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_ce.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_host.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_ce.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_mmu.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_host.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_mmu.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_host.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_mmu.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell_host.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_fault_buffer.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_ce.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_host.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_mmu.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_mmu.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_host.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_host.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_host.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_host.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') compilation terminated. /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_fault_buffer.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_mmu.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_mmu.c:26: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_mmu.c:26: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_mmu.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_host.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_host.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_host.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.o /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_heuristics.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_ibm.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_heuristics.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_ibm.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_ibm.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_ibm.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_page_tree_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ce_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_page_tree_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push_test.c:26: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push_test.c:26: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel_test.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module_test.o /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ce_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group_tree_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module_test.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm.o /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-drv.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-utils.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-crtc.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-encoder.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-connector.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-fb.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-modeset.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-prime-fence.o /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_test.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-linux.o /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group_tree_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-helper.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nv-pci-table.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.c:30: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-os-interface.h:19:10: fatal error: stddef.h: No such file or directory 19 | #include /* size_t */ | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.o] Error 1 LD [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm.o make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1837: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/linux-headers-5.17.5-76051705-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 -j8 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.17.5-76051705-generic/build" SYSOUT="/lib/modules/5.17.5-76051705-generic/build"` failed with the following output: make[1]: Entering directory '/usr/src/linux-headers-5.17.5-76051705-generic' warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 You are using: cc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 SYMLINK /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-kernel.o SYMLINK /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/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: vmf_insert_pfn 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: 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: 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: kmem_cache_has_kobj_remove_work CONFTEST: sysfs_slab_unlink 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_has_bus_type CONFTEST: drm_bus_present CONFTEST: drm_bus_has_get_name CONFTEST: drm_bus_has_get_irq 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: drm_driver_prime_flag_present 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/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.c:12: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.c:12: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.c:13: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.o compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:12: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.o compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pci-table.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-kthread-q.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-kthread-q-selftest.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.o compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-msi.h:14, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.c:11: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_utils.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.c:20: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_utils.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/nvstatus.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/nvCpuUuid.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_isr.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:29: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_isr.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.o] Error 1 /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.o] Error 1 /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_ce.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_host.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_mmu.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell_host.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_ce.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_host.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_ce.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_mmu.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_host.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_mmu.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_host.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_mmu.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell_host.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_fault_buffer.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_ce.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_host.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_mmu.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_mmu.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_host.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_host.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_host.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_host.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') compilation terminated. /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_fault_buffer.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_mmu.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_mmu.c:26: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_mmu.c:26: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_mmu.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_host.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_host.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_host.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.o /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_heuristics.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_ibm.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_heuristics.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_ibm.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_ibm.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_ibm.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_page_tree_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ce_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_page_tree_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push_test.c:26: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push_test.c:26: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel_test.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module_test.o /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ce_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group_tree_test.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module_test.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm.o /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-drv.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-utils.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-crtc.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-encoder.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-connector.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-fb.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-modeset.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-prime-fence.o /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_test.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 30 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday': /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec' 40 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer 40 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec' 41 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-linux.o /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer 41 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)') /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:9: error: invalid use of undefined type 'struct timeval' 39 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h: At top level: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group_tree_test.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-helper.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nv-pci-table.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.c:30: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-os-interface.h:19:10: fatal error: stddef.h: No such file or directory 19 | #include /* size_t */ | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.o] Error 1 LD [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm.o make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1837: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/linux-headers-5.17.5-76051705-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 -j8 NV_KERNEL_MODULES="nvidia" NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.17.5-76051705-generic/build" SYSOUT="/lib/modules/5.17.5-76051705-generic/build"'... make[1]: Entering directory '/usr/src/linux-headers-5.17.5-76051705-generic' warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 You are using: cc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.c:12: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.c:12: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.o compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.c:13: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.o] Error 1 compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:12: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-msi.h:14, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.c:11: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.c:20: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:29: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.o] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1837: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/linux-headers-5.17.5-76051705-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 -j8 NV_KERNEL_MODULES="nvidia" NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.17.5-76051705-generic/build" SYSOUT="/lib/modules/5.17.5-76051705-generic/build"` failed with the following output: make[1]: Entering directory '/usr/src/linux-headers-5.17.5-76051705-generic' warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 You are using: cc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.c:12: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.c:12: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.o compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.c:13: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.o] Error 1 compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:12: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.o CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.c:14: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.o make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.o] Error 1 CC [M] /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.o In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.c:24: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-msi.h:14, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.c:11: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.c:20: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.o] Error 1 In file included from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:16, from /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:29: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv.h:23:10: fatal error: stdarg.h: No such file or directory 23 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:288: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.o] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1837: /tmp/selfgz7275/NVIDIA-Linux-x86_64-418.113/kernel] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/linux-headers-5.17.5-76051705-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.