Danke für die Tipps.
Wenn ich den Code von Radbruch kompiliere, kommt folgendes heraus:
Ich verwenden noch die Orginal-Libery von der CD - muss ich upgraden?Code:C:\Dokumente und Einstellungen\Administrator.EMSNB008\Desktop\ASURO\ASURO_src\FirstTry>make all set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.lst test.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > test.d; \ [ -s test.d ] || rm -f test.d test.c:14:78: ../inc/ir-asuro.h: No such file or directory test.c:15:30: ../inc/ir-asuro.c: No such file or directory -------- begin -------- avr-gcc --version avr-gcc (GCC) 3.3.1 Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. avr-gcc -c -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.lst test.c -o test.o test.c:14:78: ../inc/ir-asuro.h: No such file or directory test.c:15:30: ../inc/ir-asuro.c: No such file or directory test.c: In function `main': test.c:21: warning: implicit declaration of function `Init' test.c:22: warning: implicit declaration of function `StatusLED' test.c:22: error: `RED' undeclared (first use in this function) test.c:22: error: (Each undeclared identifier is reported only once test.c:22: error: for each function it appears in.) test.c:22: warning: implicit declaration of function `Msleep' test.c:22: error: `GREEN' undeclared (first use in this function) test.c:23: warning: implicit declaration of function `FrontLED' test.c:23: error: `ON' undeclared (first use in this function) test.c:24: warning: implicit declaration of function `MotorDir' test.c:24: error: `FWD' undeclared (first use in this function) test.c:27: error: `DDRD' undeclared (first use in this function) test.c:27: error: `DDD1' undeclared (first use in this function) test.c:28: error: `PORTD' undeclared (first use in this function) test.c:28: error: `PD1' undeclared (first use in this function) test.c:29: error: `OCR2' undeclared (first use in this function) test.c:32: error: `PIND' undeclared (first use in this function) test.c:32: error: `PD0' undeclared (first use in this function) test.c:34: warning: implicit declaration of function `LineData' test.c:35: warning: implicit declaration of function `MotorSpeed' test.c:37: warning: implicit declaration of function `BackLED' test.c:37: error: `OFF' undeclared (first use in this function) test.c:41: error: `RWD' undeclared (first use in this function) test.c:46: error: `BREAK' undeclared (first use in this function) test.c:48: error: `YELLOW' undeclared (first use in this function) test.c:50: warning: implicit declaration of function `Sleep' test.c:60:2: warning: no newline at end of file make: *** [test.o] Error 1 > Process Exit Code: 2







Zitieren
Lesezeichen