Nun sieht es so aus:
Code:C:\WinAVR\Asuro\FirstTry>make all -------- 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 -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:90: undefined reference to `Encoder_Init' test.o(.text+0x1a6):C:\WinAVR\Asuro\FirstTry/test.c:102: undefined reference to `Encoder_Set' test.o(.text+0x1aa):C:\WinAVR\Asuro\FirstTry/test.c:104: undefined reference to `encoder' test.o(.text+0x1ae):C:\WinAVR\Asuro\FirstTry/test.c:104: undefined reference to `encoder' test.o(.text+0x1b8):C:\WinAVR\Asuro\FirstTry/test.c:104: undefined reference to `encoder' test.o(.text+0x1bc):C:\WinAVR\Asuro\FirstTry/test.c:104: undefined reference to `encoder' test.o(.text+0x1d8):C:\WinAVR\Asuro\FirstTry/test.c:109: undefined reference to `PrintInt' test.o(.text+0x1f4):C:\WinAVR\Asuro\FirstTry/test.c:115: undefined reference to `Msleep' test.o(.text+0x1fa):C:\WinAVR\Asuro\FirstTry/test.c:120: undefined reference to `encoder' test.o(.text+0x1fe):C:\WinAVR\Asuro\FirstTry/test.c:120: undefined reference to `encoder' test.o(.text+0x202):C:\WinAVR\Asuro\FirstTry/test.c:120: undefined reference to `encoder' test.o(.text+0x206):C:\WinAVR\Asuro\FirstTry/test.c:120: undefined reference to `encoder' test.o(.text+0x2f4):C:\WinAVR\Asuro\FirstTry/test.c:132: undefined reference to `encoder' test.o(.text+0x2f8):C:\WinAVR\Asuro\FirstTry/test.c:132: more undefined references to `encoder' follow test.o(.text+0x3f4): In function `main': C:\WinAVR\Asuro\FirstTry/test.c:181: undefined reference to `PrintInt' test.o(.text+0x45a):C:\WinAVR\Asuro\FirstTry/test.c:216: undefined reference to `Msleep' make: *** [test.elf] Error 1 > Process Exit Code: 2









Lesezeichen