On Freitag, 1. November 2002 11:14 Thomas Hertweck wrote:
Versuche mal spasseshalber ein "make CC=gcc ...."
Ich habe mal das makefile so verändert: #CC=/opt/snow-gcc/bin/mipsel-linux-gcc CC=/usr/bin/gcc # make JOY=YES SOUND=YES MUSIC=YES INSTALLROOT=/usr/local/bin DATA=/usr/local/bin/bobobot /usr/bin/gcc src/bobobot.c -c -B/opt/snow-gcc/lib/snow/ -I/opt/snow-gcc/lib/snow/include -DDATA=\"/usr/local/bin/bobobot\" -DJOYSTICK_YES -DSOUND_YES -DMUSIC_YES -O2 -Wall -funroll-loops -ffast-math -I/usr/include/SDL -D_REENTRANT -o obj/bobobot.o src/bobobot.c:110:1: warning: "KEY_LEFT" redefined In file included from /usr/include/linux/joystick.h:33, from src/bobobot.c:75: /usr/include/linux/input.h:204:1: warning: this is the location of the previous definition src/bobobot.c:111:1: warning: "KEY_RIGHT" redefined /usr/include/linux/input.h:205:1: warning: this is the location of the previous definition src/bobobot.c:112:1: warning: "KEY_UP" redefined /usr/include/linux/input.h:202:1: warning: this is the location of the previous definition src/bobobot.c:113:1: warning: "KEY_DOWN" redefined /usr/include/linux/input.h:207:1: warning: this is the location of the previous definition src/bobobot.c: In function `title': src/bobobot.c:7792: warning: unused variable `tip' src/bobobot.c:7795: warning: unused variable `i' src/bobobot.c:7795: warning: unused variable `x' src/bobobot.c:7795: warning: unused variable `y' src/bobobot.c:7795: warning: unused variable `num_threeds' src/bobobot.c:7795: warning: unused variable `threed_which' src/bobobot.c:7796: warning: unused variable `spin_mode' src/bobobot.c:7797: warning: unused variable `zz' src/bobobot.c:7798: warning: unused variable `point' src/bobobot.c:7799: warning: unused variable `star' src/bobobot.c:7800: warning: unused variable `threed' /usr/bin/gcc obj/bobobot.o obj/window.o obj/connect.o obj/hints.o obj/visual.o obj/gc.o obj/color.o obj/randnum.o obj/text.o -L/opt/snow-gcc/lib/snow/lib -lX11 -lm \ -B/opt/snow-gcc/lib/snow/ -I/opt/snow-gcc/lib/snow/include -DDATA=\"/usr/local/bin/bobobot\" -DJOYSTICK_YES -DSOUND_YES -DMUSIC_YES -O2 -Wall -funroll-loops -ffast-math -I/usr/include/SDL -D_REENTRANT -o bobobot /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: obj/window.o: Relocations in generic ELF (EM: 8) obj/window.o: could not read symbols: File in wrong format collect2: ld returned 1 exit status make: *** [bobobot] Error 1 Albert