[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 statuscompiled just fine yesterday :sleepy: :anguished:
When i copy and paste the code from https://www.mysensors.org/build/mqtt_gateway everything compiles fine :dizzy_face:
-
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 statuscompiled just fine yesterday :sleepy: :anguished:
When i copy and paste the code from https://www.mysensors.org/build/mqtt_gateway everything compiles fine :dizzy_face:
@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
-
@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 🤔
-
@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:clap: :clap: :clap:
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login