Hallo, ik probeer de nvidia driver in een zelfbouw systeem met gcc 3.1 te compilen en dit is wat ik op mijn schermpje zie.
rm -f nv.o os-interface.o os-registry.o Module-linux nv_compiler.h NVdriver
/bin/sh: -c: line 1: syntax error near unexpected token `3.1)'
/bin/sh: -c: line 1: `if [ -z ]; then if [ 3.1) != 3.1 ]; 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] Error 2
Al die rare codes...export IGNORE_CC_MISMATCH werkt niet. In mijn oude systeem met gcc 2,95 kan ik chrooten naar het nieuwe systeem en dan is de output normaal en werkt die modifier wel. Enig idee waar het aan kan liggen?
Thanks
rm -f nv.o os-interface.o os-registry.o Module-linux nv_compiler.h NVdriver
/bin/sh: -c: line 1: syntax error near unexpected token `3.1)'
/bin/sh: -c: line 1: `if [ -z ]; then if [ 3.1) != 3.1 ]; 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] Error 2
Al die rare codes...export IGNORE_CC_MISMATCH werkt niet. In mijn oude systeem met gcc 2,95 kan ik chrooten naar het nieuwe systeem en dan is de output normaal en werkt die modifier wel. Enig idee waar het aan kan liggen?
Thanks