Установка драйвера NVIDIA в Ленни.

После запуска установки выдает ошибку.

nvidia-installer log file '/var/log/'
creation time: Sat Apr 18 16:23:46 2009
installer version: 1.0.7

option status:
license pre-accepted : true
update : false
force update : false
expert : false
uninstall : false
driver info : false
precompiled interfaces : false
no ncurses color : false
query latest version : false
OpenGL header files : true
no questions : true
silent : false
no recursion : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : true
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 : f.t.p.:././.d.o.w.n.l.o.a.d...n.v.i.d.i.a...c.o.m.(точки поставил уже я)
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted by command line option.
-> Installing NVIDIA driver version 180.29.
-> Not probing for precompiled kernel interfaces.
-> 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.1) does not exactly match the
current compiler (gcc 4.3). 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/' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at w.w.w...n.v.i.d.i.a...c.o.m...

И собственно вопрос. Чего не хватает?

Комментарии

а разве не понятно? The CC version check failed
The compiler used to compile the kernel (gcc 4.1) does not exactly match the current compiler (gcc 4.3). Ядро было собрано с ипользованием компилятора 4.1 а в системе используется 4.3. Скорее всего надо для начала попробовать обновить систему, если не поможет, то пересобирать ядро.

собрано на gcc 4.1, а у тебя gcc 4.3 вот и ругается
на "abort now" не пробовал no нажимать?

Установи gcc-4.1 и сделай симлинк с /usr/bin/gcc-4.1 на /usr/bin/gcc

sudo apt-get install gcc-4.1
sudo ln -sf /usr/bin/gcc-4.1 /usr/bin/gcc

странно, у меня при установке, тоже говорило такое, но я выбирал 'продолжить' и всё нормально работало...

> Abort now? (Answer: Yes)
Дык если бы ты выбрал продолжить то все бы и было нормально :-)

есть два варианта - собрать с текущим gcc в системе, либо поступить так как посоветовал Алексей.

установи gcc-4.1
потом перед установкой двор
# export CC=gcc-4.1

не надо ничего устанавливать
с gcc-4.3 всё собирается нормально.
не обращайте внимания на предупреждения.

у меня не собралось с gcc-4.3 (предупреждение проигнорировал один фиг)