Hallo m.a.r.v.i.n
Habe dein makefile.txt in die cpp Config copiert und vorher meinen Phad
Code:
LIBPATH = C:/ASURO271/Asuro_libv271/lib
angepasst.
Danach ein neues Projekt angelegt TestFirstTry.aprj.
und die Test.c aus
Code:
C:\Asuro271\asuro_libv271\examples\FirstTry
in das Projekt TestFirstTry.aprj eingebunden.
Nach dem Compelieren bekomme ich:
Code:
Session Environment Variables:
AF_AVRDIR=C:\WinAVR-20071221
AF_PROJECT=TestFirstTry
AF_SOURCE_FILES=FirstTry\test.c
AF_ASM_SRC_FILES=
AF_PRGDIR=C:\Programme\AsuroFlash2
File test.c saved.
Default make_all.cmd file created.
Default makefile created.
Make
C:\Programme\AsuroFlash2>C:\WinAVR-20071221\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:\Programme\AsuroFlash2/include -IC:/ASURO271/Asuro_libv271/lib/inc asuro.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > asuro.d; \
[ -s asuro.d ] || rm -f asuro.d
set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=FirstTry\test.lst -IC:\Programme\AsuroFlash2/include -IC:/ASURO271/Asuro_libv271/lib/inc FirstTry\test.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > FirstTry\test.d; \
[ -s FirstTry\test.d ] || rm -f FirstTry\test.d
avr-gcc.exe: FirstTrytest.c: No such file or directory
avr-gcc.exe: no input files
set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=FirstTry\test.lst -IC:\Programme\AsuroFlash2/include -IC:/ASURO271/Asuro_libv271/lib/inc FirstTry\test.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > FirstTry\test.d; \
[ -s FirstTry\test.d ] || rm -f FirstTry\test.d
avr-gcc.exe: FirstTrytest.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=asuro.lst -IC:\Programme\AsuroFlash2/include -IC:/ASURO271/Asuro_libv271/lib/inc asuro.c -o asuro.o
In file included from asuro.h:34,
from asuro.c:29:
c:/winavr-20071221/bin/../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>."
avr-gcc -c -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=FirstTry\test.lst -IC:\Programme\AsuroFlash2/include -IC:/ASURO271/Asuro_libv271/lib/inc FirstTry\test.c -o FirstTry\test.o
In file included from ./asuro.h:34,
from FirstTry\test.c:9:
c:/winavr-20071221/bin/../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>."
avr-gcc -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=FirstTry\test.o -IC:\Programme\AsuroFlash2/include -IC:/ASURO271/Asuro_libv271/lib/inc FirstTry\test.o asuro.o --output TestFirstTry.elf -Wl,-Map=TestFirstTry.map,--cref -IC:\Programme\AsuroFlash2/lib -L -lm -lasuro
c:/winavr-20071221/bin/../lib/gcc/avr/4.2.2/../../../../avr/bin/ld.exe: cannot find -lasuro
make: *** [TestFirstTry.elf] Error 1
ExitCode 2
Ready.
Habe ich noch etwas vergessen??
Gruß
Juelicher
Lesezeichen