Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. [SOLVED] arduino no longer compiles Gateway W5100MQTTClient

[SOLVED] arduino no longer compiles Gateway W5100MQTTClient

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 2 Posters 704 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jimmy loyens
    wrote on last edited by Yveaux
    #1

    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 :sleepy: :anguished:

    When i copy and paste the code from https://www.mysensors.org/build/mqtt_gateway everything compiles fine :dizzy_face:

    YveauxY 1 Reply Last reply
    0
    • J jimmy loyens

      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 :sleepy: :anguished:

      When i copy and paste the code from https://www.mysensors.org/build/mqtt_gateway everything compiles fine :dizzy_face:

      YveauxY Offline
      YveauxY Offline
      Yveaux
      Mod
      wrote on last edited by
      #2

      @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

      http://yveaux.blogspot.nl

      J 1 Reply Last reply
      0
      • YveauxY Yveaux

        @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

        J Offline
        J Offline
        jimmy loyens
        wrote on last edited by
        #3

        @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 🤔

        YveauxY 1 Reply Last reply
        0
        • J jimmy loyens

          @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 🤔

          YveauxY Offline
          YveauxY Offline
          Yveaux
          Mod
          wrote on last edited by
          #4

          @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.

          http://yveaux.blogspot.nl

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jimmy loyens
            wrote on last edited by
            #5

            That workaround did it, now the library example compiles. Thanks:clap: :clap: :clap:

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            28

            Online

            11.7k

            Users

            11.2k

            Topics

            113.1k

            Posts


            Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • MySensors
            • OpenHardware.io
            • Categories
            • Recent
            • Tags
            • Popular