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. Compiling error gdb_hooks.h

Compiling error gdb_hooks.h

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 2 Posters 480 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.
  • B Offline
    B Offline
    Bramz
    wrote on last edited by
    #1

    Re: 💬 Building a WiFi Gateway using ESP8266

    After failing to install the GatewayESP8266.ino on my Node MCU from Windows 10, I tried to install the sketch from Linux Ubuntu with MySensors library v.2.3.1 and ESP8266 Board definitions v.2.4.1 but again a compiling error shows up in Arduino IDE v.1.8.9:

    Arduino: 1.8.9 (Linux), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
    
    In file included from /home/Name/Arduino/libraries/MySensors/MySensors.h:441:0,
                     from /home/Name/Arduino/GatewayESP8266/GatewayESP8266.ino:119:
    /home/Name/Arduino/libraries/MySensors/hal/architecture/ESP8266/MyMainESP8266.cpp:33:23: fatal error: gdb_hooks.h: No such file or directory
     #include "gdb_hooks.h"
                           ^
    compilation terminated.
    exit status 1
    Error compiling for board NodeMCU 1.0 (ESP-12E Module).
    

    Anybody with a suggestion how to solve this?

    mfalkviddM 1 Reply Last reply
    0
    • B Bramz

      Re: 💬 Building a WiFi Gateway using ESP8266

      After failing to install the GatewayESP8266.ino on my Node MCU from Windows 10, I tried to install the sketch from Linux Ubuntu with MySensors library v.2.3.1 and ESP8266 Board definitions v.2.4.1 but again a compiling error shows up in Arduino IDE v.1.8.9:

      Arduino: 1.8.9 (Linux), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
      
      In file included from /home/Name/Arduino/libraries/MySensors/MySensors.h:441:0,
                       from /home/Name/Arduino/GatewayESP8266/GatewayESP8266.ino:119:
      /home/Name/Arduino/libraries/MySensors/hal/architecture/ESP8266/MyMainESP8266.cpp:33:23: fatal error: gdb_hooks.h: No such file or directory
       #include "gdb_hooks.h"
                             ^
      compilation terminated.
      exit status 1
      Error compiling for board NodeMCU 1.0 (ESP-12E Module).
      

      Anybody with a suggestion how to solve this?

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

      @bramz perhaps https://forum.mysensors.org/topic/9563/esp8266-fatal-error-gdb_hooks-h-no-such-file-or-directory-solved ?

      1 Reply Last reply
      0
      • B Offline
        B Offline
        Bramz
        wrote on last edited by
        #3

        @mfalkvidd Thanks, that solution worked and sorry I should have found that posting myself of course.

        FYI, for loading the ESP8266 Board definitions the usual URL https://arduino.esp8266.com/stable/package_esp8266com_index.json did not work for me anymore. Instead I had to use https://github.com/esp8266/Arduino/releases/download/2.4.2/package_esp8266com_index.json

        1 Reply Last reply
        1

        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


        62

        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