Hi,
wenn ich den SRC Eintrag im Makefile wie vorgeschlagen anpasse, erhalte ich folgende Fehlermeldung:
Das Problem scheint zu sein, dass ab und an dem Pfad ein / vorausgestellt wird. Manchmal steht dort korrekterweise libs/lcd_lib.c, an anderer Stelle setzt der Compiler dann aber /libs/lcd_lib.lst bzw. /libs/lcd_lib.o ein.Code:> "make.exe" all -------- begin -------- avr-gcc (GCC) 3.4.6 Copyright (C) 2006 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. Size before: Testboard.elf : section size addr .text 1030 0 .data 42 8388704 .bss 0 8388746 .noinit 0 8388746 .eeprom 0 8454144 .stab 876 0 .stabstr 132 0 .debug_aranges 40 0 .debug_pubnames 210 0 .debug_info 1480 0 .debug_abbrev 728 0 .debug_line 1332 0 .debug_str 454 0 .debug_ranges 12 1030 Total 6336 Compiling C: libs/lcd_lib.c avr-gcc -c -mmcu=atmega8 -I. -gdwarf-2 -DF_CPU=7372800UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wundef -Wa,-adhlns=/libs/lcd_lib.lst -std=gnu99 -Wundef -MD -MP -MF .dep/lcd_lib.o.d libs/lcd_lib.c -o /libs/lcd_lib.o Assembler messages: FATAL: can't create /libs/lcd_lib.o: No such file or directory make.exe: *** [/libs/lcd_lib.o] Error 1 > Process Exit Code: 2 > Time Taken: 00:02
weitere Hilfe?
Hans







Zitieren

Lesezeichen