hi leute,
ich hatte genau die gleiche Fehlermeldung bei der GoTurn() funktion.
also hab ich die grad neuste Version installiert (WinAVR-20080610). Hab XP Home.Die Fehlermeldung:
C:\WinAVR\bin\..\lib\gcc\avr\3.4.6\..\..\..\..\avr \bin\ld.exe: BFD 2.16.1 + coff-avr-patch (20050630) internal error, aborting at ../../binutils-2.16.1/bfd/reloc.c line 444 in bfd_get_reloc_size
C:\WinAVR\bin\..\lib\gcc\avr\3.4.6\..\..\..\..\avr \bin\ld.exe: Please report this bug.
Wäre nett wenn ich da noch Hilfe kriegen würde XD
Danach schien alles gut zu sein. Die Fehlermeldung war verschwunden. Doch wenn ich jetzt das make-file aufruf kommt
bei dem Quellcode:
die "Fehlermeldung":Code:#include "asuro.h" int main(void) { GoTurn (200, 0, 150); while (1); return 0; }
Dann drück ich unter Tools auf ""Stop Tools", und dann hängt sich das an den obrigen Text an:Code:> "N:\ASURO\ASURO_src\FirstTry\make-all.bat" N:\ASURO\ASURO_src\FirstTry>make clean -------- begin -------- rm -f test.hex rm -f test.eep rm -f test.obj rm -f test.cof rm -f test.elf rm -f test.map rm -f test.obj rm -f test.a90 rm -f test.sym rm -f test.lnk rm -f test.lss rm -f test.o asuro.o rm -f test.lst asuro.lst rm -f test.s asuro.s rm -f test.d asuro.d Errors: none -------- end -------- N:\ASURO\ASURO_src\FirstTry>make MCU=atmega8 LIBFILE=asuro set -e; avr-gcc -MM -mmcu=atmega8 -DF_CPU=8000000UL -I. -g -Os -IN:/ASURO/ASURO_src/AsuroLib/lib/inc -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=N:/ASURO/ASURO_src/AsuroLib/lib/asuro.lst N:/ASURO/ASURO_src/AsuroLib/lib/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 -IN:/ASURO/ASURO_src/AsuroLib/lib/inc -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 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 -DF_CPU=8000000UL -I. -g -Os -IN:/ASURO/ASURO_src/AsuroLib/lib/inc -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.lst test.c -o test.o avr-gcc -c -mmcu=atmega8 -DF_CPU=8000000UL -I. -g -Os -IN:/ASURO/ASURO_src/AsuroLib/lib/inc -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=N:/ASURO/ASURO_src/AsuroLib/lib/asuro.lst N:/ASURO/ASURO_src/AsuroLib/lib/asuro.c -o asuro.o avr-gcc -mmcu=atmega8 -DF_CPU=8000000UL -I. -g -Os -IN:/ASURO/ASURO_src/AsuroLib/lib/inc -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.o test.o asuro.o --output test.elf -Wl,-Map=test.map,--cref -LN:/ASURO/ASURO_src/AsuroLib/lib -lm -lasuro avr-objcopy -O ihex -R .eeprom test.elf test.hex avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" \ --change-section-lma .eeprom=0 -O ihex test.elf test.eep e:\Programme\APPS\Asuro_Editor\WinAVR-20080610\bin\avr-objcopy.exe: --change-section-lma .eeprom=0x00000000 never used avr-objdump -h -S test.elf > test.lss Size after: test.elf : section size addr .text 1544 0 .bss 22 8388704 .debug_aranges 224 0 .debug_pubnames 508 0 .debug_info 2263 0 .debug_abbrev 1298 0 .debug_line 1982 0 .debug_frame 432 0 .debug_str 718 0 .debug_loc 553 0 Total 9544 Errors: none -------- end -------- N:\ASURO\ASURO_src\FirstTry>pause Drcken Sie eine beliebige Taste . . .
Code:> Forcefully terminating process... > Process Exit Code: 1 > Time Taken: 00:48
Wenn ich die .hex dann flashe (Flashen funtzt), macht mein Asuro gar nichts. Ich hab die Lib AsuroLib-v280rc1 und eigentlich alles richtig eingerichet.
Kann mir jemand helfen?
Gruss,
Niralus







Zitieren

Lesezeichen