NVIDIA GeForce 2

2002-12-29 Por tema Pepe Benitez
 

   Bajo los drivers de la web de nvidia para instalar
los en la Debian woody que tengo instalada, y sigo los
pasos que me dicen :

   descomprimir  desempacar
   compilar
   
bien, pues al compilar me dice que :

You appear to be compiling the NVIDIA kernel module
with a compiler different from the one that was used
to compile the running kernel. This may be perfectly
fine, but there are cases where this can lead to
unexpected behaviour and system crashes.  
 
  

If you know what you are doing and want to override
this check, you can do so by setting
GNORE_CC_MISMATCH.
  
   In any other case, set the CC environment variable
to the name of the compiler that was used to compile
the kernel.  
  

*** Failed cc sanity check. Bailing out! ***
make: *** [gcc-check] Error 1

___
Yahoo! Postales
Felicita las Navidades con las postales más
divertidas desde http://postales.yahoo.es



Re: NVIDIA GeForce 2

2002-12-29 Por tema Omar Lopez
El dom, 29-12-2002 a las 16:52, Pepe Benitez escribió:
Eso es por que has compilado los modulos de tu kernel con un compilador
distinto, por ejemplo si estas usando gcc 3.2.1 pasate al gcc 2.95, que
seguramente sea con el que compilastes el nucleo o con el que lo hayan
compilado, tambien puedes descargarte si tienes puestos los sources
non-free los drivers mediante apt-get. Otra opcion es editar el
Makefiler pero no creo q sea recomendable yo no lo he probado vamos ..

  
Bajo los drivers de la web de nvidia para instalar
 los en la Debian woody que tengo instalada, y sigo los
 pasos que me dicen :
 
descomprimir  desempacar
compilar

 bien, pues al compilar me dice que :
 
 You appear to be compiling the NVIDIA kernel module
 with a compiler different from the one that was used
 to compile the running kernel. This may be perfectly
 fine, but there are cases where this can lead to
 unexpected behaviour and system crashes.  
  
   
 
 If you know what you are doing and want to override
 this check, you can do so by setting
 GNORE_CC_MISMATCH.
   
In any other case, set the CC environment variable
 to the name of the compiler that was used to compile
 the kernel.  
   
 
 *** Failed cc sanity check. Bailing out! ***
 make: *** [gcc-check] Error 1
 
 ___
 Yahoo! Postales
 Felicita las Navidades con las postales más
 divertidas desde http://postales.yahoo.es
 



Re: NVIDIA GeForce 2

2002-12-29 Por tema Hue-Bond
Pepe Benitez, [EMAIL PROTECTED]:52:33(+0100):

You appear to be compiling the NVIDIA kernel module
with a compiler different from the one that was used
to compile the running kernel. This may be perfectly
fine, but there are cases where this can lead to
unexpected behaviour and system crashes.  

 Traducción: Parece  que estás  compilando el módulo  de nvidia
 con  un compilador  distinto del  que se  utilizó para  compilar el
 núcleo que está  en ejecución. Podría no pasar nada  pero hay casos
 en los  que esto  puede provocar  un comportamiento  impredecible y
 conducir a cuelgues.

 Solución: compila un núcleo, arranca con él y compila el módulo
 de nvidia sin hacer más cambios en el sistema.


-- 
 David Serrano [EMAIL PROTECTED] - Linux Registered User #87069



Re: NVIDIA GeForce 2

2002-12-29 Por tema Enrique Marcote Peña
Hola Pepe, a mí me pasó lo mismo al compilar los drivers de nvidia, 
puedes evitar esa comprobación definiendo la variable 
IGNORE_CC_MISMATCH, creo que había puesto


export IGNORE_CC_MISMATCH=1  (o true, no recuerdo bien)

el caso es que definí esa variable, volví a compilar y todo 
perfecto...el driver funciona a la perfección.


Creo recordar que en el readme o en algún otro fichero que acompañan los 
drivers hablan de las diferencias de versiones del gcc que pueden causar 
problemas, antes de definir la variable IGNORE_CC_MISMATCH, que evitaría 
la comprobación de versiones, no olvides contrastar la info de este 
documento.


Si te sirve de algo yo no tuve ningún problema y tengo las siguientes 
versiones:


La empleada para compilar el kernel en mi sistema es :

$less /proc/version
Linux version 2.2.20 ([EMAIL PROTECTED]) (gcc version 2.7.2.3) #1 Sat Apr 
20 11:45:28 EST 2002


y la versión del compilador que tengo instalado es:

$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)

Si tienes lo mismo creo que podrás evitar la comprobación de versiones y 
compilar el driver sin riesgos, ya te digo que  a mí me funciona todo OK.


Un saludo,

   Quique

Pepe Benitez wrote:




  Bajo los drivers de la web de nvidia para instalar
los en la Debian woody que tengo instalada, y sigo los
pasos que me dicen :

  descomprimir  desempacar
  compilar
  
bien, pues al compilar me dice que :


You appear to be compiling the NVIDIA kernel module
with a compiler different from the one that was used
to compile the running kernel. This may be perfectly
fine, but there are cases where this can lead to
unexpected behaviour and system crashes.  

 
   
If you know what you are doing and want to override

this check, you can do so by setting
GNORE_CC_MISMATCH.
 
  In any other case, set the CC environment variable

to the name of the compiler that was used to compile
the kernel.  
 
   
*** Failed cc sanity check. Bailing out! ***

make: *** [gcc-check] Error 1

___
Yahoo! Postales
Felicita las Navidades con las postales más
divertidas desde http://postales.yahoo.es