-->
Page 1 of 1

Compile throws "Multiple definition of `ets_intr_lock'"

PostPosted: Wed Jan 27, 2021 2:38 am
by NardJ
When trying to compile a sketch with interrupts I get the following error:
Code: Select all/home/nard/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: core/core.a(core_esp8266_main.cpp.o): in function `ets_intr_unlock':
/home/nard/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/core_esp8266_main.cpp:162: multiple definition of `ets_intr_unlock'; sketch/cpu.cpp.o:sketch/cpu.cpp:1637: first defined here

I tried a reinstall of the Arduino IDE, but the error remains.
I am running Linux Mint and a standard Arduino IDE.

Any help is greatly appreciated!