avr-qq 发表于 2011-5-21 13:52:32

能否排除 Error 126,AVR Studio 4.15 Build 623,WINAVR 20060125

本来想用 ATXmega 32A4 但是找不到AVRONE!,只能用回 ATmega64。

我用的是 AVR Studio 4.15 Build 623,WINAVR 20060125 版
这次刚建立一个project,程序什么也没有写,就一个main()。我想试试看就编译了一下(F7)就出错 Error 126,见====下面的复制。 看了一下觉得错在 .lss 文件,就在configuation options 中设置不要产生 lss 文件,马上就没有错了。再还原,错误也回来。但是我就想看看那个那个文件。不知道 应该怎么弄才能得到正确的结果。

盼路人出手相助,在此先谢过



=========================================================================================
rm -rf MS-Test.oMS-Test.elf dep/* MS-Test.hex MS-Test.eep MS-Test.map
Build succeeded with 0 Warnings...
avr-gcc-mmcu=atmega64 -Wall -gdwarf-2 -std=gnu99 -Os -fsigned-char -MD -MP -MT MS-Test.o -MF dep/MS-Test.o.d-c../MS-Test.c
avr-gcc -mmcu=atmega64 -Wl,-Map=MS-Test.map MS-Test.o   -o MS-Test.elf
avr-objcopy -O ihex -R .eeprom -R .fuse -R .lock -R .signatureMS-Test.elf MS-Test.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 --no-change-warnings -O ihex MS-Test.elf MS-Test.eep || exit 0
/usr/bin/sh: /c/WinAVR/bin/avr-objcopy: Invalid argument
avr-objdump -h -S MS-Test.elf > MS-Test.lss
/usr/bin/sh: /c/WinAVR/bin/avr-objdump: Invalid argument
make: *** Error 126
Build failed with 1 errors and 0 warnings...

jiangshaoyatui 发表于 2014-10-13 23:38:36

同样问题遇到有高手解答一下不?
页: [1]
查看完整版本: 能否排除 Error 126,AVR Studio 4.15 Build 623,WINAVR 20060125