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



  • 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


    Log in to reply
     


  • 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


Log in to reply
 

2 out of 2

Suggested Topics


  • Announcements   24 Mar 2014, 20:12

    3

  • Troubleshooting   18 Mar 2025, 18:36

    12

  • Troubleshooting   3 Mar 2025, 01:00

    13

  • Troubleshooting   8 Mar 2025, 19:47

    1

  • Troubleshooting   3 Sept 2024, 08:58

    2

  • Troubleshooting   29 Aug 2024, 20:47

    6

14
Online

11.5k
Users

11.1k
Topics

112.8k
Posts