Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling for ESP8266 #62

Open
tichachm opened this issue Jul 20, 2021 · 5 comments
Open

Error compiling for ESP8266 #62

tichachm opened this issue Jul 20, 2021 · 5 comments

Comments

@tichachm
Copy link

Hi,

I try to use this library with ESP 8266 Board under Arduino IDE.

ESPiLight: 1.7.0
ESP8266 (NodeMCU1.0): 3.0.1

In addition to my own I tested the example receive sketch, same problem here.

Keeps getting this error since I switched to ESP lib version 3.0.0:
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\rev_v3.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\rsl366.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/rsl366.h:24: multiple definition of rsl366'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/rsl366.h:24: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\rsl366.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\sc2262.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/sc2262.h:24: multiple definition of sc2262'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/sc2262.h:24: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\sc2262.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\secudo_smoke.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/secudo_smoke.h:24: multiple definition of secudo_smoke'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/secudo_smoke.h:24: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\secudo_smoke.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\selectremote.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/selectremote.h:24: multiple definition of selectremote'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/selectremote.h:24: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\selectremote.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\silvercrest.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/silvercrest.h:24: multiple definition of silvercrest'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/silvercrest.h:24: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\silvercrest.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\smartwares_switch.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/smartwares_switch.h:14: multiple definition of smartwares_switch'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/smartwares_switch.h:14: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\smartwares_switch.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\tcm.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/tcm.h:24: multiple definition of tcm'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/tcm.h:24: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\tcm.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\techlico_switch.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/techlico_switch.h:24: multiple definition of techlico_switch'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/techlico_switch.h:24: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\techlico_switch.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\teknihall.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/teknihall.h:24: multiple definition of teknihall'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/teknihall.h:24: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\teknihall.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\tfa.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/tfa.h:24: multiple definition of tfa'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/tfa.h:24: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\tfa.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\tfa2017.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/tfa2017.h:14: multiple definition of tfa2017'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/tfa2017.h:14: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\tfa2017.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\tfa30.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/tfa30.h:24: multiple definition of tfa30'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/tfa30.h:24: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\tfa30.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\x10.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/x10.h:24: multiple definition of x10'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/x10.h:24: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\x10.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
collect2.exe: error: ld returned 1 exit status`

Thank you

@h2zero
Copy link

h2zero commented Aug 7, 2021

Any luck resolving this? We have the same problem when updating the 8266 framework to 3.1.0 in platformio.

@tichachm
Copy link
Author

tichachm commented Aug 8, 2021

No, I am just using ESP lib < 3.0.0 to compile my pilight sketch

1technophile added a commit to 1technophile/OpenMQTTGateway that referenced this issue Aug 10, 2021
1technophile added a commit to 1technophile/OpenMQTTGateway that referenced this issue Aug 10, 2021
* Update boards platforms

* Keep ESP8266 platform to 2.6.3
waiting for puuu/ESPiLight#62 to be corrected
1technophile added a commit to 1technophile/OpenMQTTGateway that referenced this issue Oct 27, 2021
@EricG78
Copy link

EricG78 commented Jan 11, 2022

In Arduino IDE, with ESP8266 3.0.2 environment, the link errors disappeared after:

  1. Commenting the line #include "protocol_header.h" in the file protocols.c
  2. Commenting the line #include "../../core/dso.h" in all the c files in 433.92 directory (for instance with the command sed -i -e '/dso\.h/s/^/\/\//' *.c

@davidfurey
Copy link

I think this is an issue with piilight rather than ESPiLight. I've opened pilight/pilight#469 which should fix the upstream issue

@yxmnas
Copy link

yxmnas commented May 5, 2023

With ESP8266 3.1.2 I used the modified version of pilight (pilight/pilight@20800cc) and commented the dso-line as suggested by EricG78 with Notepad++.

Micha10 pushed a commit to Micha10/ESPiLight that referenced this issue Jun 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants