Ich verwende die Version 1.4.6.56. Ich habe jetzt nochmal etwas geändert und bekomme aber folgende Fehlermeldung
Code:>Session Environment Variables: AF_AVRDIR=C:\WinAVR AF_PROJECT=Project1 AF_SOURCE_FILES=test.c AF_ASM_SRC_FILES= AF_PRGDIR=C:\Programme\AsuroFlash AF_PRJDIR=C:\ASURO_SRC\programm\us AF_ASURO_LIB_PATH=C:\ASURO_SRC\AsuroLib\lib File test.c saved. >Default make_all.cmd file created. >Default makefile created. Make C:\ASURO_SRC\programm\us>C:\WinAVR\utils\bin\make.exe all set -e; avr-gcc -MM -mmcu=atmega8 -DF_CPU=8000000UL -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=i2c.lst i2c.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > i2c.d; \ [ -s i2c.d ] || rm -f i2c.d set -e; avr-gcc -MM -mmcu=atmega8 -DF_CPU=8000000UL -I. -g -Os -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 set -e; avr-gcc -MM -mmcu=atmega8 -DF_CPU=8000000UL -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.lst 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 (WinAVR 20090313) 4.3.2 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 -DF_CPU=8000000UL -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.lst test.c -o test.o test.c: In function 'read_pcf8591_adc': test.c:12: warning: passing argument 1 of 'StartI2C' makes integer from pointer without a cast test.c:18: warning: passing argument 1 of 'StartI2C' makes integer from pointer without a cast test.c: In function 'main': test.c:42: warning: passing argument 1 of 'SerWrite' makes pointer from integer without a cast avr-gcc -c -mmcu=atmega8 -DF_CPU=8000000UL -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=asuro.lst asuro.c -o asuro.o avr-gcc -c -mmcu=atmega8 -DF_CPU=8000000UL -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=i2c.lst i2c.c -o i2c.o avr-gcc -mmcu=atmega8 -DF_CPU=8000000UL -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.o test.o asuro.o i2c.o --output test.elf -Wl,-Map=test.map,--cref -L../../lib -lm -lasuro c:/winavr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: cannot find -lasuro make: *** [test.elf] Error 1 ExitCode 2 >Ready.







Zitieren

Lesezeichen