C:\Dokumente und Einstellungen\Besitzer\Desktop\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
-------- 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
avr-gcc -c -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=asuro.lst asuro.c -o asuro.o
asuro.c: In function `__vector_2':
asuro.c:196: error: `switched' undeclared (first use in this function)
asuro.c:196: error: (Each undeclared identifier is reported only once
asuro.c:196: error: for each function it appears in.)
asuro.c: In function `__vector_14':
asuro.c:220: error: `encoder' undeclared (first use in this function)
asuro.c: In function `Encoder_Init':
asuro.c:463: warning: implicit declaration of function `Encoder_Set'
asuro.c: At top level:
asuro.c:470: warning: type mismatch with previous implicit declaration
asuro.c:463: warning: previous implicit declaration of `Encoder_Set'
asuro.c:470: warning: `Encoder_Set' was previously implicitly declared to return `int'
asuro.c: In function `Encoder_Set':
asuro.c:471: error: `encoder' undeclared (first use in this function)
asuro.c:471: error: `LEFT' undeclared (first use in this function)
asuro.c:472: error: `RIGHT' undeclared (first use in this function)
asuro.c: In function `PrintInt':
asuro.c:489: warning: implicit declaration of function `itoa'
asuro.c: In function `Go':
asuro.c:519: warning: implicit declaration of function `abs'
asuro.c:531: error: `encoder' undeclared (first use in this function)
asuro.c:531: error: `LEFT' undeclared (first use in this function)
asuro.c:532: error: `RIGHT' undeclared (first use in this function)
asuro.c: In function `Turn':
asuro.c:580: error: `encoder' undeclared (first use in this function)
asuro.c:580: error: `LEFT' undeclared (first use in this function)
asuro.c:581: error: `RIGHT' undeclared (first use in this function)
make: *** [asuro.o] Error 1
> Process Exit Code: 2
Lesezeichen