Can't compile arduino ISP on IDE 1.6.8

I have tried to compile the Arduino ISP with IDE 1.6.8 I get: "collect2.exe: error: ld Returned 5 exit status" and "Error compiling board for Arduino / Genuino Uno" I do not know how to solve it. I kompilertat uploaded "blink" without problems. Does anyone know how I can solve this?

Post the entire error message.

I sent this tree posts! @codelink Arduino:1.6.8 (Windows XP), Kort:"Arduino/Genuino Uno"

C:\Program\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program\Arduino\hardware" -hardware "C:\Documents and Settings\Mikael\Lokala inställningar\Application Data\Arduino15\packages" -tools "C:\Program\Arduino\tools-builder" -tools "C:\Program\Arduino\hardware\tools\avr" -tools "C:\Documents and Settings\Mikael\Lokala inställningar\Application Data\Arduino15\packages" -built-in-libraries "C:\Program\Arduino\libraries" -libraries "C:\Documents and Settings\Mikael\Mina dokument\Arduino\libraries" -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10608 -build-path "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Program\Arduino\examples\11.ArduinoISP\ArduinoISP\ArduinoISP.ino" C:\Program\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program\Arduino\hardware" -hardware "C:\Documents and Settings\Mikael\Lokala inställningar\Application Data\Arduino15\packages" -tools "C:\Program\Arduino\tools-builder" -tools "C:\Program\Arduino\hardware\tools\avr" -tools "C:\Documents and Settings\Mikael\Lokala inställningar\Application Data\Arduino15\packages" -built-in-libraries "C:\Program\Arduino\libraries" -libraries "C:\Documents and Settings\Mikael\Mina dokument\Arduino\libraries" -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10608 -build-path "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Program\Arduino\examples\11.ArduinoISP\ArduinoISP\ArduinoISP.ino" "C:\Program\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=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program\Arduino\hardware\arduino\avr\variants\standard" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\sketch\ArduinoISP.ino.cpp" -o "nul" "C:\Program\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=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\sketch\ArduinoISP.ino.cpp" -o "nul" "C:\Program\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=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Program\Arduino\hardware\arduino\avr\libraries\SPI\src\SPI.cpp" -o "nul" "C:\Program\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=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\sketch\ArduinoISP.ino.cpp" -o "nul" "C:\Program\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=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\sketch\ArduinoISP.ino.cpp" -o "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\preproc\ctags_target_for_gcc_minus_e.cpp" "C:\Program\Arduino\tools-builder\ctags\5.8-arduino10/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\preproc\ctags_target_for_gcc_minus_e.cpp" "C:\Program\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=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\sketch\ArduinoISP.ino.cpp" -o "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\sketch\ArduinoISP.ino.cpp.o" Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\libraries\SPI\SPI.cpp.o "C:\Program\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -x assembler-with-cpp -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program\Arduino\hardware\arduino\avr\variants\standard" "C:\Program\Arduino\hardware\arduino\avr\cores\arduino\wiring_pulse.S" -o "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\wiring_pulse.S.o"

Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\WInterrupts.c.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\hooks.c.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\wiring.c.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\wiring_analog.c.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\wiring_digital.c.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\wiring_pulse.c.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\wiring_shift.c.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\CDC.cpp.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\HardwareSerial.cpp.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\HardwareSerial0.cpp.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\HardwareSerial1.cpp.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\HardwareSerial2.cpp.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\HardwareSerial3.cpp.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\IPAddress.cpp.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\PluggableUSB.cpp.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\Print.cpp.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\Stream.cpp.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\Tone.cpp.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\USBCore.cpp.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\WMath.cpp.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\WString.cpp.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\abi.cpp.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\main.cpp.o Using previously compiled file: C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\new.cpp.o "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\wiring_pulse.S.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\WInterrupts.c.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\hooks.c.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\wiring.c.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\wiring_analog.c.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\wiring_digital.c.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\wiring_pulse.c.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\wiring_shift.c.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\CDC.cpp.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\HardwareSerial.cpp.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\HardwareSerial0.cpp.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\HardwareSerial1.cpp.o"

"C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\HardwareSerial2.cpp.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\HardwareSerial3.cpp.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\IPAddress.cpp.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\PluggableUSB.cpp.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\Print.cpp.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\Stream.cpp.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\Tone.cpp.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\USBCore.cpp.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\WMath.cpp.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\WString.cpp.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\abi.cpp.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\main.cpp.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-ar" rcs "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\core.a" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\core\new.cpp.o" "C:\Program\Arduino\hardware\tools\avr/bin/avr-gcc" -w -Os -Wl,--gc-sections -mmcu=atmega328p -o "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp/ArduinoISP.ino.elf" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\sketch\ArduinoISP.ino.cpp.o" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp\libraries\SPI\SPI.cpp.o" "C:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp/core\core.a" "-LC:\DOCUME~1\Mikael\LOKALA~1\Temp\buildaae8e2c2ef633d834961602ebfdfbde4.tmp" -lm collect2.exe: error: ld returned 5 exit status

Using library SPI at version 1.0 in folder: C:\Program\Arduino\hardware\arduino\avr\libraries\SPI exit status 1 Error compiling for board Arduino/Genuino Uno.

The error happens when using Windows XP with the newer versions of the IDE. Either use an older IDE version or upgrade your OS.

There are other hacks for fixing it, https://forum.arduino.cc/index.php?topic=310950.0

Thank you codlink for the information, if I uppgrade to Windows Vista can I use IDE 1.6.8. then?

@codlink I tried to change id.exe from IDE 1.0.5 to 1.6.8. After that I can compile the "arduino isp" with no error. Thank you very much.