[solved] meaning of compiler/linker exit status 5?

I do my developments on a Win7 PC with IDE 1.6.12.

For some field tests I installed IDE 1.6.12 on an old Windows-XP laptop. The laptop is necessary to be able to do some changes in the code and to see the outputs on the Serial Monitor.

Compiling the project on the laptop results in an error:

collect2.exe: error: ld returned 5 exit status

exit status 1
Fehler beim Kompilieren für das Board Arduino/Genuino Mega or Mega 2560.

On the Win7 PC the project compiles without error.

What is the meaning of this error message?

See http://forum.arduino.cc/index.php?topic=310950

wow,
thank you very much.
I tried the following solution from the link:

I could suggest to create a Temp directory on C drive and then change TMP and TEMP system variable definition to C:\Temp.

Linkers are generally sensitive on paths content, so it is recommanded to set simpler and shorter system paths, specially on older operating systems.

Now the project compiles without error, and the program hopefully also will run ok.