I wasnât able to compile the drivers from source. I substituted 435xx
and linux510
into the commands as advised:
16318 [2021-01-04 23:29:22] git clone https://gitlab.manjaro.org/packages/extra/nvidia-435xx-utils.git
16319 [2021-01-04 23:29:24] git clone https://gitlab.manjaro.org/packages/multilib/lib32-nvidia-435xx-utils.git
16320 [2021-01-04 23:29:26] git clone https://gitlab.manjaro.org/packages/extra/linux510-extramodules/nvidia-435xx.git
16321 [2021-01-04 23:29:37] cd nvidia-435xx-utils && makepkg -si
16322 [2021-01-04 23:33:55] cd ../lib32-nvidia-435xx-utils && makepkg -si
16323 [2021-01-04 23:36:19] cd ../nvidia-435xx && makepkg -sif
Hereâs the relevant part of the final makepkg
's output (after âStarting build()âŚâ):
make[1]: Entering directory '/usr/lib/modules/5.10.2-2-MANJARO/build'
scripts/Makefile.lib:8: 'always' is deprecated. Please use 'always-y' instead
SYMLINK /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-kernel.o
SYMLINK /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia-modeset/nv-modeset-kernel.o
CONFTEST: hash__remap_4k_pfn
CONFTEST: set_pages_uc
CONFTEST: list_is_first
CONFTEST: set_memory_uc
CONFTEST: set_memory_array_uc
CONFTEST: acquire_console_sem
CONFTEST: console_lock
CONFTEST: ioremap_cache
CONFTEST: ioremap_nocache
CONFTEST: ioremap_wc
CONFTEST: acpi_walk_namespace
CONFTEST: sg_alloc_table
CONFTEST: pci_get_domain_bus_and_slot
CONFTEST: get_num_physpages
CONFTEST: ktime_get_raw_ts64
CONFTEST: ktime_get_real_ts64
CONFTEST: efi_enabled
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: node_end_pfn
CONFTEST: pci_bus_address
CONFTEST: pci_stop_and_remove_bus_device
CONFTEST: pci_remove_bus_device
CONFTEST: register_cpu_notifier
CONFTEST: cpuhp_setup_state
CONFTEST: dma_map_resource
CONFTEST: backlight_device_register
CONFTEST: timer_setup
CONFTEST: pci_enable_msix_range
CONFTEST: do_gettimeofday
CONFTEST: kernel_read
CONFTEST: kernel_write
CONFTEST: kthread_create_on_node
CONFTEST: of_find_matching_node
CONFTEST: dev_is_pci
CONFTEST: dma_direct_map_resource
CONFTEST: tegra_get_platform
CONFTEST: vmalloc_argument_count
CONFTEST: address_space_init_once
CONFTEST: kbasename
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: vmf_insert_pfn
CONFTEST: cpumask_of_node
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: drm_connector_for_each_possible_encoder
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: is_export_symbol_present_kthread_create_on_node
CONFTEST: acpi_op_remove
CONFTEST: outer_flush_all
CONFTEST: file_operations
CONFTEST: file_inode
CONFTEST: kuid_t
CONFTEST: dma_ops
CONFTEST: swiotlb_dma_ops
CONFTEST: noncoherent_swiotlb_dma_ops
CONFTEST: vm_fault_has_address
CONFTEST: backlight_properties_type
CONFTEST: vm_insert_pfn_prot
CONFTEST: vmf_insert_pfn_prot
CONFTEST: vm_ops_fault_removed_vma_arg
CONFTEST: vmbus_channel_has_ringbuffer_page
CONFTEST: device_driver_of_match_table
CONFTEST: device_of_node
CONFTEST: node_states_n_memory
CONFTEST: mm_struct_has_mmap_lock
CONFTEST: address_space
CONFTEST: backing_dev_info
CONFTEST: mm_context_t
CONFTEST: drm_bus_present
CONFTEST: drm_bus_has_bus_type
CONFTEST: drm_bus_has_get_irq
CONFTEST: drm_bus_has_get_name
CONFTEST: drm_driver_has_legacy_dev_list
CONFTEST: drm_driver_has_set_busid
CONFTEST: drm_crtc_state_has_connectors_changed
CONFTEST: drm_init_function_args
CONFTEST: drm_helper_mode_fill_fb_struct
CONFTEST: drm_master_drop_has_from_release_arg
CONFTEST: drm_driver_unload_has_int_return_type
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_gem_object_has_resv
CONFTEST: proc_ops
CONFTEST: timeval
CONFTEST: dom0_kernel_present
CONFTEST: nvidia_vgpu_hyperv_available
CONFTEST: nvidia_vgpu_kvm_build
CONFTEST: nvidia_grid_build
CONFTEST: pm_runtime_available
CONFTEST: drm_atomic_available
CONFTEST: drm_available
CONFTEST: is_export_symbol_gpl_refcount_inc
CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
CC [M] /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-frontend.o
CC [M] /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv.o
CC [M] /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-pci.o
CC [M] /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-acpi.o
CC [M] /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-cray.o
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-acpi.c:15:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h: In function âNV_GET_USER_PAGES_REMOTEâ:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:153:45: error: passing argument 1 of âget_user_pages_remoteâ from incompatible pointer type [-Werror=incompatible-pointer-types]
153 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pgprot.h:17,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:20,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-acpi.c:15:
./include/linux/mm.h:1722:46: note: expected âstruct mm_struct *â but argument is of type âstruct task_struct *â
1722 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-acpi.c:15:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:153:50: warning: passing argument 2 of âget_user_pages_remoteâ makes integer from pointer without a cast [-Wint-conversion]
153 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pgprot.h:17,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:20,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-acpi.c:15:
./include/linux/mm.h:1723:22: note: expected âlong unsigned intâ but argument is of type âstruct mm_struct *â
1723 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-acpi.c:15:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:153:71: warning: passing argument 5 of âget_user_pages_remoteâ makes pointer from integer without a cast [-Wint-conversion]
153 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pgprot.h:17,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:20,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-acpi.c:15:
./include/linux/mm.h:1724:46: note: expected âstruct page **â but argument is of type âunsigned intâ
1724 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-acpi.c:15:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:154:45: error: passing argument 6 of âget_user_pages_remoteâ from incompatible pointer type [-Werror=incompatible-pointer-types]
154 | pages, vmas);
| ^~~~~
| |
| struct page **
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pgprot.h:17,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:20,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-acpi.c:15:
./include/linux/mm.h:1725:32: note: expected âstruct vm_area_struct **â but argument is of type âstruct page **â
1725 | struct vm_area_struct **vmas, int *locked);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-acpi.c:15:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:154:52: error: passing argument 7 of âget_user_pages_remoteâ from incompatible pointer type [-Werror=incompatible-pointer-types]
154 | pages, vmas);
| ^~~~
| |
| struct vm_area_struct **
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pgprot.h:17,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:20,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-acpi.c:15:
./include/linux/mm.h:1725:43: note: expected âint *â but argument is of type âstruct vm_area_struct **â
1725 | struct vm_area_struct **vmas, int *locked);
| ~~~~~^~~~~~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pci.h:15,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-pci.c:12:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h: In function âNV_GET_USER_PAGES_REMOTEâ:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:153:45: error: passing argument 1 of âget_user_pages_remoteâ from incompatible pointer type [-Werror=incompatible-pointer-types]
153 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from ./include/linux/scatterlist.h:8,
from ./include/linux/dmapool.h:14,
from ./include/linux/pci.h:1442,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-pci-table.h:14,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-pci.c:11:
./include/linux/mm.h:1722:46: note: expected âstruct mm_struct *â but argument is of type âstruct task_struct *â
1722 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pci.h:15,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-pci.c:12:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:153:50: warning: passing argument 2 of âget_user_pages_remoteâ makes integer from pointer without a cast [-Wint-conversion]
153 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
In file included from ./include/linux/scatterlist.h:8,
from ./include/linux/dmapool.h:14,
from ./include/linux/pci.h:1442,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-pci-table.h:14,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-pci.c:11:
./include/linux/mm.h:1723:22: note: expected âlong unsigned intâ but argument is of type âstruct mm_struct *â
1723 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pci.h:15,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-pci.c:12:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:153:71: warning: passing argument 5 of âget_user_pages_remoteâ makes pointer from integer without a cast [-Wint-conversion]
153 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
In file included from ./include/linux/scatterlist.h:8,
from ./include/linux/dmapool.h:14,
from ./include/linux/pci.h:1442,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-pci-table.h:14,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-pci.c:11:
./include/linux/mm.h:1724:46: note: expected âstruct page **â but argument is of type âunsigned intâ
1724 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pci.h:15,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-pci.c:12:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:154:45: error: passing argument 6 of âget_user_pages_remoteâ from incompatible pointer type [-Werror=incompatible-pointer-types]
154 | pages, vmas);
| ^~~~~
| |
| struct page **
In file included from ./include/linux/scatterlist.h:8,
from ./include/linux/dmapool.h:14,
from ./include/linux/pci.h:1442,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-pci-table.h:14,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-pci.c:11:
./include/linux/mm.h:1725:32: note: expected âstruct vm_area_struct **â but argument is of type âstruct page **â
1725 | struct vm_area_struct **vmas, int *locked);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pci.h:15,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-pci.c:12:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:154:52: error: passing argument 7 of âget_user_pages_remoteâ from incompatible pointer type [-Werror=incompatible-pointer-types]
154 | pages, vmas);
| ^~~~
| |
| struct vm_area_struct **
In file included from ./include/linux/scatterlist.h:8,
from ./include/linux/dmapool.h:14,
from ./include/linux/pci.h:1442,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-pci-table.h:14,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-pci.c:11:
./include/linux/mm.h:1725:43: note: expected âint *â but argument is of type âstruct vm_area_struct **â
1725 | struct vm_area_struct **vmas, int *locked);
| ~~~~~^~~~~~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv.c:14:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h: In function âNV_GET_USER_PAGES_REMOTEâ:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:153:45: error: passing argument 1 of âget_user_pages_remoteâ from incompatible pointer type [-Werror=incompatible-pointer-types]
153 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pgprot.h:17,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:20,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv.c:14:
./include/linux/mm.h:1722:46: note: expected âstruct mm_struct *â but argument is of type âstruct task_struct *â
1722 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv.c:14:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:153:50: warning: passing argument 2 of âget_user_pages_remoteâ makes integer from pointer without a cast [-Wint-conversion]
153 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pgprot.h:17,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:20,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv.c:14:
./include/linux/mm.h:1723:22: note: expected âlong unsigned intâ but argument is of type âstruct mm_struct *â
1723 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv.c:14:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:153:71: warning: passing argument 5 of âget_user_pages_remoteâ makes pointer from integer without a cast [-Wint-conversion]
153 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pgprot.h:17,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:20,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv.c:14:
./include/linux/mm.h:1724:46: note: expected âstruct page **â but argument is of type âunsigned intâ
1724 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv.c:14:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:154:45: error: passing argument 6 of âget_user_pages_remoteâ from incompatible pointer type [-Werror=incompatible-pointer-types]
154 | pages, vmas);
| ^~~~~
| |
| struct page **
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pgprot.h:17,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:20,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv.c:14:
./include/linux/mm.h:1725:32: note: expected âstruct vm_area_struct **â but argument is of type âstruct page **â
1725 | struct vm_area_struct **vmas, int *locked);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv.c:14:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:154:52: error: passing argument 7 of âget_user_pages_remoteâ from incompatible pointer type [-Werror=incompatible-pointer-types]
154 | pages, vmas);
| ^~~~
| |
| struct vm_area_struct **
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pgprot.h:17,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:20,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv.c:14:
./include/linux/mm.h:1725:43: note: expected âint *â but argument is of type âstruct vm_area_struct **â
1725 | struct vm_area_struct **vmas, int *locked);
| ~~~~~^~~~~~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-cray.c:15:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h: In function âNV_GET_USER_PAGES_REMOTEâ:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:153:45: error: passing argument 1 of âget_user_pages_remoteâ from incompatible pointer type [-Werror=incompatible-pointer-types]
153 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pgprot.h:17,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:20,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-cray.c:15:
./include/linux/mm.h:1722:46: note: expected âstruct mm_struct *â but argument is of type âstruct task_struct *â
1722 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-cray.c:15:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:153:50: warning: passing argument 2 of âget_user_pages_remoteâ makes integer from pointer without a cast [-Wint-conversion]
153 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pgprot.h:17,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:20,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-cray.c:15:
./include/linux/mm.h:1723:22: note: expected âlong unsigned intâ but argument is of type âstruct mm_struct *â
1723 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-cray.c:15:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:153:71: warning: passing argument 5 of âget_user_pages_remoteâ makes pointer from integer without a cast [-Wint-conversion]
153 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pgprot.h:17,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:20,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-cray.c:15:
./include/linux/mm.h:1724:46: note: expected âstruct page **â but argument is of type âunsigned intâ
1724 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-cray.c:15:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:154:45: error: passing argument 6 of âget_user_pages_remoteâ from incompatible pointer type [-Werror=incompatible-pointer-types]
154 | pages, vmas);
| ^~~~~
| |
| struct page **
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pgprot.h:17,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:20,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-cray.c:15:
./include/linux/mm.h:1725:32: note: expected âstruct vm_area_struct **â but argument is of type âstruct page **â
1725 | struct vm_area_struct **vmas, int *locked);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-cray.c:15:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:154:52: error: passing argument 7 of âget_user_pages_remoteâ from incompatible pointer type [-Werror=incompatible-pointer-types]
154 | pages, vmas);
| ^~~~
| |
| struct vm_area_struct **
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pgprot.h:17,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:20,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-cray.c:15:
./include/linux/mm.h:1725:43: note: expected âint *â but argument is of type âstruct vm_area_struct **â
1725 | struct vm_area_struct **vmas, int *locked);
| ~~~~~^~~~~~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-frontend.c:13:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h: In function âNV_GET_USER_PAGES_REMOTEâ:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:153:45: error: passing argument 1 of âget_user_pages_remoteâ from incompatible pointer type [-Werror=incompatible-pointer-types]
153 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pgprot.h:17,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:20,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-frontend.c:13:
./include/linux/mm.h:1722:46: note: expected âstruct mm_struct *â but argument is of type âstruct task_struct *â
1722 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-frontend.c:13:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:153:50: warning: passing argument 2 of âget_user_pages_remoteâ makes integer from pointer without a cast [-Wint-conversion]
153 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pgprot.h:17,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:20,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-frontend.c:13:
./include/linux/mm.h:1723:22: note: expected âlong unsigned intâ but argument is of type âstruct mm_struct *â
1723 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-frontend.c:13:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:153:71: warning: passing argument 5 of âget_user_pages_remoteâ makes pointer from integer without a cast [-Wint-conversion]
153 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pgprot.h:17,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:20,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-frontend.c:13:
./include/linux/mm.h:1724:46: note: expected âstruct page **â but argument is of type âunsigned intâ
1724 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-frontend.c:13:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:154:45: error: passing argument 6 of âget_user_pages_remoteâ from incompatible pointer type [-Werror=incompatible-pointer-types]
154 | pages, vmas);
| ^~~~~
| |
| struct page **
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pgprot.h:17,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:20,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-frontend.c:13:
./include/linux/mm.h:1725:32: note: expected âstruct vm_area_struct **â but argument is of type âstruct page **â
1725 | struct vm_area_struct **vmas, int *locked);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:21,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-frontend.c:13:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-mm.h:154:52: error: passing argument 7 of âget_user_pages_remoteâ from incompatible pointer type [-Werror=incompatible-pointer-types]
154 | pages, vmas);
| ^~~~
| |
| struct vm_area_struct **
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pgprot.h:17,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:20,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-frontend.c:13:
./include/linux/mm.h:1725:43: note: expected âint *â but argument is of type âstruct vm_area_struct **â
1725 | struct vm_area_struct **vmas, int *locked);
| ~~~~~^~~~~~
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv.c:14:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h: At top level:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:160:10: fatal error: linux/ioctl32.h: No such file or directory
160 | #include <linux/ioctl32.h> /* register_ioctl32_conversion() */
| ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
compilation terminated.
make[2]: *** [scripts/Makefile.build:279: /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-pci.h:15,
from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-pci.c:12:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h: At top level:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:160:10: fatal error: linux/ioctl32.h: No such file or directory
160 | #include <linux/ioctl32.h> /* register_ioctl32_conversion() */
| ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
compilation terminated.
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-acpi.c:15:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h: At top level:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:160:10: fatal error: linux/ioctl32.h: No such file or directory
160 | #include <linux/ioctl32.h> /* register_ioctl32_conversion() */
| ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
compilation terminated.
make[2]: *** [scripts/Makefile.build:279: /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-pci.o] Error 1
make[2]: *** [scripts/Makefile.build:279: /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-acpi.o] Error 1
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-frontend.c:13:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h: At top level:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:160:10: fatal error: linux/ioctl32.h: No such file or directory
160 | #include <linux/ioctl32.h> /* register_ioctl32_conversion() */
| ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
compilation terminated.
In file included from /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-cray.c:15:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h: At top level:
/home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/common/inc/nv-linux.h:160:10: fatal error: linux/ioctl32.h: No such file or directory
160 | #include <linux/ioctl32.h> /* register_ioctl32_conversion() */
| ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
compilation terminated.
make[2]: *** [scripts/Makefile.build:279: /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-frontend.o] Error 1
make[2]: *** [scripts/Makefile.build:279: /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel/nvidia/nv-cray.o] Error 1
make[1]: *** [Makefile:1805: /home/yoshi/Desktop/working/nvidia-435xx/src/NVIDIA-Linux-x86_64-435.21-no-compat32/kernel] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.10.2-2-MANJARO/build'
make: *** [Makefile:81: modules] Error 2