[SOLVED] Unable to build the NVIDIA kernel module. Driver: Legacy GPU Version 173.14.39, OS: Ubuntu

I’m not using lastest kernel. My kernel version is 3.10.0-862.14.4 in a CentOS-7

The Centos/RHEL 3.10 kernel is heavily patched so it resembles more a 4.1x kernel than a 3.10.