Begin forwarded message:
Date: Thu, 28 Feb 2002 10:41:31 +0000 From: Arnaud Delobelle <[EMAIL PROTECTED]> To: cult <[EMAIL PROTECTED]> Subject: Re: NVIDIA_kernel-1.0-2314 compile failled On Thu, 28 Feb 2002 10:41:37 +0100 cult <[EMAIL PROTECTED]> wrote: > Salut, > > J'ai une erreur lors de la compilation du kernel module de nvidia: > /bin/sh: -c: line 1: syntax error near unexpected token `2.7.2.3)' > /bin/sh: -c: line 1: `if [ -z ]; then if [ 2.7.2.3) != 2.95.4 ]; then > echo " "; echo "You appear to be compiling the NVdriver kernel module > with "; echo "a compiler different from the one that was used to compile > "; echo "the running kernel. This may be perfectly fine, but there "; > echo "are cases where this can lead to unexpected behaviour and "; echo > "system crashes. "; echo " "; echo "If you know what you are doing and > want to override this "; echo "check, you can do so by setting > IGNORE_CC_MISMATCH. "; echo " "; echo "In any other case, set the CC > environment variable to the "; echo "name of the compiler that was used > to compile the kernel. "; echo " "; echo -en "\033[1;31m"; echo -e "*** > Failed cc sanity check. Bailing out! ***"; echo -en "\033[0m"; exit 1; > fi fi' > make: *** [gcc-check] Erreur 2 > 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) :-) > -- > Vincent. > -- Arnaud.

