[+] Nvidia i inna wersja GCC
: 17 listopada 2008, 18:16
Witam, mam maluteńki problem z zainstalowaniem sterowników do mojej karty graficznej. Mianowicie dziwny błąd wyskakuje. Oto część logu.
Znalazłem temat, http://debian.linux.pl/viewtopic.php?p=64313. Niestety za bardzo nie pomogły mi informacje tam zawarte. Zainstalowałem pakiet build-essential. Nie wiem co z nagłówkami jądra, po wpisaniu
mam:
po wpisaniu gcc- v:
Jakieś pomysły?
Ps. Mam KDE.
Kod: Zaznacz cały
Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 177.82.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site ([url]ftp://download.nvidia.com[/url])? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> 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/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at [url]www.nvidia.com[/url].
Kod: Zaznacz cały
dpkg -l | grep linux-image-`uname -r`
Kod: Zaznacz cały
debian:/home/omen# dpkg -l | grep linux-image-`uname -r`
ii linux-image-2.6.24-1-686 2.6.24-7 Linux 2.6.24 image on PPro/Celeron/PII/PIII/P4
Czyli wersję mam 4.3, a tam coś jest napisane na temat wersji 4.1.debian:/home/omen# gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-cld --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1)
Jakieś pomysły?
Ps. Mam KDE.