ďťż
 
 
   instalacja sterowników Nvidia - inna wersja gcc
 
 

Tematy

 
    
 

 

 

 

instalacja sterowników Nvidia - inna wersja gcc





Bartek_em - 27-08-2008 18:39
Witam
Mój Debian to Lenny, świeżo zainstalowany. Zainstalowałem build-essential i wziąłem się za instalację sterowników. Zawsze wszystko gładko szło ale nie tym razem. Mówi że mam nowszy gcc w wersji 4.3 a on używa 4.1. mimo że każę kontynuować jak zaleca Kaka' w swoim artykule to i tak się nie instaluje, wyświetla błąd. W pliku z błędem mniej więcej jest napisane że gcc mu nie pasuje. Wiecie co zrobić?



boryss - 27-08-2008 18:48
też mam ten problem. mam sid amd 64. zaraz wygrzebie logi błedu i wrzuce. wydaje mi sie ze rekompilacja jądra powinna pomóc, chociaż nie jestem pewien. dzisiaj wieczorem bede próbował coś wykminić



Adam_null - 27-08-2008 19:07
Posiadam identyczny problem.

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Aug 27 18:52:16 2008
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 173.14.12.
-> 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 (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
  this means that the installer will need to compile a kernel interface for
  your kernel.
-> 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 www.nvidia.com.



AdeBe - 27-08-2008 19:18

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
Czy mi się dobrze zdaje, czy kazałeś anulować kompilację (Answer: Yes) i się dziwisz że nie działa :-)



boryss - 27-08-2008 19:20
hehe :p ja własnie wróciłem z Krakowa odpaliłem instalator. Wszytko pokolei przetłumaczyłem sobie. I udało się.
Kiedy wywala komunikat z gcc o niezgodności. trzeba dać 'No' aby instalka dalej poszła. Wszystko ładnie i zgrabnie poszło. Akceleracja jest :) Mniodzio



Adam_null - 27-08-2008 19:21
Tez juz do tego doszedlem :) Funkcja szukaj Owns



boryss - 27-08-2008 19:27
tak to wlasnie jest jak sie czyta bez zrozumienia tekst. :P glupia sprawa :) ale udalo sie na spokojnie. wniosek z tego zeby uwaznie czytac komunikaty wypluwane przez PC :mrgreen:



Bartek_em - 27-08-2008 20:46
ale ja czytałem ze zrozumieniem i dałem NO , i mimo to instalacja nie idze dalej...
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Aug 27 21:20:33 2008
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 173.14.12.
-> 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 (ftp://download.nvidia.com)? (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: No)
ERROR: Unable to find the kernel source tree for the currently running kernel.
      Please make sure you have installed the kernel source files for your
      kernel and that they are properly configured; on Red Hat Linux systems,
      for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM
      installed.  If you know the correct kernel source files are installed,
      you may specify the kernel source path with the '--kernel-source-path'
      command line option.
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. po doinstalowaniu hedersów przez aptitude install Linux-headers-`uname -r` jest taki log
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Aug 27 21:35:47 2008
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 173.14.12.
-> 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 (ftp://download.nvidia.com)? (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: No)
-> Kernel source path: '/lib/modules/2.6.25-2-686/build'
-> Kernel output path: '/lib/modules/2.6.25-2-686/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
ERROR: The kernel you are installing for is a Xen kernel!
     
      The NVIDIA driver does not currently work on Xen kernels. If
      you are using a stock distribution kernel, please install
      a variant of this kernel without Xen support; if this is a
      custom kernel, please install a standard Linux kernel.  Then
      try installing the NVIDIA kernel module again.
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.
rozwiazanie



AdeBe - 27-08-2008 22:00
Bartek_em, a do tego (Xen kernel) to już jest oddzielny wątek na forum, poszukaj
  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • minister.pev.pl

  •  

     


     

     
    Copyright 2003. MĂłj serwis