# Install Driver FAILED ，HELP！

**URL:** <https://forums.developer.nvidia.com/t/install-driver-failed-help/66741>\
**Category:** Linux\
**Created:** [October 29, 2018, 6:18am UTC](https://forums.developer.nvidia.com/t/install-driver-failed-help/66741 "2018-10-29T06:18:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![641242921](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@641242921](https://forums.developer.nvidia.com/u/641242921)\
**Post date:** [October 29, 2018, 6:18am UTC](https://forums.developer.nvidia.com/t/install-driver-failed-help/66741/1 "2018-10-29T06:18:27Z")

</div>

Well,I’m going to install the driver.But it is not work.

My GPU : **telsa P40**

The driver: **NVIDIA-Linux-x86\_64-384.145.run**

My linux:Linux mylinux 3.10.0-693.25.4.el7.x86\_64 #1 SMP Sat Apr 28 14:04:53 EDT 2018 x86\_64 x86\_64 x86\_64 GNU/Linux

And Some log are as follows:

→ Building kernel modules  
executing: ‘cd ./kernel; /bin/make -k -j32 NV\_EXCLUDE\_KERNEL\_MODULES=“” SYSS RC=“/lib/modules/3.10.0-693.25.4.el7.x86\_64/source” SYSOUT=“/lib/modules/3.10.0- 693.25.4.el7.x86\_64/build”’…  
/bin/make “CC=cc” KBUILD\_OUTPUT=/lib/modules/3.10.0-693.25.4.el7.x86\_64/build KBUILD\_VERBOSE= -C /lib/modules/3.10.0-693.25.4.el7.x86\_64/source M=/tmp/selfgz 35142/NVIDIA-Linux-x86\_64-384.145/kernel ARCH=x86\_64 NV\_KERNEL\_SOURCES=/lib/modu les/3.10.0-693.25.4.el7.x86\_64/source NV\_KERNEL\_OUTPUT=/lib/modules/3.10.0-693.2 5.4.el7.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/3.10.0-693.25.4.el7.x86_64' /bin/make -C /lib/modules/3.10.0-693.25.4.el7.x86_64/build \ KBUILD_SRC=/usr/src/kernels/3.10.0-693.25.4.el7.x86_64 \ KBUILD_EXTMOD="/tmp/selfgz35142/NVIDIA-Linux-x86_64-384.145/kernel" -f /usr/s rc/kernels/3.10.0-693.25.4.el7.x86_64/Makefile \ modules /usr/src/kernels/3.10.0-693.25.4.el7.x86_64/arch/x86/Makefile:166: ***CONFIG _RETPOLINE=y, but not supported by the compiler. Compiler update recommended.. Stop. make[1]:*** [sub-make] Error 2 make[1]: Target `modules’ not remade because of errors.  
make[1]: Leaving directory `/usr/src/kernels/3.10.0-693.25.4.el7.x86_64' make: *** [modules] Error 2 -> Error. ERROR: An error occurred while performing the step: "Building kernel modules". S ee /var/log/nvidia-installer.log for details. -> The command `cd ./kernel; /bin/make -k -j32 NV\_EXCLUDE\_KERNEL\_MODULES=“” SYS SRC=“/lib/modules/3.10.0-693.25.4.el7.x86\_64/source” SYSOUT=“/lib/modules/3.10.0 -693.25.4.el7.x86\_64/build”` failed with the following output:

Help me,Thanks.

---

<div class="post-metadata">

**Author:** ![generix](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/generix/32/16024_2.png) [@generix](https://forums.developer.nvidia.com/u/generix)\
**Post date:** [October 29, 2018, 10:30pm UTC](https://forums.developer.nvidia.com/t/install-driver-failed-help/66741/2 "2018-10-29T22:30:39Z")

</div>

Your gcc is not matching the gcc the kernel was compiled with, please properly update your system.
