Welcome! Log In Create A New Profile

Advanced

Compile error

Posted by Rhartl 
Compile error
November 27, 2019 01:30PM
I am using Arduino 1.8.9 and an old 1.1.9 copy (unzipped 2/24/2019) of Marlin. When I try to confirm that the original Marlin file will compile I am getting the following error:

sketch\temperature.cpp: In function 'updateTemperaturesFromRawValues':

sketch\temperature.cpp:1048:1: internal compiler error: Segmentation fault

}

^

Please submit a full bug report,

with preprocessed source if appropriate.

See [gcc.gnu.org] for instructions.

lto-wrapper.exe: fatal error: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-gcc returned 1 exit status

compilation terminated.

c:/program files/windowsapps/arduinollc.arduinoide_1.8.21.0_x86__mdqgnx93n4wtt/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: error: lto-wrapper failed

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.


What do I do now? Thanks in advance.
VDX
Re: Compile error
November 27, 2019 01:43PM
... with this "Segmentation fault" error I'm deleting or changing comment lines and try to recompile, until it works -- this error is "sporadic" and I have no clue otherwise eye rolling smiley


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: Compile error
November 27, 2019 06:55PM
Delete the Arduino IDE app, its is broken.

use the installer or the zip version

Windows Installer
Windows ZIP file for non admin install
VDX
Re: Compile error
November 28, 2019 03:18AM
... I have the same error with different ZIP-IDE's on two different PC's - so it seems to be a more complex cause confused smiley


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: Compile error
December 01, 2019 04:17PM
Okay so I did that installed Arduino from zip file. Now running 1.8.10. New compiler error:

In file included from sketch\HAL.h:33:0,

from sketch\MarlinConfig.h:39,

from sketch\G26_Mesh_Validation_Tool.cpp:27:

fastio.h:56:4: error: #error "No FastIO definition for the selected AVR Board."

#error "No FastIO definition for the selected AVR Board."

^

In file included from sketch\HAL.h:33:0,

from sketch\MarlinConfig.h:39,

from sketch\G26_Mesh_Validation_Tool.cpp:27:

fastio.h:313:4: error: #error "unknown CPU"

#error "unknown CPU"

^

In file included from sketch\MarlinConfig.h:39:0,

from sketch\G26_Mesh_Validation_Tool.cpp:27:

HAL.h:37:24: error: util/delay.h: No such file or directory

#include

^

compilation terminated.

exit status 1
#error "No FastIO definition for the selected AVR Board."


?????
Re: Compile error
December 01, 2019 05:14PM
Could you upload your configuration.h file?


http://www.marinusdebeer.nl/
Re: Compile error
December 01, 2019 11:25PM
Here it is...
Attachments:
open | download - Configuration.h (69.9 KB)
Re: Compile error
December 01, 2019 11:28PM
Here is the configuration file.....
Attachments:
open | download - Configuration.h (69.9 KB)
Sorry, only registered users may post in this forum.

Click here to login