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. Gateway on RPi zero config.h:39: first defined here

Gateway on RPi zero config.h:39: first defined here

Scheduled Pinned Locked Moved Troubleshooting
2 Posts 1 Posters 27 Views 1 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.
  • OldSurferDudeO Offline
    OldSurferDudeO Offline
    OldSurferDude
    wrote on last edited by
    #1

    I'm building a gateway on an RPi zero. First I got a complaint about stropts.h which was fixed by creating an empty file of that name in the MySensors/core directory.

    Now I'm getting:

    /usr/bin/ld: build/examples_linux/mysgw.o:/home/appian3344/MySensors/./hal/architecture/Linux/drivers/core/config.h:39: multiple definition of `conf'; build/hal/architecture/Linux/drivers/core/config.o:/home/appian3344/MySensors/hal/architecture/Linux/drivers/core/config.h:39: first defined here
    

    I found a post that stated that the poster fixed, but not how it was fixed. Does someone know the trick?

    OSD

    OldSurferDudeO 1 Reply Last reply
    0
    • OldSurferDudeO OldSurferDude

      I'm building a gateway on an RPi zero. First I got a complaint about stropts.h which was fixed by creating an empty file of that name in the MySensors/core directory.

      Now I'm getting:

      /usr/bin/ld: build/examples_linux/mysgw.o:/home/appian3344/MySensors/./hal/architecture/Linux/drivers/core/config.h:39: multiple definition of `conf'; build/hal/architecture/Linux/drivers/core/config.o:/home/appian3344/MySensors/hal/architecture/Linux/drivers/core/config.h:39: first defined here
      

      I found a post that stated that the poster fixed, but not how it was fixed. Does someone know the trick?

      OSD

      OldSurferDudeO Offline
      OldSurferDudeO Offline
      OldSurferDude
      wrote on last edited by OldSurferDude
      #2

      I found the answer here.

      In config.c two lines have to be added and in config.h, one line is modified and two added

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


      18

      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