Folgendes stand unten im Output Fenster:
Code:
C:\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=asuro.lst asuro.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > asuro.d; \
[ -s asuro.d ] || rm -f asuro.d
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:1:2: invalid preprocessing directive #incluce
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:1:2: invalid preprocessing directive #incluce
-------- 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:1:2: invalid preprocessing directive #incluce
test.c: In function `LocalInit':
test.c:6: error: `TCCR' undeclared (first use in this function)
test.c:6: error: (Each undeclared identifier is reported only once
test.c:6: error: for each function it appears in.)
test.c:6: error: `WGM21' undeclared (first use in this function)
test.c:6: error: `CS20' undeclared (first use in this function)
test.c:7: error: `OCR2' undeclared (first use in this function)
test.c:8: error: `ADCSRA' undeclared (first use in this function)
test.c:10: error: `ACSR' undeclared (first use in this function)
test.c:11: error: `ADMUX' undeclared (first use in this function)
test.c:13: error: `SFIOR' undeclared (first use in this function)
test.c:13: error: `ACME' undeclared (first use in this function)
test.c:14: error: `DDRD' undeclared (first use in this function)
test.c: In function `Ping':
test.c:19: error: `count72kHz' undeclared (first use in this function)
test.c:20: error: `TCCR2' undeclared (first use in this function)
test.c:20: error: `WGM21' undeclared (first use in this function)
test.c:20: error: `COM20' undeclared (first use in this function)
test.c:20: error: `CS20' undeclared (first use in this function)
test.c:25: error: parse error before "while"
test.c: At top level:
test.c:29: warning: type defaults to `int' in declaration of `TCCR2'
test.c:29: error: `TCCR2' used prior to declaration
test.c:29: error: `WGM21' undeclared here (not in a function)
test.c:29: error: `CS20' undeclared here (not in a function)
test.c:29: warning: data definition has no type or storage class
test.c:30: warning: type defaults to `int' in declaration of `OCR2'
test.c:30: error: `OCR2' used prior to declaration
test.c:30: warning: data definition has no type or storage class
test.c:32: error: parse error before '}' token
test.c: In function `main':
test.c:38: warning: implicit declaration of function `Init'
test.c:40: error: `TRUE' undeclared (first use in this function)
test.c:44: warning: implicit declaration of function `Sleep'
test.c:45: error: `ACSR' undeclared (first use in this function)
test.c:45: error: `ACI' undeclared (first use in this function)
test.c:46: error: parse error before '{' token
test.c:50: warning: implicit declaration of function `StatusLED'
test.c:50: error: `GREEN' undeclared (first use in this function)
test.c:51: warning: implicit declaration of function `MotorDir'
test.c:51: error: `FWD' undeclared (first use in this function)
test.c:52: warning: implicit declaration of function `MotorSpeed'
test.c:55: error: `RED' undeclared (first use in this function)
test.c:56: error: `RWD' undeclared (first use in this function)
test.c:57: error: `o' undeclared (first use in this function)
test.c:62:2: warning: no newline at end of file
make: *** [test.o] Error 1
> Process Exit Code: 2
Lesezeichen