[SOLVED] arduino no longer compiles Gateway W5100MQTTClient
-
When trying to compile the example from the mysensors library : "GatewayW5100MQTTClient" arduino throws error:
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.19.0_x86__mdqgnx93n4wtt\libraries\Ethernet\src\EthernetClient.cpp: In member function 'operator==': C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.19.0_x86__mdqgnx93n4wtt\libraries\Ethernet\src\EthernetClient.cpp:177:1: internal compiler error: Segmentation fault } ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. lto-wrapper.exe: fatal error: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.19.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-gcc returned 1 exit status compilation terminated. c:/program files/windowsapps/arduinollc.arduinoide_1.8.19.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
compiled just fine yesterday
When i copy and paste the code from https://www.mysensors.org/build/mqtt_gateway everything compiles fine
-
@jimmy-loyens said in arduino no longer compiles Gateway W5100MQTTClient:
compiled just fine yesterday
So, what changed?
Try arduino ide 1.8.8 from arduino.cc website
-
@yveaux yesterday i allso copied the code from the link (forgot). Its the same code as far as i can see. Code from link compiles, example doesnt
-
@jimmy-loyens seems that you are not alone : http://forum.arduino.cc/index.php?topic=576749.0
At the end of that thread is a workaround you can give a try.
-
That workaround did it, now the library example compiles. Thanks
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting • 27 Aug 2024, 13:20 • igo 27 Aug 2024, 13:20 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
Arduino nano and Uno in same My sensors network with NRF24L01+
Troubleshooting • 26 Jul 2024, 10:30 • DIY89 27 Aug 2024, 09:59