Nvidia driver installation without a compiler dependency

Hey,
I have noticed that Nvidia’s GPU driver (nvidia-kmod) uses the compiler gcc during installation on Linux (CentOS) to compile the ko file. I want to avoid this compilation stage and I have tried to compile nvidia-kmod myself. The compilation has passed successfully, However, I can’t attach the compiled kernel module, using insmod:

insmod /lib/modules/nvidia-418.67/nvidia.ko

I receive the following error: “could not insert module /lib/modules/nvidia-418.67/nvidia.ko: Unknown symbol in module”