Hallo...
Habe folgendes Problem:
Wäre schön wenn mir jemand helfen könnte.Code:C:\WinAVR\Asuro\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 test.c: In function `DriveCircle': test.c:4: warning: implicit declaration of function `Encoder_Init' test.c:42: warning: implicit declaration of function `Encoder_Set' test.c:7: warning: `segments_left' might be used uninitialized in this function test.c:8: warning: `segments_right' might be used uninitialized in this function 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+0x1e): In function `DriveCircle': C:\WinAVR\Asuro\FirstTry/test.c:4: undefined reference to `Encoder_Init' test.o(.text+0x6c):C:\WinAVR\Asuro\FirstTry/test.c:42: undefined reference to `Encoder_Set' test.o(.text+0x8a):C:\WinAVR\Asuro\FirstTry/test.c:58: undefined reference to `encoder' test.o(.text+0x8e):C:\WinAVR\Asuro\FirstTry/test.c:58: undefined reference to `encoder' test.o(.text+0x98):C:\WinAVR\Asuro\FirstTry/test.c:58: undefined reference to `encoder' test.o(.text+0x9c):C:\WinAVR\Asuro\FirstTry/test.c:58: undefined reference to `encoder' test.o(.text+0xb2):C:\WinAVR\Asuro\FirstTry/test.c:63: undefined reference to `encoder' test.o(.text+0xb6):C:\WinAVR\Asuro\FirstTry/test.c:63: more undefined references to `encoder' follow test.o(.text+0xec): In function `DriveCircle': C:\WinAVR\Asuro\FirstTry/test.c:76: undefined reference to `Msleep' test.o(.text+0xf6):C:\WinAVR\Asuro\FirstTry/test.c:77: undefined reference to `encoder' test.o(.text+0xfa):C:\WinAVR\Asuro\FirstTry/test.c:77: undefined reference to `encoder' test.o(.text+0x104):C:\WinAVR\Asuro\FirstTry/test.c:77: undefined reference to `encoder' test.o(.text+0x108):C:\WinAVR\Asuro\FirstTry/test.c:77: undefined reference to `encoder' test.o(.text+0x154): In function `DriveLength': C:\WinAVR\Asuro\FirstTry/test.c:89: undefined reference to `Encoder_Init' test.o(.text+0x1a6):C:\WinAVR\Asuro\FirstTry/test.c:101: undefined reference to `Encoder_Set' test.o(.text+0x1aa):C:\WinAVR\Asuro\FirstTry/test.c:103: undefined reference to `encoder' test.o(.text+0x1ae):C:\WinAVR\Asuro\FirstTry/test.c:103: undefined reference to `encoder' test.o(.text+0x1b8):C:\WinAVR\Asuro\FirstTry/test.c:103: undefined reference to `encoder' test.o(.text+0x1bc):C:\WinAVR\Asuro\FirstTry/test.c:103: undefined reference to `encoder' test.o(.text+0x1d8):C:\WinAVR\Asuro\FirstTry/test.c:108: undefined reference to `PrintInt' test.o(.text+0x1f4):C:\WinAVR\Asuro\FirstTry/test.c:114: undefined reference to `Msleep' test.o(.text+0x1fa):C:\WinAVR\Asuro\FirstTry/test.c:119: undefined reference to `encoder' test.o(.text+0x1fe):C:\WinAVR\Asuro\FirstTry/test.c:119: undefined reference to `encoder' test.o(.text+0x202):C:\WinAVR\Asuro\FirstTry/test.c:119: undefined reference to `encoder' test.o(.text+0x206):C:\WinAVR\Asuro\FirstTry/test.c:119: undefined reference to `encoder' test.o(.text+0x2f4):C:\WinAVR\Asuro\FirstTry/test.c:131: undefined reference to `encoder' test.o(.text+0x2f8):C:\WinAVR\Asuro\FirstTry/test.c:131: more undefined references to `encoder' follow test.o(.text+0x3f4): In function `main': C:\WinAVR\Asuro\FirstTry/test.c:180: undefined reference to `PrintInt' test.o(.text+0x45a):C:\WinAVR\Asuro\FirstTry/test.c:215: undefined reference to `Msleep' make: *** [test.elf] Error 1 > Process Exit Code: 2
Gruß
2stoned









Lesezeichen