I tried to reconfigure the kernel shipped with redhat. This endet in a big pile of compiler errors.
This is probably why it didn't work in the first place, assuming you tried to reconfigure the kernel before trying the NVIDIA drivers. The NVIDIA driver depends on the kernel source configuration exactly matching the running kernel. If it doesn't, you're going to see unresolved symbols.