[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fw: Re: NVIDIA_kernel-1.0-2314 compile failled

Arnaud Delobelle wrote:

C'est parce qu'il y a un bug dans le makefile:
J'ai fait :
* tar zxf NVIDIA_kernel-1.0-2314.tar.gz
* cd NVIDIA_kernel-1.0-2314
* edite le Makefile, remplace la ligne 42 par la ligne suivante :
kernel_cc:=$(shell cat /proc/version | sed 's/^Linux.*(\(gcc.*\)).*$$/\1/')
* cd ..
* tar cvf NVIDIA_kernel-1.0-2314
* gzip NVIDIA_kernel-1.0-2314.tar

et j'ai recommence tout (voir /usr/share/doc/nvidia-kernel-src/README) :-)

Je viens de le faire et j'ai droit à un nouveau message d'erreur:
ake[2]: Entering directory `/usr/src/modules/nvidia-kernel-1.0.2314/NVIDIA_kernel-1.0-2314' You appear to be compiling the NVdriver 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 IGNORE_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[2]: *** [gcc-check] Erreur 1
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel-1.0.2314/NVIDIA_kernel-1.0-2314'
make[1]: *** [build-stamp] Erreur 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel-1.0.2314'
Module /usr/src/modules/nvidia-kernel-1.0.2314 failed.
Hit return to Continue

J'ai les Dieux qui sont contre moi je crois!!!
Une idée ?


Reply to: