Forum: Mikrocontroller und Digitale Elektronik Error make.exe


von DJ Tessa (Gast)


Angehängte Dateien:

Lesenswert?

bekomme Diese Fehlermeldung wer kann mir helfen

> "make.exe" all
set -e; avr-gcc -MM -mmcu=atmega32 -I. -Os -funsigned-char 
-funsigned-bitfields -fpack-struct -fshort-enums -Wall 
-Wstrict-prototypes -Wa,-adhlns=main.lst  -std=gnu99 
-DVERSION_HAUPTVERSION=1 -DVERSION_NEBENVERSION=0 -DF_CPU=16000000 
main.c \
  | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > main.d; \
  [ -s main.d ] || rm -f main.d

-------- begin --------
avr-gcc (WinAVR 20100110) 4.3.3
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.


Compiling: main.c
avr-gcc -c -mmcu=atmega32 -I. -Os -funsigned-char -funsigned-bitfields 
-fpack-struct -fshort-enums -Wall -Wstrict-prototypes 
-Wa,-adhlns=main.lst  -std=gnu99 -DVERSION_HAUPTVERSION=1 
-DVERSION_NEBENVERSION=0 -DF_CPU=16000000          main.c -o main.o

Linking: FTM1_3.elf
avr-gcc -mmcu=atmega32 -I. -Os -funsigned-char -funsigned-bitfields 
-fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.o 
-std=gnu99 -DVERSION_HAUPTVERSION=1 -DVERSION_NEBENVERSION=0 
-DF_CPU=16000000          main.o   --output FTM1_3.elf -Wl, 
-Map=FTM1_3.map,--cref -lm
c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/../../../../avr/bin/ld.exe: 
: No such file: No such file or directory
avr-gcc: unrecognized option '-Map=FTM1_3.map,--cref'
make.exe: *** [FTM1_3.elf] Error 1

> Process Exit Code: 2
> Time Taken: 00:01

von Reinhard W. (freakster235)


Lesenswert?

Hallo,

hast du das Makefile mit den "MFile [WinAVR]" von WinAVR erstellt?
Sieht so aus als ob dem Linker die Option mit den .map File nicht 
schmeckt.

Gruß

Reini

von Christian H. (netzwanze) Benutzerseite


Lesenswert?

DJ Tessa schrieb:
> c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/../../../../avr/bin/ld.exe:
> : No such file: No such file or directory

Die ld.exe wird nicht gefunden.

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.