- 12V Akku mit 280 Ah bauen         
Seite 9 von 40 ErsteErste ... 789101119 ... LetzteLetzte
Ergebnis 81 bis 90 von 405

Thema: Alternative zu Flashnnn.exe

Hybrid-Darstellung

Vorheriger Beitrag Vorheriger Beitrag   Nächster Beitrag Nächster Beitrag
  1. #1
    Benutzer Stammmitglied
    Registriert seit
    14.08.2005
    Ort
    Waldems
    Beiträge
    69
    @osser
    kleines Problem? Warum komme ich beim make all nur bis hierhin?
    Habe immer Fehlercode 2, der WinAVR-Path stimmt.

    Gruß
    Micha

    Asuro Flash (Alias Eierlegendewollmilchsau) V1.1.5.30 (c) O.O. Müller 2006
    User has admin rights.
    Processor , OS WINXP
    Hello Administrator on NDV08001, have fun

    Session Environment Variables:
    AF_AVRDIR=C:\WinAVR
    AF_PROJECT=Project1
    AF_SOURCE_FILES=
    AF_ASM_SRC_FILES=
    AF_PRGDIR=C:\Program Files\AsuroFlash

    >Ready.
    Flash file not found!
    Session Environment Variables:
    AF_AVRDIR=C:\WinAVR
    AF_PROJECT=Project_linie1
    AF_SOURCE_FILES=linienpid.c asuro.c
    AF_ASM_SRC_FILES=
    AF_PRGDIR=C:\Program Files\AsuroFlash

    File asuro.c saved.
    Default make_all.cmd file created.
    Default makefile created.
    Make
    Y:\Asuro>C:\WinAVR\utils\bin\make.exe all
    set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=asuro.lst -IC:\Program Files\AsuroFlash\include asuro.c \
    | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > asuro.d; \
    [ -s asuro.d ] || rm -f asuro.d
    avr-gcc.exe: FilesAsuroFlashinclude: No such file or directory
    -------- 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=linienpid.lst -IC:\Program Files\AsuroFlash\include linienpid.c -o linienpid.o
    avr-gcc: cannot specify -o with -c or -S and multiple compilations
    make.exe: *** [linienpid.o] Error 1

    ExitCode 2
    Ready.
    Gruß

    Micha
    _________________________________
    Mein Roboter ist in der Pubertät [-o<

  2. #2
    Moderator Robotik Einstein Avatar von damaltor
    Registriert seit
    28.09.2006
    Ort
    Milda
    Alter
    38
    Beiträge
    4.069
    ich glaube, es stört den compiler dass einige objeckt- einige ASM und einige C-dateien vorhanden sind. ich denke, das liegt am makefile. kann das sein?
    Read... or die.
    ff.mud.de:7600
    Bild hier  

  3. #3
    Erfahrener Benutzer Roboter Genie Avatar von m.a.r.v.i.n
    Registriert seit
    24.07.2005
    Ort
    Berlin
    Beiträge
    1.247
    Hi,

    ich denke der Fehler kommt durch das Leerzeichen im Programm Pfad.
    Pack da mal Anführungszeichen rum, oder kopiere die Quellen in ein Verzeichnis ohne Leerzeichen.

    Code:
    AF_PRGDIR="C:\Program Files\AsuroFlash"

  4. #4
    Benutzer Stammmitglied
    Registriert seit
    14.08.2005
    Ort
    Waldems
    Beiträge
    69
    Okay,
    ich habe jetzt den neuesten WINAVR. Im Programmers Notepad gibt es unter den Tools (sonst selbstgemachte makes und clears) jetzt Fertige.
    Die funzen auf Anhieb.
    Danke Allen für die Hilfen!
    Gruß

    Micha
    _________________________________
    Mein Roboter ist in der Pubertät [-o<

  5. #5
    Benutzer Stammmitglied
    Registriert seit
    06.02.2008
    Beiträge
    35
    Hallo Osser,
    ich schreibe zum ersten mal und habe mit deinen Programm schwierigkeiten. Bekomme immer diese Fehlermeldung die ich nicht verstehe.
    C:\AsuroFlash\Projekte\Zweite\Project2.hex
    is set as default flash file.
    Use program button to flash it to hardware.
    File saved.
    Default make_all.cmd file created.
    Default makefile created.
    Make
    C:\AsuroFlash\Projekte\Zweite>C:\WinAVR\utils\bin\ make.exe all
    set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=new.lst -IC:\AsuroFlash\include new.c \
    | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > new.d; \
    [ -s new.d ] || rm -f new.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.

    Size before:
    Project2.elf :
    section size addr
    .text 102 0
    .data 0 8388704
    .bss 0 8388704
    .noinit 0 8388704
    .eeprom 0 8454144
    .stab 768 0
    .stabstr 1685 0
    Total 2555


    avr-gcc -c -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=new.lst -IC:\AsuroFlash\include new.c -o new.o
    new.c:3: warning: return type of `main' is not `int'
    new.c: In function `main':
    new.c:9: warning: `return' with a value, in function returning void
    avr-gcc -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=new.o -IC:\AsuroFlash\include new.o --output Project2.elf -Wl,-Map=Project2.map,--cref -IC:\AsuroFlash\lib -lm
    new.o(.text+0x: In function `main':
    C:\AsuroFlash\Projekte\Zweite/new.c:4: undefined reference to `Init'
    make.exe: *** [Project2.elf] Error 1


    ExitCode 2
    Ready.

    Wie bekomme ich diesen Error 1 weg
    Gruß
    Juelicher

  6. #6
    Benutzer Stammmitglied
    Registriert seit
    06.02.2008
    Beiträge
    35
    Hallo Osser,
    Ich Habe denn Fehler gefunden, Hoffentlich.
    Mußte nur asuro.c und asuro.h mit einbinden.
    Gruß
    Juelicher
    Miniaturansichten angehängter Grafiken Miniaturansichten angehängter Grafiken miteinf_gen.jpg  

  7. #7
    Neuer Benutzer Öfters hier
    Registriert seit
    23.01.2008
    Alter
    42
    Beiträge
    27

    Hilfe

    Hi,
    würde dein Programm auch sehr gerne mal benutzen aber leider sind bei mir die Schaltflächen "Make all" und "Make clean" grau hinterlegt.
    Woran kann das liegen?
    Habe den richtigen Pfad angegeben aber leider geht nichts.

    Mfg Tom

  8. #8
    Benutzer Stammmitglied
    Registriert seit
    06.02.2008
    Beiträge
    35
    Hallo Minifuzi,

    Habe immer noch Schwierigkeiten mit dem Programm vom Osser,
    aber wie du die Make all und Make clean aktivieren kannst, das weis ich schon.
    Einfach das Projekt und die Dateien abspeichern. Bei mir hat es Funktioniert die Dateien einzelnt abzuschbeichern.
    Wenn ich dann auf Projekt speichern gehe werden Alle Dateien und das Projekt abgespeichert.
    Gruß
    Juelicher

  9. #9
    Neuer Benutzer Öfters hier
    Registriert seit
    23.01.2008
    Alter
    42
    Beiträge
    27
    Dankeschön, das das so einfach hätt ich mir nicht gedacht. Jetzt bin ich schon mal einen Schritt weiter zu meinem egenen Programm.

    Mfg Tom

  10. #10
    Neuer Benutzer Öfters hier
    Registriert seit
    23.01.2008
    Alter
    42
    Beiträge
    27
    So, jetzt hab ich zwar dei Schaltflächen bekomm aber immer wieder folgende Fehlermeldung:

    Code:
    Asuro Flash (Alias Eierlegendewollmilchsau)	 V1.1.5.30 (c) O.O. Müller 2006
    User has admin rights.
    Processor , OS WINXP
    Hello Tom on PAUL, have fun :)
    
    Session Environment Variables:
    AF_AVRDIR=C:\Programme\Asuro\WinAVR
    AF_PROJECT=Project1
    AF_SOURCE_FILES=
    AF_ASM_SRC_FILES=
    AF_PRGDIR=C:\Programme\Asuro\AsuroFlash
    
    >Ready.
    File saved as C:\Programme\Asuro\AsuroFlash\test.c
    Session Environment Variables:
    AF_AVRDIR=C:\Programme\Asuro\WinAVR
    AF_PROJECT=test
    AF_SOURCE_FILES=test.c
    AF_ASM_SRC_FILES=
    AF_PRGDIR=C:\Programme\Asuro\AsuroFlash
    
    File test.c saved.
    Default make_all.cmd file created.
    Default makefile created.
    Make
    C:\Programme\Asuro\AsuroFlash>C:\Programme\Asuro\WinAVR\utils\bin\make.exe 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 -IC:\Programme\Asuro\AsuroFlash\include 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) 4.2.2 (WinAVR 20071221)
    Copyright (C) 2007 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 -IC:\Programme\Asuro\AsuroFlash\include test.c -o test.o
    test.c:1:19: error: asuro.h: No such file or directory
    test.c:3: warning: return type of 'main' is not 'int'
    test.c: In function 'main':
    test.c:9: warning: 'return' with a value, in function returning void
    make: *** [test.o] Error 1
    
    ExitCode 2
    Ready.
    File test.c saved.
    Session Environment Variables:
    AF_AVRDIR=C:\Programme\Asuro\WinAVR
    AF_PROJECT=test
    AF_SOURCE_FILES=test.c
    AF_ASM_SRC_FILES=
    AF_PRGDIR=C:\Programme\Asuro\AsuroFlash
    
    File test.c saved.
    Default make_all.cmd file created.
    Default makefile created.
    Make
    C:\Programme\Asuro\AsuroFlash>C:\Programme\Asuro\WinAVR\utils\bin\make.exe 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 -IC:\Programme\Asuro\AsuroFlash\include test.c \
    	| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > test.d; \
    	[ -s test.d ] || rm -f test.d
    test.c:1:54: error: asuro.h: No such file or directory
    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 -IC:\Programme\Asuro\AsuroFlash\include test.c \
    	| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > test.d; \
    	[ -s test.d ] || rm -f test.d
    test.c:1:54: error: asuro.h: No such file or directory
    -------- begin --------
    avr-gcc --version
    avr-gcc (GCC) 4.2.2 (WinAVR 20071221)
    Copyright (C) 2007 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 -IC:\Programme\Asuro\AsuroFlash\include test.c -o test.o
    test.c:1:54: error: asuro.h: No such file or directory
    test.c:3: warning: return type of 'main' is not 'int'
    test.c: In function 'main':
    test.c:9: warning: 'return' with a value, in function returning void
    make: *** [test.o] Error 1
    
    
    ExitCode 2
    Ready.
    File saved as C:\Programme\Asuro\AsuroFlash\test.c
    Session Environment Variables:
    AF_AVRDIR=C:\Programme\Asuro\WinAVR
    AF_PROJECT=test
    AF_SOURCE_FILES=..\test.c
    AF_ASM_SRC_FILES=
    AF_PRGDIR=C:\Programme\Asuro\AsuroFlash
    
    File test.c saved.
    Default make_all.cmd file created.
    Default makefile created.
    Make
    C:\Programme\Asuro\AsuroFlash\FirstTry>C:\Programme\Asuro\WinAVR\utils\bin\make.exe 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 -IC:\Programme\Asuro\AsuroFlash\include ..\test.c \
    	| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > ..\test.d; \
    	[ -s ..\test.d ] || rm -f ..\test.d
    avr-gcc.exe: ..test.c: No such file or directory
    avr-gcc.exe: no input files
    -------- begin --------
    avr-gcc --version
    avr-gcc (GCC) 4.2.2 (WinAVR 20071221)
    Copyright (C) 2007 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 -IC:\Programme\Asuro\AsuroFlash\include ..\test.c -o ..\test.o
    ..\test.c:1:54: error: asuro.h: No such file or directory
    ..\test.c:3: warning: return type of 'main' is not 'int'
    ..\test.c: In function 'main':
    ..\test.c:9: warning: 'return' with a value, in function returning void
    make: *** [..\test.o] Error 1
    
    
    ExitCode 2
    Ready.
    Session Environment Variables:
    AF_AVRDIR=C:\Programme\Asuro\WinAVR
    AF_PROJECT=test
    AF_SOURCE_FILES=..\test.c test.c
    AF_ASM_SRC_FILES=
    AF_PRGDIR=C:\Programme\Asuro\AsuroFlash
    
    Default make_all.cmd file created.
    Default makefile created.
    Make
    C:\Programme\Asuro\AsuroFlash\FirstTry>C:\Programme\Asuro\WinAVR\utils\bin\make.exe 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 -IC:\Programme\Asuro\AsuroFlash\include test.c \
    	| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > test.d; \
    	[ -s test.d ] || rm -f test.d
    test.c:1:19: error: asuro.h: No such file or directory
    -------- begin --------
    avr-gcc --version
    avr-gcc (GCC) 4.2.2 (WinAVR 20071221)
    Copyright (C) 2007 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.
    
    make: *** No rule to make target `test.hex', needed by `all'.  Stop.
    
    
    ExitCode 2
    Ready.
    File saved as C:\Programme\Asuro\AsuroFlash\FirstTry\test.c
    Session Environment Variables:
    AF_AVRDIR=C:\Programme\Asuro\WinAVR
    AF_PROJECT=test
    AF_SOURCE_FILES=..\test.c test.c
    AF_ASM_SRC_FILES=
    AF_PRGDIR=C:\Programme\Asuro\AsuroFlash
    
    Default make_all.cmd file created.
    Default makefile created.
    Make
    C:\Programme\Asuro\AsuroFlash\FirstTry>C:\Programme\Asuro\WinAVR\utils\bin\make.exe 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 -IC:\Programme\Asuro\AsuroFlash\include test.c \
    	| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > test.d; \
    	[ -s test.d ] || rm -f test.d
    test.c:1:54: error: asuro.h: No such file or directory
    -------- begin --------
    avr-gcc --version
    avr-gcc (GCC) 4.2.2 (WinAVR 20071221)
    Copyright (C) 2007 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.
    
    make: *** No rule to make target `test.hex', needed by `all'.  Stop.
    
    
    ExitCode 2
    Ready.

Seite 9 von 40 ErsteErste ... 789101119 ... LetzteLetzte

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  

Labornetzteil AliExpress