also von deinem makefile kommt bei mir folgendes problem
makefile:286: *** missing separator. Stop.
und dann hab ich das makefile von der CD genommen und den namen von test in firsttry geändert dann kommt das problem:
Code:> "make.exe" 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=firsttry.lst firsttry.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > firsttry.d; \ [ -s firsttry.d ] || rm -f firsttry.d -------- begin -------- avr-gcc --version avr-gcc (WinAVR 20080610) 4.3.0 Copyright (C) 2008 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 -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=firsttry.o firsttry.o asuro.o --output firsttry.elf -Wl,-Map=firsttry.map,--cref -lm firsttry.o: In function `main': firsttry.c:42: undefined reference to `FrontLED' firsttry.c:43: undefined reference to `MotorDir' firsttry.c:44: undefined reference to `MotorSpeed' firsttry.c:51: undefined reference to `MotorSpeed' firsttry.c:57: undefined reference to `MotorDir' firsttry.c:58: undefined reference to `MotorSpeed' firsttry.c:61: undefined reference to `MotorDir' firsttry.c:62: undefined reference to `MotorSpeed' make.exe: *** [firsttry.elf] Error 1 > Process Exit Code: 2 > Time Taken: 00:04







Zitieren

Lesezeichen