Jean-Luc Coulon (f5ibh) a écrit :
Le 09.10.2004 17:36:54, eric.math a écrit :
Jean-Luc Coulon (f5ibh) a écrit :
Le 09.10.2004 17:20:16, eric.math a écrit :
Bonjour,
J'essaie d'installer le driver nvidia 6106 avec le kernel 2.6.8-1-
k7 et le kernel-headers du même n°.
A l'installation, j'ai ça :
./usr/src/nv/conftest.sh: line 1: cc: command not found
Could not compile gcc-version-check.c
Et la commande "cc -v" donne quoi ?
euhhh, je suppose que tu veux la version de gcc, parce que cc -v =
command not found chez moi.
nonon : je veux (enfin ..) le résultat de la commande cc -v
/usr/bin/cc est un lien vers /etc/alternatives/cc ... qui est lui-même
un lien vers /usr/bin/gcc
J'ai créé un lien vers /usr/bin/gcc
et maintenant cc -v me donne :
$ cc -v
Lecture des spécification à partir de
/usr/lib/gcc-lib/i486-linux/3.3.4/specs
Configuré avec: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
--with-system-zlib --enable-nls --without-included-gettext
--enable-__cxa_atexit --enable-clocale=gnu --enable-debug
--enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Modèle de thread: posix
version gcc 3.3.4 (Debian 1:3.3.4-13)
Par contre l'installation du driver nvidia me donne
-> Kernel source path: '/lib/modules/2.6.8-1-k7/build'
-> Performing cc_version_check with CC="cc".
-> gcc-version-check failed:
Could not compile gcc-version-check.c
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:
If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.
If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system.
arg.
eric