Gast
#75753
Hallo ! Ich habe vorhin versucht Peter Fleuris Display Testprogramm zu kompilieren! Ich habe mir deshalb mal dieses Demo Projekt in der Dokumentation von avr-libc angesehen ... C:\lcd>C:\WinAVR\bin\avr-gcc.exe -g -Os -mmcu=at90s8515 -c test_lcd.c C:\lcd>C:\WinAVR\bin\avr-gcc.exe -g -mmcu=at90s8515 -o test_lcd.elf test_lcd.o test_lcd.o(.text+0x2c): In function `main': C:\lcd/test_lcd.c:53: undefined reference to `lcd_init' test_lcd.o(.text+0x2e):C:\lcd/test_lcd.c:61: undefined reference to `lcd_clrscr' test_lcd.o(.text+0x34):C:\lcd/test_lcd.c:64: undefined reference to `lcd_puts' test_lcd.o(.text+0x3a):C:\lcd/test_lcd.c:67: undefined reference to `lcd_puts' test_lcd.o(.text+0x40):C:\lcd/test_lcd.c:70: undefined reference to `lcd_gotoxy' test_lcd.o(.text+0x44):C:\lcd/test_lcd.c:73: undefined reference to `lcd_putc' test_lcd.o(.text+0x4a):C:\lcd/test_lcd.c:84: undefined reference to `lcd_command' test_lcd.o(.text+0x50):C:\lcd/test_lcd.c:87: undefined reference to `lcd_puts' test_lcd.o(.text+0x54):C:\lcd/test_lcd.c:97: undefined reference to `lcd_clrscr' test_lcd.o(.text+0x5a):C:\lcd/test_lcd.c:100: undefined reference to `lcd_puts_p' test_lcd.o(.text+0x60):C:\lcd/test_lcd.c:101: undefined reference to `lcd_puts_p' test_lcd.o(.text+0x64):C:\lcd/test_lcd.c:104: undefined reference to `lcd_command' test_lcd.o(.text+0x6a):C:\lcd/test_lcd.c:110: undefined reference to `lcd_command' test_lcd.o(.text+0x6c):C:\lcd/test_lcd.c:117: undefined reference to `lcd_clrscr' test_lcd.o(.text+0x86):C:\lcd/test_lcd.c:123: undefined reference to `lcd_puts' Doch das ist das Ergebnis ich habe das Projekt auch in den Dateianhang geladen. Was mache ich Falsch beim kompilieren ? (MFG) jonas