I tried to use the run script in driver 340.107 that works on RHEL7.6, but it fails to install.
3.10.0-1062.el7.x86_64
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?
thanks
kas
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
ffer’:
/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
ptor_handle’:
/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]
drm_gem_object_unreference_unlocked(&nv_obj->base);
^
cc1: some warnings being treated as errors
make[3]: *** [/tmp/selfgz7275/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.o] Error 1
make[2]: *** [module/tmp/selfgz7275/NVIDIA-Linux-x86_64-340.107/kernel] Error 2
make[1]: *** [sub-make] Error 2
make[1]: 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.
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.