I tried to use the run script in driver 340.107 that works on RHEL7.6, but it fails to install.
There was a similar problem with 7.6 and the 340.106 driver. A patch was used to fix it. Has anyone else has the same problem?
Here are the last few lines of the attempted install:
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/fb.h: In function ‘__fb_pad_aligned_bu
/usr/src/kernels/3.10.0-1062.el7.x86_64/include/linux/fb.h:651:17: warning: comparison betwe
en signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < s_pitch; j++)
/tmp/selfgz7275/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c: In function ‘nv_alloc_os_descri
/tmp/selfgz7275/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c:255:5: error: implicit declarati
on of function ‘drm_gem_object_unreference_unlocked’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make: *** [/tmp/selfgz7275/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.o] Error 1
make: *** [module/tmp/selfgz7275/NVIDIA-Linux-x86_64-340.107/kernel] Error 2
make: *** [sub-make] Error 2
make: Leaving directory `/usr/src/kernels/3.10.0-1062.el7.x86_64’
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make: *** [nvidia.ko] Error 1
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for detail
s. You may find suggestions on fixing installation problems in the README available on the Lin
ux driver download page at www.nvidia.com.