Quote:
gcc version 4.0.1 (4.0.1-5mdk for Mandriva Linux release 2006.0)
|
Ah yes that would be your problem. From your kernel version it looks like you're running 2005LE (are you? whats in /etc/release or /etc/mandrake-release?) but you've got the new GCC4 from 2006. This is bound to cause problems and not just with Nvidia, but with anything you try to compile in future. It says the same thing in that error message you posted:
Quote:
You appear to be compiling the NVIDIA kernel module with a different compile
r than the one that was used to compile the running kernel. This may be fin
e, but there are cases where this can lead to instability. The compiler use
d to compile the kernel was gcc 3.4; the current compiler is gcc 4.0.
|
which I didn't pick up on.
Anyway to fix it goto
http://easyurpmi.zarb.org and setup repositories for your correct version, then uninstall that gcc package and reinstall it with urpmi. You should end up with gcc-3.4