aber beim erstellen des make files erhalte ich diese meldung:
kann mir jemand sagen wo der fehler liegt?Code:C:\Users\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. 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 -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.o test.o asuro.o --output test.elf -Wl,-Map=test.map,--cref -lm test.o(.text+0xa): In function `main': C:\Users\ASURO_src\FirstTry/test.c:6: undefined reference to `EncoderInit' test.o(.text+0x1c):C:\Users\ASURO_src\FirstTry/test.c:11: undefined reference to `GoTurn' test.o(.text+0x2a):C:\Users\ASURO_src\FirstTry/test.c:12: undefined reference to `GoTurn' make: *** [test.elf] Error 1 > Process Exit Code: 2







Zitieren

Lesezeichen