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 1.0k 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:

    Y 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:

      Y Offline
      Y 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
      • Y 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 🤔

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

          Y Offline
          Y 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

            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
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            28

            Online

            12.0k

            Users

            11.2k

            Topics

            113.4k

            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