hi,
danke erstma für die antwort.
ich benutze das Asuroflash.exe Programm
Hier der volle Fehler Code:
Code:
Asuro Flash (Alias Eierlegendewollmilchsau) V1.4.6.56 (c) O.O. Müller 2008
User has admin rights.
Processor branding Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz, OS WINXP
Hello Hans on MONSTER, have fun :)
>Session Environment Variables:
AF_AVRDIR=C:\WinAVR
AF_PROJECT=Project1
AF_SOURCE_FILES=
AF_ASM_SRC_FILES=
AF_PRGDIR=C:\Programme\AsuroFlash
AF_PRJDIR=C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash
AF_ASURO_LIB_PATH=%AllUsersProfile%\asuro_lib\lib
>Ready.
>Session Environment Variables:
AF_AVRDIR=C:\WinAVR
AF_PROJECT=Project1
AF_SOURCE_FILES=ChDeAsuro.c
AF_ASM_SRC_FILES=
AF_PRGDIR=C:\Programme\AsuroFlash
AF_PRJDIR=C:\asuro
AF_ASURO_LIB_PATH=%AllUsersProfile%\asuro_lib\lib
File ChDeAsuro.c saved.
>Default make_all.cmd file created.
>Default makefile created.
Make
C:\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=ChDeAsuro.lst -IC:\Programme\AsuroFlash\include ChDeAsuro.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > ChDeAsuro.d; \
[ -s ChDeAsuro.d ] || rm -f ChDeAsuro.d
-------- begin --------
avr-gcc --version
avr-gcc (WinAVR 20080610) 4.3.0
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.
avr-gcc -c -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=ChDeAsuro.lst -IC:\Programme\AsuroFlash\include ChDeAsuro.c -o ChDeAsuro.o
In file included from asuro.h:34,
from ChDeAsuro.c:13:
c:/winavr/lib/gcc/../../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>."
In file included from ChDeAsuro.c:14:
follow_bib.h: In function 'setspeed':
follow_bib.h:69: warning: implicit declaration of function 'Gettime'
follow_bib.h: In function 'photosensoren_auslesen':
follow_bib.h:210: error: 'LEFT' undeclared (first use in this function)
follow_bib.h:210: error: (Each undeclared identifier is reported only once
follow_bib.h:210: error: for each function it appears in.)
follow_bib.h:211: error: 'RIGHT' undeclared (first use in this function)
follow_bib.h: In function 'countTicks':
follow_bib.h:279: warning: implicit declaration of function 'OdometryData'
ChDeAsuro.c: In function 'followline':
ChDeAsuro.c:160: error: 'LEFT' undeclared (first use in this function)
ChDeAsuro.c:162: error: 'RIGHT' undeclared (first use in this function)
ChDeAsuro.c:164: error: 'CENTER' undeclared (first use in this function)
ChDeAsuro.c:285: warning: implicit declaration of function 'PrintInt'
ChDeAsuro.c:286: warning: implicit declaration of function 'SerPrint'
ChDeAsuro.c: In function 'main':
ChDeAsuro.c:337: warning: implicit declaration of function 'Msleep'
ChDeAsuro.c:338: error: 'LEFT' undeclared (first use in this function)
ChDeAsuro.c:345: error: 'RIGHT' undeclared (first use in this function)
make: *** [ChDeAsuro.o] Error 1
ExitCode 2
ich habe das Programm von der site
http://www.informatik.fh-wiesbaden.d...downloads.html
die angegeben makefile habe ich bei Optionen in das Fenster makefle per copy&Paste auch mal eingefügt dann kommt der Fehler
Code:
Make
C:\asuro\FirstTry>C:\WinAVR\utils\bin\make.exe all
set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -I../../lib/inc -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=asuro.lst asuro.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > asuro.d; \
[ -s asuro.d ] || rm -f asuro.d
-------- begin --------
avr-gcc --version
avr-gcc (WinAVR 20080610) 4.3.0
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.
make: *** No rule to make target `ChDeAsuro.hex', needed by `all'. Stop. ExitCode 2
>Ready.
hoffe das hilft weiter für eine lösung des problems
mfg tim
Lesezeichen