On Wednesday 13 August 2003 06:42, Gerhard den Hollander wrote:
* Sid Boyce
(Wed, Aug 13, 2003 at 06:53:38AM +0100) The SuSE shipped (boxed) kernel was compiled with an earlier gcc, so if you update to gcc-3.3-43, /var/log/nvidia-installer.log will tell you your kernel was not compiled with the gcc you currently have.
Even if you have a kernel that is compiled with the correct gcc this will fail. The trick the nvidia makefile uses to catch the gcc version number fails:
% gcc --version gcc (GCC) 3.3 20030226 (prerelease) (SuSE Linux) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
% cat /proc/version Linux version 2.4.20nfs (root@hyperion) (gcc version 3.3 20030226 (prerelease) (SuSE Linux)) #2 SMP Thu Jul 10 13:49:42 CEST 2003
setting IGNORE_CC_MISMATCH to some value prevents this
I got it to work by setting IGNORE_CC_MISMATCH to 1, then running the installer. (env IGNORE_CC_MISMATCH=1 sh <NVIDIA-intstall-script>) I am using the Athlon kernel build 100 installed by YOU (with the sources). The driver works fine, getting thousands of fps in gears etc. If you do this, do check using the above methods that you really *do* have the same gcc as the kernel was compiled with! <snip/> -- Ray