[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