For people who already compile the kernel , you might want to run
export CC=/usr/bin/gcc-2.95 before running sh NVIDIA-Linux-x86-1.0-6106-pkg1.run