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. Error compiling on new w10 and arduino edi 1.8.10

Error compiling on new w10 and arduino edi 1.8.10

Scheduled Pinned Locked Moved Troubleshooting
2 Posts 2 Posters 272 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.
  • keldandorinK Offline
    keldandorinK Offline
    keldandorin
    wrote on last edited by
    #1

    Hi,
    I hade to reinstall my w10 due to ssd failure.
    When I try to compile for my NodeMcu Gateway I do get this error and a bunch more
    c:/users/hakan/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\hakan\AppData\Local\Temp\arduino_cache_125707\core\core_46d12f6909850cbe5ddce9c28f2b9770.a(core_esp8266_main.cpp.o):C:\Users\hakan\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.0\cores\esp8266/core_esp8266_main.cpp:55: multiple definition of `g_pcont'; sketch\NodeMcuGW2.ino.cpp.o:D:\Arduino\ScetchBooks\libraries\MySensors-development/hal/architecture/ESP8266/MyMainESP8266.cpp:52: first defined here

    c:/users/hakan/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\hakan\AppData\Local\Temp\arduino_cache_125707\core\core_46d12f6909850cbe5ddce9c28f2b9770.a(core_esp8266_main.cpp.o): in function `esp_yield':

    C:\Users\hakan\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.0\cores\esp8266/core_esp8266_main.cpp:103: multiple definition of `esp_yield'; sketch\NodeMcuGW2.ino.cpp.o:D:\Arduino\ScetchBooks\libraries\MySensors-development/hal/architecture/ESP8266/MyMainESP8266.cpp:88: first defined here

    c:/users/hakan/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\hakan\AppData\Local\Temp\arduino_cache_125707\core\core_46d12f6909850cbe5ddce9c28f2b9770.a(core_esp8266_main.cpp.o): in function `esp_schedule':.

    Also get this error
    Multiple libraries were found for "MySensors.h"
    Used: D:\Arduino\ScetchBooks\libraries\MySensors-development
    Multiple libraries were found for "SPI.h"
    Used: C:\Users\hakan\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.0\libraries\SPI
    C:\Users\hakan\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.0\cores\esp8266/core_esp8266_main.cpp:111: multiple definition of `esp_schedule'; sketch\NodeMcuGW2.ino.cpp.o:D:\Arduino\ScetchBooks\libraries\MySensors-development/hal/architecture/ESP8266/MyMainESP8266.cpp:96: first defined here

    Used the example file for an 8266 GW
    Installed Arduino EDI 1.8.10 and tried both installing the MySensors through library and downloading zip file from git with same result

    Any ideas what to do to fix this?
    //Håkan

    mfalkviddM 1 Reply Last reply
    0
    • keldandorinK keldandorin

      Hi,
      I hade to reinstall my w10 due to ssd failure.
      When I try to compile for my NodeMcu Gateway I do get this error and a bunch more
      c:/users/hakan/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\hakan\AppData\Local\Temp\arduino_cache_125707\core\core_46d12f6909850cbe5ddce9c28f2b9770.a(core_esp8266_main.cpp.o):C:\Users\hakan\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.0\cores\esp8266/core_esp8266_main.cpp:55: multiple definition of `g_pcont'; sketch\NodeMcuGW2.ino.cpp.o:D:\Arduino\ScetchBooks\libraries\MySensors-development/hal/architecture/ESP8266/MyMainESP8266.cpp:52: first defined here

      c:/users/hakan/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\hakan\AppData\Local\Temp\arduino_cache_125707\core\core_46d12f6909850cbe5ddce9c28f2b9770.a(core_esp8266_main.cpp.o): in function `esp_yield':

      C:\Users\hakan\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.0\cores\esp8266/core_esp8266_main.cpp:103: multiple definition of `esp_yield'; sketch\NodeMcuGW2.ino.cpp.o:D:\Arduino\ScetchBooks\libraries\MySensors-development/hal/architecture/ESP8266/MyMainESP8266.cpp:88: first defined here

      c:/users/hakan/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\hakan\AppData\Local\Temp\arduino_cache_125707\core\core_46d12f6909850cbe5ddce9c28f2b9770.a(core_esp8266_main.cpp.o): in function `esp_schedule':.

      Also get this error
      Multiple libraries were found for "MySensors.h"
      Used: D:\Arduino\ScetchBooks\libraries\MySensors-development
      Multiple libraries were found for "SPI.h"
      Used: C:\Users\hakan\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.0\libraries\SPI
      C:\Users\hakan\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.0\cores\esp8266/core_esp8266_main.cpp:111: multiple definition of `esp_schedule'; sketch\NodeMcuGW2.ino.cpp.o:D:\Arduino\ScetchBooks\libraries\MySensors-development/hal/architecture/ESP8266/MyMainESP8266.cpp:96: first defined here

      Used the example file for an 8266 GW
      Installed Arduino EDI 1.8.10 and tried both installing the MySensors through library and downloading zip file from git with same result

      Any ideas what to do to fix this?
      //Håkan

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      @keldandorin You'll need to install the development version of MySensors, or downgrade the esp board definitions. See https://forum.mysensors.org/post/92176 for more details.

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


      27

      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