collect2: error: ld returned 127 exit status (Windows 7 64bit Arduino 1.6.0)

Hi,

I'm new and I tried to install Arduino 1.6.0 and compiling blink.

1) I tried the setup Version Installation without any problems. Then I tried to compile blink. Then I got the message.

collect2: error: ld returned 127 exit status
Error compiling.

2) I tried the ZIP file for non admin install Same problem.

Please, can someone help me?

Thanks

a little bit more output:

...
C:\Users\user\Tools\arduino-1.6.0-windows\arduino-1.6.0/hardware/tools/avr/bin/avr-ar rcs C:\Users\user\AppData\Local\Temp\build6581572309316480146.tmp/core.a C:\Users\user\AppData\Local\Temp\build6581572309316480146.tmp\Print.cpp.o 
C:\Users\user\Tools\arduino-1.6.0-windows\arduino-1.6.0/hardware/tools/avr/bin/avr-ar rcs C:\Users\user\AppData\Local\Temp\build6581572309316480146.tmp/core.a C:\Users\user\AppData\Local\Temp\build6581572309316480146.tmp\Stream.cpp.o 
C:\Users\user\Tools\arduino-1.6.0-windows\arduino-1.6.0/hardware/tools/avr/bin/avr-ar rcs C:\Users\user\AppData\Local\Temp\build6581572309316480146.tmp/core.a C:\Users\user\AppData\Local\Temp\build6581572309316480146.tmp\Tone.cpp.o 
C:\Users\user\Tools\arduino-1.6.0-windows\arduino-1.6.0/hardware/tools/avr/bin/avr-ar rcs C:\Users\user\AppData\Local\Temp\build6581572309316480146.tmp/core.a C:\Users\user\AppData\Local\Temp\build6581572309316480146.tmp\USBCore.cpp.o 
C:\Users\user\Tools\arduino-1.6.0-windows\arduino-1.6.0/hardware/tools/avr/bin/avr-ar rcs C:\Users\user\AppData\Local\Temp\build6581572309316480146.tmp/core.a C:\Users\user\AppData\Local\Temp\build6581572309316480146.tmp\WMath.cpp.o 
C:\Users\user\Tools\arduino-1.6.0-windows\arduino-1.6.0/hardware/tools/avr/bin/avr-ar rcs C:\Users\user\AppData\Local\Temp\build6581572309316480146.tmp/core.a C:\Users\user\AppData\Local\Temp\build6581572309316480146.tmp\WString.cpp.o 
C:\Users\user\Tools\arduino-1.6.0-windows\arduino-1.6.0/hardware/tools/avr/bin/avr-gcc -w -Os -Wl,--gc-sections,--relax -mmcu=atmega2560 -o C:\Users\user\AppData\Local\Temp\build6581572309316480146.tmp/sketch_feb10a.cpp.elf C:\Users\user\AppData\Local\Temp\build6581572309316480146.tmp\sketch_feb10a.cpp.o C:\Users\user\AppData\Local\Temp\build6581572309316480146.tmp/core.a -LC:\Users\user\AppData\Local\Temp\build6581572309316480146.tmp -lm 
collect2: error: ld returned 127 exit status
Error compiling.

Is C:\Users\user the actual folder?

Yes it is. I did not understand the problem from collect2. What does it mean, error 127?

Can you try using one of the builds from this issue and see if the error disappears? https://github.com/arduino/Arduino/pull/2568

Warning: these automated builds are NOT signed, so windows may ask you some more confirmations about running them

Hi Federico,

thanks so much. I've downloadet http://arduino.cc/download.php?f=/javaide/pull_requests/arduino-PR-2568-BUILD-156-windows.zip And it works. :-)

Thanks

Great! Hope to see that code merged and be part of the next release