Unable to install Nvidia driver *linux-x86_64-378.13 on kernel 4.10.10-200.fc25.x86_64

After upgrading to the latest fedora 25 I am unable to compile the NVIDIA driver for my Quadro k2200.

I have also tried the beta x86_64-381.09 with no success

nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Fri Apr 21 11:11:33 2017
installer version: 378.13

PATH: /usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin

nvidia-installer command line:
./nvidia-installer

Using: nvidia-installer ncurses v6 user interface
-> Detected 16 CPUs online; setting concurrency level to 16.
-> Tagging shared libraries with chcon -t textrel_shlib_t.
-> License accepted.
-> Installing NVIDIA driver version 378.13.
-> Performing CC sanity check with CC="/usr/bin/cc".
-> Kernel source path: ‘/lib/modules/4.10.10-200.fc25.x86_64/source’
-> Kernel output path: ‘/lib/modules/4.10.10-200.fc25.x86_64/build’
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Performing PREEMPT_RT check.
-> Cleaning kernel module build directory.
executing: ‘cd ./kernel; /usr/bin/make -k -j16 clean NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.10.10-200.fc25.x86_64/source" SYSOUT="/lib/modules/4.10.10-200.fc25.x86_64/build"’…
rm -f -r conftest
/usr/bin/make “CC=cc” KBUILD_OUTPUT=/lib/modules/4.10.10-200.fc25.x86_64/build KBUILD_VERBOSE= -C /lib/modules/4.10.10-200.fc25.x86_64/source M=/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.10.10-200.fc25.x86_64/source NV_KERNEL_OUTPUT=/lib/modules/4.10.10-200.fc25.x86_64/build NV_KERNEL_MODULES=“nvidia nvidia-uvm nvidia-modeset nvidia-drm” INSTALL_MOD_DIR=kernel/drivers/video clean
make[1]: Entering directory ‘/usr/src/kernels/4.10.10-200.fc25.x86_64’
make[2]: Entering directory ‘/usr/src/kernels/4.10.10-200.fc25.x86_64’
make[2]: Leaving directory ‘/usr/src/kernels/4.10.10-200.fc25.x86_64’
make[1]: Leaving directory ‘/usr/src/kernels/4.10.10-200.fc25.x86_64’
-> Building kernel modules
executing: ‘cd ./kernel; /usr/bin/make -k -j16 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.10.10-200.fc25.x86_64/source" SYSOUT="/lib/modules/4.10.10-200.fc25.x86_64/build"’…
/usr/bin/make “CC=cc” KBUILD_OUTPUT=/lib/modules/4.10.10-200.fc25.x86_64/build KBUILD_VERBOSE= -C /lib/modules/4.10.10-200.fc25.x86_64/source M=/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.10.10-200.fc25.x86_64/source NV_KERNEL_OUTPUT=/lib/modules/4.10.10-200.fc25.x86_64/build NV_KERNEL_MODULES=“nvidia nvidia-uvm nvidia-modeset nvidia-drm” INSTALL_MOD_DIR=kernel/drivers/video modules
make[1]: Entering directory ‘/usr/src/kernels/4.10.10-200.fc25.x86_64’
make[2]: Entering directory ‘/usr/src/kernels/4.10.10-200.fc25.x86_64’
SYMLINK /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-kernel.o
SYMLINK /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-modeset/nv-modeset-kernel.o
CONFTEST: INIT_WORK
CONFTEST: follow_pfn
CONFTEST: remap_pfn_range
CONFTEST: vmap
CONFTEST: set_pages_uc
CONFTEST: set_memory_uc
CONFTEST: set_memory_array_uc
CONFTEST: change_page_attr
CONFTEST: pci_get_class
CONFTEST: pci_choose_state
CONFTEST: acpi_device_id
CONFTEST: vm_insert_page
CONFTEST: acquire_console_sem
CONFTEST: console_lock
CONFTEST: on_each_cpu
CONFTEST: kmem_cache_create
CONFTEST: smp_call_function
CONFTEST: ioremap_cache
CONFTEST: acpi_evaluate_integer
CONFTEST: ioremap_wc
CONFTEST: pci_domain_nr
CONFTEST: acpi_walk_namespace
CONFTEST: sg_init_table
CONFTEST: pci_dma_mapping_error
CONFTEST: sg_alloc_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: drm_driver_has_set_busid
CONFTEST: pm_vt_switch_required
CONFTEST: drm_driver_has_gem_prime_res_obj
CONFTEST: xen_ioemu_inject_msi
CONFTEST: phys_to_dma
CONFTEST: get_dma_ops
CONFTEST: of_parse_phandle
CONFTEST: write_cr4
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: 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: drm_reinit_primary_mode_group
CONFTEST: drm_dev_unref
CONFTEST: drm_atomic_set_mode_for_crtc
CONFTEST: get_user_pages_remote
CONFTEST: drm_atomic_clean_old_fb
CONFTEST: drm_gem_object_lookup
CONFTEST: drm_atomic_state_free
CONFTEST: i2c_adapter
CONFTEST: irq_handler_t
CONFTEST: pm_message_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: pci_save_state
CONFTEST: kuid_t
CONFTEST: task_struct
CONFTEST: dma_ops
CONFTEST: dma_map_ops
CONFTEST: noncoherent_swiotlb_dma_ops
CONFTEST: vm_fault_present
CONFTEST: fault_flags
CONFTEST: atomic64_type
CONFTEST: address_space
CONFTEST: backing_dev_info
CONFTEST: kernel_write
CONFTEST: strnstr
CONFTEST: iterate_dir
CONFTEST: kstrtoull
CONFTEST: vm_fault_has_address
CONFTEST: mm_context_t
CONFTEST: vm_ops_fault_removed_vma_arg
CONFTEST: drm_bus_present
CONFTEST: drm_bus_has_bus_type
CONFTEST: drm_bus_has_get_irq
CONFTEST: drm_bus_has_get_name
CONFTEST: drm_driver_has_legacy_dev_list
CONFTEST: drm_crtc_state_has_connectors_changed
CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg
CONFTEST: drm_init_functions_have_name_arg
CONFTEST: drm_helper_mode_fill_fb_struct_has_const_mode_cmd_arg
CONFTEST: drm_master_drop_has_from_release_arg
CONFTEST: drm_mode_config_funcs_has_atomic_state_alloc
CONFTEST: dom0_kernel_present
CONFTEST: drm_available
CONFTEST: nvidia_vgpu_kvm_build
CONFTEST: nvidia_grid_build
CONFTEST: drm_atomic_available
CONFTEST: drm_atomic_modeset_nonblocking_commit_available
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-frontend.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-instance.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-acpi.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-chrdev.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-cray.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-dma.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-gvi.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-i2c.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-mempool.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-p2p.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-mmap.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-procfs.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-usermap.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-vm.o
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.c: In function ‘nvidia_cpu_callback’:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.c:213:14: error: ‘CPU_DOWN_FAILED’ undeclared (first use in this function)
case CPU_DOWN_FAILED:
^~~~~~~~~~~~~~~
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.c:213:14: note: each undeclared identifier is reported only once for each function it appears in
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.c:220:14: error: ‘CPU_DOWN_PREPARE’ undeclared (first use in this function)
case CPU_DOWN_PREPARE:
^~~~~~~~~~~~~~~~
In file included from /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.c:15:0:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.c: In function ‘nv_init_pat_support’:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/common/inc/nv-linux.h:391:34: error: implicit declaration of function ‘register_cpu_notifier’ [-Werror=implicit-function-declaration]
#define register_hotcpu_notifier register_cpu_notifier
^
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.c:258:17: note: in expansion of macro ‘register_hotcpu_notifier’
if (register_hotcpu_notifier(&nv_hotcpu_nfb) != 0)
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.c: In function ‘nv_teardown_pat_support’:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/common/inc/nv-linux.h:388:36: error: implicit declaration of function ‘unregister_cpu_notifier’ [-Werror=implicit-function-declaration]
#define unregister_hotcpu_notifier unregister_cpu_notifier
^
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.c:283:9: note: in expansion of macro ‘unregister_hotcpu_notifier’
unregister_hotcpu_notifier(&nv_hotcpu_nfb);
^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
/usr/src/kernels/4.10.10-200.fc25.x86_64/scripts/Makefile.build:294: recipe for target ‘/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.o’ failed
make[3]: *** [/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.o] Error 1
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-vtophys.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/os-interface.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/os-mlock.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/os-pci.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/os-registry.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/os-usermap.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pci-table.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-kthread-q.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-modeset-interface.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-kthread-q-selftest.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv_uvm_interface.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nvlink_linux.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nvlink_pci.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/ebridge_linux.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/ibmnpu_linux.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_utils.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_common.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_linux.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_page_migration.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_page_migration_stubs.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_page_migration_kepler.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/nvstatus.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_page_migration_maxwell.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_page_migration_pascal.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/nv-kthread-q.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/nv-kthread-q-selftest.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_mmu_mgmt_pascal.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_mmu_mgmt.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_mmu_mgmt_stubs.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_full_fault_buffer.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_full_fault_buffer_pascal.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/mmu_fmt.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/gmmu_fmt.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_tools.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_global.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_gpu.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_gpu_isr.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_procfs.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_va_space.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_gpu_semaphore.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_mem.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_rm_mem.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_channel.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_lock.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_hal.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_range_tree.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_range_allocator.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_va_range.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_va_block.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_range_group.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_gpu_page_fault.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_perf_events.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_perf_module.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_pte_batch.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_tlb_batch.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_mmu.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_push.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_pushbuffer.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_thread_context.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_tracker.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_kepler.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_kepler_ce.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_kepler_host.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_kepler_mmu.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_maxwell.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_maxwell_host.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_pascal.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_pascal_ce.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_pascal_host.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_pascal_mmu.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_policy.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_perf_utils.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_kvmalloc.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_pmm_gpu.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_migrate.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_map_external.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_user_channel.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_hmm.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_perf_heuristics.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_perf_thrashing.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_perf_prefetch.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_test_rng.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_range_tree_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_range_allocator_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_mem_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_rm_mem_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_page_tree_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_tracker_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_push_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_channel_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_ce_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_lock_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_perf_utils_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_kvmalloc_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_pmm_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_perf_events_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_perf_module_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_mmu_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_va_block_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_range_group_tree_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-modeset/nvidia-modeset-linux.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-drv.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-utils.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-crtc.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-encoder.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-connector.o
In file included from /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm.c:27:0:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-priv.h:37:25: fatal error: linux/fence.h: No such file or directory
#include <linux/fence.h>
^
compilation terminated.
/usr/src/kernels/4.10.10-200.fc25.x86_64/scripts/Makefile.build:294: recipe for target ‘/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm.o’ failed
make[3]: *** [/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm.o] Error 1
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-gem.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-fb.o
In file included from /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-drv.c:25:0:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-priv.h:37:25: fatal error: linux/fence.h: No such file or directory
#include <linux/fence.h>
^
compilation terminated.
/usr/src/kernels/4.10.10-200.fc25.x86_64/scripts/Makefile.build:294: recipe for target ‘/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-drv.o’ failed
make[3]: *** [/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-drv.o] Error 1
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-modeset.o
In file included from /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-utils.c:27:0:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-priv.h:37:25: fatal error: linux/fence.h: No such file or directory
#include <linux/fence.h>
^
compilation terminated.
/usr/src/kernels/4.10.10-200.fc25.x86_64/scripts/Makefile.build:294: recipe for target ‘/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-utils.o’ failed
make[3]: *** [/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-utils.o] Error 1
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-fence.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-linux.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-helper.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nv-pci-table.o
In file included from /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-crtc.c:27:0:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-priv.h:37:25: fatal error: linux/fence.h: No such file or directory
#include <linux/fence.h>
^
compilation terminated.
/usr/src/kernels/4.10.10-200.fc25.x86_64/scripts/Makefile.build:294: recipe for target ‘/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-crtc.o’ failed
make[3]: *** [/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-crtc.o] Error 1
ld -r -o /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-modeset/nv-modeset-interface.o /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-modeset/nvidia-modeset-linux.o
LD [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-modeset.o
In file included from /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-connector.c:27:0:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-priv.h:37:25: fatal error: linux/fence.h: No such file or directory
#include <linux/fence.h>
^
compilation terminated.
/usr/src/kernels/4.10.10-200.fc25.x86_64/scripts/Makefile.build:294: recipe for target ‘/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-connector.o’ failed
make[3]: *** [/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-connector.o] Error 1
In file included from /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-encoder.c:27:0:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-priv.h:37:25: fatal error: linux/fence.h: No such file or directory
#include <linux/fence.h>
^
compilation terminated.
/usr/src/kernels/4.10.10-200.fc25.x86_64/scripts/Makefile.build:294: recipe for target ‘/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-encoder.o’ failed
make[3]: *** [/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-encoder.o] Error 1
In file included from /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-gem.c:27:0:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-priv.h:37:25: fatal error: linux/fence.h: No such file or directory
#include <linux/fence.h>
^
compilation terminated.
/usr/src/kernels/4.10.10-200.fc25.x86_64/scripts/Makefile.build:294: recipe for target ‘/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-gem.o’ failed
make[3]: *** [/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-gem.o] Error 1
In file included from /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-fb.c:27:0:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-priv.h:37:25: fatal error: linux/fence.h: No such file or directory
#include <linux/fence.h>
^
compilation terminated.
/usr/src/kernels/4.10.10-200.fc25.x86_64/scripts/Makefile.build:294: recipe for target ‘/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-fb.o’ failed
make[3]: *** [/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-fb.o] Error 1
In file included from /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-modeset.c:27:0:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-priv.h:37:25: fatal error: linux/fence.h: No such file or directory
#include <linux/fence.h>
^
compilation terminated.
/usr/src/kernels/4.10.10-200.fc25.x86_64/scripts/Makefile.build:294: recipe for target ‘/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-modeset.o’ failed
make[3]: *** [/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-modeset.o] Error 1
In file included from /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-fence.c:27:0:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-priv.h:37:25: fatal error: linux/fence.h: No such file or directory
#include <linux/fence.h>
^
compilation terminated.
/usr/src/kernels/4.10.10-200.fc25.x86_64/scripts/Makefile.build:294: recipe for target ‘/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-fence.o’ failed
make[3]: *** [/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-fence.o] Error 1
LD [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm.o
make[3]: Target ‘__build’ not remade because of errors.
/usr/src/kernels/4.10.10-200.fc25.x86_64/Makefile:1494: recipe for target ‘module/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel’ failed
make[2]: *** [module/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel] Error 2
make[2]: Target ‘modules’ not remade because of errors.
make[2]: Leaving directory ‘/usr/src/kernels/4.10.10-200.fc25.x86_64’
Makefile:150: recipe for target ‘sub-make’ failed
make[1]: *** [sub-make] Error 2
make[1]: Target ‘modules’ not remade because of errors.
make[1]: Leaving directory ‘/usr/src/kernels/4.10.10-200.fc25.x86_64’
Makefile:81: recipe for target ‘modules’ failed
make: *** [modules] Error 2
-> Error.
ERROR: An error occurred while performing the step: “Building kernel modules”. See /var/log/nvidia-installer.log for details.
-> The command cd ./kernel; /usr/bin/make -k -j16 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.10.10-200.fc25.x86_64/source" SYSOUT="/lib/modules/4.10.10-200.fc25.x86_64/build" failed with the following output:

/usr/bin/make “CC=cc” KBUILD_OUTPUT=/lib/modules/4.10.10-200.fc25.x86_64/build KBUILD_VERBOSE= -C /lib/modules/4.10.10-200.fc25.x86_64/source M=/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.10.10-200.fc25.x86_64/source NV_KERNEL_OUTPUT=/lib/modules/4.10.10-200.fc25.x86_64/build NV_KERNEL_MODULES=“nvidia nvidia-uvm nvidia-modeset nvidia-drm” INSTALL_MOD_DIR=kernel/drivers/video modules
make[1]: Entering directory ‘/usr/src/kernels/4.10.10-200.fc25.x86_64’
make[2]: Entering directory ‘/usr/src/kernels/4.10.10-200.fc25.x86_64’
SYMLINK /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-kernel.o
SYMLINK /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-modeset/nv-modeset-kernel.o
CONFTEST: INIT_WORK
CONFTEST: follow_pfn
CONFTEST: remap_pfn_range
CONFTEST: vmap
CONFTEST: set_pages_uc
CONFTEST: set_memory_uc
CONFTEST: set_memory_array_uc
CONFTEST: change_page_attr
CONFTEST: pci_get_class
CONFTEST: pci_choose_state
CONFTEST: acpi_device_id
CONFTEST: vm_insert_page
CONFTEST: acquire_console_sem
CONFTEST: console_lock
CONFTEST: on_each_cpu
CONFTEST: kmem_cache_create
CONFTEST: smp_call_function
CONFTEST: ioremap_cache
CONFTEST: acpi_evaluate_integer
CONFTEST: ioremap_wc
CONFTEST: pci_domain_nr
CONFTEST: acpi_walk_namespace
CONFTEST: sg_init_table
CONFTEST: pci_dma_mapping_error
CONFTEST: sg_alloc_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: drm_driver_has_set_busid
CONFTEST: pm_vt_switch_required
CONFTEST: drm_driver_has_gem_prime_res_obj
CONFTEST: xen_ioemu_inject_msi
CONFTEST: phys_to_dma
CONFTEST: get_dma_ops
CONFTEST: of_parse_phandle
CONFTEST: write_cr4
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: 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: drm_reinit_primary_mode_group
CONFTEST: drm_dev_unref
CONFTEST: drm_atomic_set_mode_for_crtc
CONFTEST: get_user_pages_remote
CONFTEST: drm_atomic_clean_old_fb
CONFTEST: drm_gem_object_lookup
CONFTEST: drm_atomic_state_free
CONFTEST: i2c_adapter
CONFTEST: irq_handler_t
CONFTEST: pm_message_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: pci_save_state
CONFTEST: kuid_t
CONFTEST: task_struct
CONFTEST: dma_ops
CONFTEST: dma_map_ops
CONFTEST: noncoherent_swiotlb_dma_ops
CONFTEST: vm_fault_present
CONFTEST: fault_flags
CONFTEST: atomic64_type
CONFTEST: address_space
CONFTEST: backing_dev_info
CONFTEST: kernel_write
CONFTEST: strnstr
CONFTEST: iterate_dir
CONFTEST: kstrtoull
CONFTEST: vm_fault_has_address
CONFTEST: mm_context_t
CONFTEST: vm_ops_fault_removed_vma_arg
CONFTEST: drm_bus_present
CONFTEST: drm_bus_has_bus_type
CONFTEST: drm_bus_has_get_irq
CONFTEST: drm_bus_has_get_name
CONFTEST: drm_driver_has_legacy_dev_list
CONFTEST: drm_crtc_state_has_connectors_changed
CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg
CONFTEST: drm_init_functions_have_name_arg
CONFTEST: drm_helper_mode_fill_fb_struct_has_const_mode_cmd_arg
CONFTEST: drm_master_drop_has_from_release_arg
CONFTEST: drm_mode_config_funcs_has_atomic_state_alloc
CONFTEST: dom0_kernel_present
CONFTEST: drm_available
CONFTEST: nvidia_vgpu_kvm_build
CONFTEST: nvidia_grid_build
CONFTEST: drm_atomic_available
CONFTEST: drm_atomic_modeset_nonblocking_commit_available
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-frontend.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-instance.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-acpi.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-chrdev.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-cray.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-dma.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-gvi.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-i2c.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-mempool.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-p2p.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-mmap.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-procfs.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-usermap.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-vm.o
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.c: In function ‘nvidia_cpu_callback’:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.c:213:14: error: ‘CPU_DOWN_FAILED’ undeclared (first use in this function)
case CPU_DOWN_FAILED:
^~~~~~~~~~~~~~~
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.c:213:14: note: each undeclared identifier is reported only once for each function it appears in
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.c:220:14: error: ‘CPU_DOWN_PREPARE’ undeclared (first use in this function)
case CPU_DOWN_PREPARE:
^~~~~~~~~~~~~~~~
In file included from /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.c:15:0:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.c: In function ‘nv_init_pat_support’:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/common/inc/nv-linux.h:391:34: error: implicit declaration of function ‘register_cpu_notifier’ [-Werror=implicit-function-declaration]
#define register_hotcpu_notifier register_cpu_notifier
^
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.c:258:17: note: in expansion of macro ‘register_hotcpu_notifier’
if (register_hotcpu_notifier(&nv_hotcpu_nfb) != 0)
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.c: In function ‘nv_teardown_pat_support’:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/common/inc/nv-linux.h:388:36: error: implicit declaration of function ‘unregister_cpu_notifier’ [-Werror=implicit-function-declaration]
#define unregister_hotcpu_notifier unregister_cpu_notifier
^
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.c:283:9: note: in expansion of macro ‘unregister_hotcpu_notifier’
unregister_hotcpu_notifier(&nv_hotcpu_nfb);
^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
/usr/src/kernels/4.10.10-200.fc25.x86_64/scripts/Makefile.build:294: recipe for target ‘/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.o’ failed
make[3]: *** [/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pat.o] Error 1
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-vtophys.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/os-interface.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/os-mlock.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/os-pci.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/os-registry.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/os-usermap.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-pci-table.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-kthread-q.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-modeset-interface.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv-kthread-q-selftest.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nv_uvm_interface.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nvlink_linux.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/nvlink_pci.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/ebridge_linux.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia/ibmnpu_linux.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_utils.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_common.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_linux.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_page_migration.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_page_migration_stubs.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_page_migration_kepler.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/nvstatus.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_page_migration_maxwell.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_page_migration_pascal.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/nv-kthread-q.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/nv-kthread-q-selftest.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_mmu_mgmt_pascal.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_mmu_mgmt.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_mmu_mgmt_stubs.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_full_fault_buffer.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm_full_fault_buffer_pascal.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/mmu_fmt.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/gmmu_fmt.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_tools.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_global.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_gpu.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_gpu_isr.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_procfs.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_va_space.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_gpu_semaphore.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_mem.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_rm_mem.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_channel.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_lock.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_hal.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_range_tree.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_range_allocator.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_va_range.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_va_block.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_range_group.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_gpu_page_fault.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_perf_events.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_perf_module.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_pte_batch.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_tlb_batch.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_mmu.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_push.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_pushbuffer.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_thread_context.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_tracker.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_kepler.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_kepler_ce.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_kepler_host.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_kepler_mmu.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_maxwell.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_maxwell_host.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_pascal.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_pascal_ce.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_pascal_host.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_pascal_mmu.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_policy.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_perf_utils.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_kvmalloc.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_pmm_gpu.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_migrate.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_map_external.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_user_channel.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_hmm.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_perf_heuristics.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_perf_thrashing.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_perf_prefetch.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_test_rng.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_range_tree_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_range_allocator_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_mem_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_rm_mem_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_page_tree_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_tracker_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_push_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_channel_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_ce_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_lock_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_perf_utils_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_kvmalloc_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_pmm_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_perf_events_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_perf_module_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_mmu_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_va_block_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm/uvm8_range_group_tree_test.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-modeset/nvidia-modeset-linux.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-drv.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-utils.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-crtc.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-encoder.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-connector.o
In file included from /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm.c:27:0:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-priv.h:37:25: fatal error: linux/fence.h: No such file or directory
#include <linux/fence.h>
^
compilation terminated.
/usr/src/kernels/4.10.10-200.fc25.x86_64/scripts/Makefile.build:294: recipe for target ‘/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm.o’ failed
make[3]: *** [/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm.o] Error 1
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-gem.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-fb.o
In file included from /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-drv.c:25:0:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-priv.h:37:25: fatal error: linux/fence.h: No such file or directory
#include <linux/fence.h>
^
compilation terminated.
/usr/src/kernels/4.10.10-200.fc25.x86_64/scripts/Makefile.build:294: recipe for target ‘/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-drv.o’ failed
make[3]: *** [/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-drv.o] Error 1
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-modeset.o
In file included from /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-utils.c:27:0:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-priv.h:37:25: fatal error: linux/fence.h: No such file or directory
#include <linux/fence.h>
^
compilation terminated.
/usr/src/kernels/4.10.10-200.fc25.x86_64/scripts/Makefile.build:294: recipe for target ‘/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-utils.o’ failed
make[3]: *** [/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-utils.o] Error 1
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-fence.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-linux.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-helper.o
CC [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nv-pci-table.o
In file included from /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-crtc.c:27:0:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-priv.h:37:25: fatal error: linux/fence.h: No such file or directory
#include <linux/fence.h>
^
compilation terminated.
/usr/src/kernels/4.10.10-200.fc25.x86_64/scripts/Makefile.build:294: recipe for target ‘/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-crtc.o’ failed
make[3]: *** [/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-crtc.o] Error 1
ld -r -o /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-modeset/nv-modeset-interface.o /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-modeset/nvidia-modeset-linux.o
LD [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-modeset.o
In file included from /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-connector.c:27:0:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-priv.h:37:25: fatal error: linux/fence.h: No such file or directory
#include <linux/fence.h>
^
compilation terminated.
/usr/src/kernels/4.10.10-200.fc25.x86_64/scripts/Makefile.build:294: recipe for target ‘/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-connector.o’ failed
make[3]: *** [/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-connector.o] Error 1
In file included from /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-encoder.c:27:0:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-priv.h:37:25: fatal error: linux/fence.h: No such file or directory
#include <linux/fence.h>
^
compilation terminated.
/usr/src/kernels/4.10.10-200.fc25.x86_64/scripts/Makefile.build:294: recipe for target ‘/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-encoder.o’ failed
make[3]: *** [/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-encoder.o] Error 1
In file included from /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-gem.c:27:0:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-priv.h:37:25: fatal error: linux/fence.h: No such file or directory
#include <linux/fence.h>
^
compilation terminated.
/usr/src/kernels/4.10.10-200.fc25.x86_64/scripts/Makefile.build:294: recipe for target ‘/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-gem.o’ failed
make[3]: *** [/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-gem.o] Error 1
In file included from /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-fb.c:27:0:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-priv.h:37:25: fatal error: linux/fence.h: No such file or directory
#include <linux/fence.h>
^
compilation terminated.
/usr/src/kernels/4.10.10-200.fc25.x86_64/scripts/Makefile.build:294: recipe for target ‘/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-fb.o’ failed
make[3]: *** [/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-fb.o] Error 1
In file included from /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-modeset.c:27:0:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-priv.h:37:25: fatal error: linux/fence.h: No such file or directory
#include <linux/fence.h>
^
compilation terminated.
/usr/src/kernels/4.10.10-200.fc25.x86_64/scripts/Makefile.build:294: recipe for target ‘/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-modeset.o’ failed
make[3]: *** [/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-modeset.o] Error 1
In file included from /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-fence.c:27:0:
/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-priv.h:37:25: fatal error: linux/fence.h: No such file or directory
#include <linux/fence.h>
^
compilation terminated.
/usr/src/kernels/4.10.10-200.fc25.x86_64/scripts/Makefile.build:294: recipe for target ‘/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-fence.o’ failed
make[3]: *** [/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-drm/nvidia-drm-fence.o] Error 1
LD [M] /tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel/nvidia-uvm.o
make[3]: Target ‘__build’ not remade because of errors.
/usr/src/kernels/4.10.10-200.fc25.x86_64/Makefile:1494: recipe for target ‘module/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel’ failed
make[2]: *** [module/tmp/selfgz3031/NVIDIA-Linux-x86_64-378.13/kernel] Error 2
make[2]: Target ‘modules’ not remade because of errors.
make[2]: Leaving directory ‘/usr/src/kernels/4.10.10-200.fc25.x86_64’
Makefile:150: recipe for target ‘sub-make’ failed
make[1]: *** [sub-make] Error 2
make[1]: Target ‘modules’ not remade because of errors.
make[1]: Leaving directory ‘/usr/src/kernels/4.10.10-200.fc25.x86_64’
Makefile:81: recipe for target ‘modules’ failed
make: *** [modules] Error 2
ERROR: The nvidia kernel module was not created.
ERROR: Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

Thank you Jim

I am having the same problem. There probably is a patch somewhere, but it is really annoying how slow is NVIDIA to update their drivers for current kernels.
4.10 has been released almost two months ago, and still there is no official driver available.
Even if NVIDIA has a policy of not supporting release candidates, still it is easy to understand that RC kernels are meant exactly to make it easy for hardware vendors to plan driver updates in a timely fashion.

Why don’t you both use RPM Fusion? Why? Any special reason to have sex by installing drivers manually? And then having major troubles whenever mesa* or xorg-x11-xserver package get updated? RPM Fusion package saves you from all the troubles.

Sarcasm aside, this driver is incompatible with Linux 4.10. Use the latest beta.

Artem,

I tried the latest Beta (381.09) and it does not work either.

Jim

Shown here is my dkms status output, as proof. Shown below that, is a link, to the patch necessary to run 378.13 on kernel 4.10.* and the instructions to install it. I selected dkms to build the kernel module when new kernels are released., and also had it include the 32 bit compatibility. I run wine, steam and other 32 bit apps on my 64 bit fedora 25. I have the GeForce GTX 970.

Hope this helps.

[b]nvidia, 378.13, 4.10.10-200.fc25.x86_64, x86_64: installed
nvidia, 378.13, 4.10.8-200.fc25.x86_64, x86_64: installed
nvidia, 378.13, 4.10.9-200.fc25.x86_64, x86_64: installed[/b]

https://ask.fedoraproject.org/en/question/103607/kernel-410-patch-for-nvidia-37813-proprietary-drivers/

381.09 beta works fine without patching for 4.10

$ inxi -GS
System:    Host: localhost.localdomain Kernel: 4.11.0-0.rc7.git0.1.fc26.x86_64 x86_64 (64 bit)
           Desktop: Cinnamon 3.2.8  Distro: Fedora release 26 (Twenty Six)
Graphics:  Card: NVIDIA GK106 [GeForce GTX 660]
           Display Server: Fedora X.org 119.3 drivers: nvidia (unloaded: modesetting,fbdev,vesa,nouveau)
           Resolution: 3840x2160@60.00hz
           GLX Renderer: GeForce GTX 660/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 381.09

I can build the driver successfully with 381.09 on the 4.10.10 kernel, but upon rebooting, I still have the lower resolution blank/black screen with a blinking cursor. I installed 375.39 from RPM Fusion and landed in the same place. lspci shows the nvidia driver loaded (see below). Any suggestions for getting past the blank screen?

01:04.0 VGA compatible controller: Matrox Electronics Systems Ltd. MGA G200eW WPCM450 (rev 0a)
04:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1)
04:00.1 Audio device: NVIDIA Corporation GP104 High Definition Audio Controller (rev a1)

I have a sneaking suspicion that your display is driven by your Matrox GPU that’s why you’re getting the black screen.

It looks like the winner is DKMS

I did a #dnf install dkms

I then installed the driver using dkms option. It corrected and error in one of the libraries and all is good.

Beta kernel 381.09

Thanks much
Jim

I did that too - DKMS with 381.09 and the dkms option and it installed beautifully, but it still doesn’t run in graphics mode (stuck in a lower resolution text screen, without so much as a command line prompt).