GeForce drivers problem

Getting your soundcard to work, using Debian on non-i386 hardware, etc

GeForce drivers problem

Postby AGP6200 » 2010-03-01 03:40

Here is the log file that I received. I have limited knowledge of what to do and would like as much help as I can to downgrade gcc.

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Feb 28 16:47:28 2010
installer version: 1.0.7

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
precompiled interfaces : true
no ncurses color : false
query latest version : false
OpenGL header files : true
no questions : false
silent : false
no recursion : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
no kernel module : false
force SELinux : default
no X server check : false
no cc version check : false
force tls : (not specified)
X install prefix : (not specified)
X library install path : (not specified)
X module install path : (not specified)
OpenGL install prefix : (not specified)
OpenGL install libdir : (not specified)
utility install prefix : (not specified)
utility install libdir : (not specified)
doc install prefix : (not specified)
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 190.53.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> The CC version check failed:

The compiler used to compile the kernel (gcc 4.3) does not exactly match the
current compiler (gcc 4.4). The Linux 2.6 kernel module loader rejects kern
el modules built with a version of gcc that does not exactly match that of t
he compiler used to build the running kernel.

If you know what you are doing and want to ignore the gcc version check, sel
ect "No" to continue installation. Otherwise, select "Yes" to abort install
ation, set the CC environment variable to the name of the compiler used to c
ompile your kernel, and restart installation. Abort now? (Answer: Yes)
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
AGP6200
 
Posts: 1
Joined: 2010-03-01 03:37

Re: GeForce drivers problem

Postby gradinaruvasile » 2010-03-01 11:03

The compiler used to compile the kernel (gcc 4.3) does not exactly match the
current compiler (gcc 4.4). The Linux 2.6 kernel module loader rejects kern
el modules built with a version of gcc that does not exactly match that of t
he compiler used to build the running kernel.


The problem is that the kernel was compiled with different version of gnu c compiler than its the default on your system.
There is a simple workaround:
Install gcc version 4.3:

Code: Select all
sudo aptitude install gcc-4.3


change the /usr/bin/gcc link to that it points to gcc-4.3 instead of gcc-4.4:

First delete the link:

Code: Select all
sudo rm /usr/bin/gcc


Then link the gcc-4.3 to /usr/bin/gcc:

Code: Select all
sudo ln -s /usr/bin/gcc-4.3 /usr/bin/gcc


Stop gdm, and install the driver.
User avatar
gradinaruvasile
 
Posts: 935
Joined: 2010-01-31 22:03
Location: Cluj, Romania

Re: GeForce drivers problem

Postby craigevil » 2010-03-01 13:34

Use smxi it has never failed to install nvidia for me.

Graphics: Card nVidia G96 [GeForce 9400 GT] X.Org 1.7.5 Res: 1280x1024@50.0hz
GLX Renderer GeForce 9400 GT/PCI/SSE2 GLX Version 3.2.0 NVIDIA 195.36.03
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5192
Joined: 2006-09-17 03:17
Location: Oz


Return to Hardware

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable