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
-
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 out of 2
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting • 26 days ago • bocalexandru 25 days ago -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 26 Feb 2025, 00:32 • dpcons 26 Feb 2025, 06:22 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
NODs stop responding, but ping works.
Troubleshooting • 8 Mar 2025, 19:47 • Marcin 8 Mar 2025, 19:47