Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arduino 1.6.9 cpu:mega128 collect2.exe: error: ld returned 5 exit status #8

Closed
yonsight opened this issue Jun 19, 2016 · 3 comments
Closed

Comments

@yonsight
Copy link

when select atmega128 in arduino 1.6.9, return collect2.exe: error: ld returned 5 exit status
but atmega64 has no error.

@MCUdude
Copy link
Owner

MCUdude commented Jun 19, 2016

Can you post the full error message please? I'm using mac, so I night have a hard time reproducing this error. Do you get this error with every sketch you've tried? And what windows version are you using?

@yonsight
Copy link
Author

Arduino:1.6.9 (Windows XP), 开发板:"ATmega128, 16MHz external (BOD 2.7v)"

D:\Program Files\arduino\arduino-builder -dump-prefs -logger=machine
-hardware "D:\Program Files\arduino\hardware" -hardware "C:\Documents
and Settings\yong\Local Settings\Application Data\Arduino15\packages"
-hardware "C:\Documents and Settings\yong\My Documents\Arduino\hardware"
-tools "D:\Program Files\arduino\tools-builder" -tools "D:\Program
Files\arduino\hardware\tools\avr" -tools "C:\Documents and
Settings\yong\Local Settings\Application Data\Arduino15\packages"
-built-in-libraries "D:\Program Files\arduino\libraries" -libraries
"C:\Documents and Settings\yong\My Documents\Arduino\libraries"
-fqbn=MegaCore:avr:128:clock=16MHz_external -ide-version=10609
-build-path
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp"
-warnings=none -prefs=build.warn_data_percentage=75 -verbose
"C:\Documents and Settings\yong\My
Documents\Arduino\sketch_jun16a\sketch_jun16a.ino"
D:\Program Files\arduino\arduino-builder -compile -logger=machine
-hardware "D:\Program Files\arduino\hardware" -hardware "C:\Documents
and Settings\yong\Local Settings\Application Data\Arduino15\packages"
-hardware "C:\Documents and Settings\yong\My Documents\Arduino\hardware"
-tools "D:\Program Files\arduino\tools-builder" -tools "D:\Program
Files\arduino\hardware\tools\avr" -tools "C:\Documents and
Settings\yong\Local Settings\Application Data\Arduino15\packages"
-built-in-libraries "D:\Program Files\arduino\libraries" -libraries
"C:\Documents and Settings\yong\My Documents\Arduino\libraries"
-fqbn=MegaCore:avr:128:clock=16MHz_external -ide-version=10609
-build-path
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp"
-warnings=none -prefs=build.warn_data_percentage=75 -verbose
"C:\Documents and Settings\yong\My
Documents\Arduino\sketch_jun16a\sketch_jun16a.ino"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
-std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
-fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega128
-DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_ATmega128
-DARDUINO_ARCH_AVR "-IC:\Documents and Settings\yong\Local
Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\sketch\sketch_jun16a.ino.cpp"
-o "nul"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
-std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
-fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega128
-DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_ATmega128
-DARDUINO_ARCH_AVR "-IC:\Documents and Settings\yong\Local
Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\sketch\sketch_jun16a.ino.cpp"
-o "nul"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
-std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
-fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega128
-DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_ATmega128
-DARDUINO_ARCH_AVR "-IC:\Documents and Settings\yong\Local
Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\sketch\sketch_jun16a.ino.cpp"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"D:\Program Files\arduino\tools-builder\ctags\5.8-arduino10/ctags" -u
--language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns
--line-directives
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
-std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
-fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L
-DARDUINO=10609 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\sketch\sketch_jun16a.ino.cpp"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\sketch\sketch_jun16a.ino.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-gcc" -c -g -x
assembler-with-cpp -mmcu=atmega128 -DF_CPU=16000000L -DARDUINO=10609
-DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR "-IC:\Documents and
Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\wiring_pulse.S"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\wiring_pulse.S.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w
-std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega128
-DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_ATmega128
-DARDUINO_ARCH_AVR "-IC:\Documents and Settings\yong\Local
Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\WInterrupts.c"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\WInterrupts.c.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w
-std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega128
-DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_ATmega128
-DARDUINO_ARCH_AVR "-IC:\Documents and Settings\yong\Local
Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\hooks.c"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\hooks.c.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w
-std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega128
-DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_ATmega128
-DARDUINO_ARCH_AVR "-IC:\Documents and Settings\yong\Local
Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\wiring.c"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\wiring.c.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w
-std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega128
-DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_ATmega128
-DARDUINO_ARCH_AVR "-IC:\Documents and Settings\yong\Local
Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\wiring_analog.c"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\wiring_analog.c.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w
-std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega128
-DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_ATmega128
-DARDUINO_ARCH_AVR "-IC:\Documents and Settings\yong\Local
Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\wiring_digital.c"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\wiring_digital.c.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w
-std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega128
-DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_ATmega128
-DARDUINO_ARCH_AVR "-IC:\Documents and Settings\yong\Local
Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\wiring_pulse.c"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\wiring_pulse.c.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w
-std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega128
-DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_ATmega128
-DARDUINO_ARCH_AVR "-IC:\Documents and Settings\yong\Local
Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\wiring_shift.c"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\wiring_shift.c.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
-std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
-fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L
-DARDUINO=10609 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\CDC.cpp"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\CDC.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
-std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
-fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L
-DARDUINO=10609 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\HardwareSerial.cpp"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\HardwareSerial.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
-std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
-fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L
-DARDUINO=10609 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\HardwareSerial0.cpp"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\HardwareSerial0.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
-std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
-fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L
-DARDUINO=10609 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\HardwareSerial1.cpp"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\HardwareSerial1.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
-std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
-fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L
-DARDUINO=10609 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\HardwareSerial2.cpp"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\HardwareSerial2.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
-std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
-fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L
-DARDUINO=10609 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\HardwareSerial3.cpp"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\HardwareSerial3.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
-std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
-fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L
-DARDUINO=10609 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\IPAddress.cpp"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\IPAddress.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
-std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
-fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L
-DARDUINO=10609 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\PluggableUSB.cpp"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\PluggableUSB.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
-std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
-fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L
-DARDUINO=10609 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\Print.cpp"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\Print.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
-std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
-fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L
-DARDUINO=10609 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\Stream.cpp"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\Stream.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
-std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
-fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L
-DARDUINO=10609 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\Tone.cpp"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\Tone.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
-std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
-fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L
-DARDUINO=10609 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\USBCore.cpp"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\USBCore.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
-std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
-fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L
-DARDUINO=10609 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\WMath.cpp"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\WMath.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
-std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
-fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L
-DARDUINO=10609 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\WString.cpp"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\WString.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
-std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
-fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L
-DARDUINO=10609 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\abi.cpp"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\abi.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
-std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
-fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L
-DARDUINO=10609 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\main.cpp"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\main.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
-std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
-fno-threadsafe-statics -MMD -mmcu=atmega128 -DF_CPU=16000000L
-DARDUINO=10609 -DARDUINO_AVR_ATmega128 -DARDUINO_ARCH_AVR
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore"
"-IC:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\variants\standard"
"C:\Documents and Settings\yong\Local Settings\Application
Data\Arduino15\packages\MegaCore\hardware\avr\1.0.1\cores\MegaCore\new.cpp"
-o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\new.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\wiring_pulse.S.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\WInterrupts.c.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\hooks.c.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\wiring.c.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\wiring_analog.c.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\wiring_digital.c.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\wiring_pulse.c.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\wiring_shift.c.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\CDC.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\HardwareSerial.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\HardwareSerial0.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\HardwareSerial1.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\HardwareSerial2.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\HardwareSerial3.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\IPAddress.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\PluggableUSB.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\Print.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\Stream.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\Tone.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\USBCore.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\WMath.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\WString.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\abi.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\main.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-ar" rcs
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\core.a"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\core\new.cpp.o"
"D:\Program Files\arduino\hardware\tools\avr/bin/avr-gcc" -w -Os
-Wl,--gc-sections -mmcu=atmega128 -o
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp/sketch_jun16a.ino.elf"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp\sketch\sketch_jun16a.ino.cpp.o"
"C:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp/core\core.a"
"-LC:\DOCUME1\yong\LOCALS1\Temp\build1717c675d58f482eb43b879989bee4a1.tmp"
-lm
collect2.exe: error: ld returned 5 exit status

exit status 1
为开发板 ATmega128 编译时出错。
在 2016-6-19 16:37, Hans 写道:

Can you post the full error message please? I'm using. Mac, so I night
have a hard time reproducing this error


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#8 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AGpziPWXSMopcCE_3618ARPe-yayUWgEks5qNP_UgaJpZM4I5Ey6.

@MCUdude
Copy link
Owner

MCUdude commented Jun 20, 2016

It seems like an IDE related issue when using Windows XP:
http://forum.arduino.cc/index.php?topic=310950.0

You should probably use a newer version of windows

@MCUdude MCUdude closed this as completed Jun 25, 2016
@MCUdude MCUdude mentioned this issue Jun 27, 2016
MCUdude added a commit that referenced this issue Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants