quote:
You appear to be compiling the NVIDIA kernel module with
a compiler different from the one that was used to compile
the running kernel.
Really, it's clear on what is wrong.
Anyway, you could try the IGNORE_CC_MISMATCH thing (I guess that's an option for ./configure), I don't think that'll hurt (if that doesn't work right you know why). Or find out what compiler was used to compile the kernel and use that for the drivers. Or compile a new kernel and use the same to compile the drivers.
Hmm, this is actually very obvious and pretty much in the error message you gave. Not to mention that the README-file has a paragraph on this exact message...