hallo auch. ich habe nach ewigkeiten mal wieder den asuro programmiert. nun geh dieses programm hier aber nicht mehr.
ich benutze im moment KEINE libs aus dem forum, also nur die standart-sachen von der cd.
das notepad gibt folgende fehler aus:
Code:C:\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 -------- 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. Size before: test.elf : section size addr .text 1528 0 .data 0 8388704 .bss 1 8388704 .noinit 0 8388705 .eeprom 0 8454144 .stab 3156 0 .stabstr 1704 0 Total 6389 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:7: error: parse error before string constant test.c: In function `main': test.c:16: warning: implicit declaration of function `Init' test.c:18: warning: implicit declaration of function `StatusLED' test.c:18: error: `RED' undeclared (first use in this function) test.c:18: error: (Each undeclared identifier is reported only once test.c:18: error: for each function it appears in.) test.c:19: warning: implicit declaration of function `BackLED' test.c:19: error: `OFF' undeclared (first use in this function) test.c:20: warning: implicit declaration of function `MotorDir' test.c:20: error: `FWD' undeclared (first use in this function) test.c:21: warning: implicit declaration of function `MotorSpeed' test.c:22: error: `PINC' undeclared (first use in this function) test.c:22: error: `PC4' undeclared (first use in this function) test.c:24: error: `ON' undeclared (first use in this function) test.c:25: error: `RWD' undeclared (first use in this function) test.c:27: warning: implicit declaration of function `Msleep' test.c:40: error: `YELLOW' undeclared (first use in this function) test.c:43: error: `GREEN' undeclared (first use in this function) make: *** [test.o] Error 1 > Process Exit Code: 2







Zitieren

Lesezeichen