Toon posts:

compile probleem

Pagina: 1
Acties:
  • 34 views sinds 30-01-2008

Verwijderd

Topicstarter
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

Verwijderd

incompatibiliteitje in gcc-3.1 lijkt me. Althans daar heb je kans op, daarvoor waarschuwt ie ;)
You appear to be compiling the NVdriver kernel module with ";
echo "a compiler different from the one that was used to compile
Niet onverstandig om gewoon 3.0 of 2.9x te gebruiken voor zoiets.

  • deadinspace
  • Registratie: Juni 2001
  • Laatst online: 23:10

deadinspace

The what goes where now?

[topic=463842/1/25]

Gelieve daar verder te gaan ;)

Dit topic is gesloten.