Did you get a Mandrake specific rpm?

Try getting nVidia's generic installer, it sounds like the pre-packaged
MDK one is compiled with an older compiler.

Cheers
Brad

> -----Original Message-----
> From: Ross Drummond [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, February 18, 2004 12:41 PM
> To: CLUG mailing list
> Subject: Compiler version error
> 
> 
> When attempting to install NVIDIA drivers I get the following error;
> 
> /lib/modules/2.4.21-0.13mdk/kernel/drivers/video/NVdriver: 
> The module you are 
> trying to load 
> (/lib/modules/2.4.21-0.13mdk/kernel/drivers/video/NVdriver) is 
> compiled with a gcc version 2 compiler, while the kernel you 
> are running is 
> compiled with a gcc version 3 compiler. This is known to not work.
> 
> .....modprobe: insmod NVdriver failed.
> 
> The following test in the Makefile is not tripped;
> 
> gcc-check:
>       @if [ -z $(IGNORE_CC_MISMATCH) ]; then \
>        if [ $(kernel_cc) != $(module_cc) ]; then \
>       echo "                                                  
>          "; \
>       echo "You appear to be compiling the NVdriver kernel 
> module with "; \
>       echo "a compiler different from the one that was used 
> to compile "; \
>       echo "the running kernel. This may be perfectly fine, 
> but there  "; \
>       echo "are cases where this can lead to unexpected 
> behaviour and  "; \
>       echo "system crashes.                                   
>          "; \
>       echo "                                                  
>          "; \
>       echo "If you know what you are doing and want to 
> override this   "; \
>       echo "check, you can do so by setting 
> IGNORE_CC_MISMATCH.        "; \
>       echo "                                                  
>          "; \
>       echo "In any other case, set the CC environment 
> variable to the  "; \
>       echo "name of the compiler that was used to compile the 
> kernel.  "; \
>       echo "                                                  
>          "; \
>       echo -en "\033[1;31m"; \
>       echo -e  "*** Failed cc sanity check. Bailing out! ***"; \
>       echo -en "\033[0m"; \
>       exit 1; \
>        fi \
>       fi
> 
> The output of gcc -v is;
> 
> .....gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk).
> 
> Help!
> 
> Cheers Ross Drummond
> 

Reply via email to