Ошибка при компиляции для NodeMCU

Arduino: 1.8.13 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

c:/users/rohith/appdata/local/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.exe: warning: cannot find entry symbol app_entry; defaulting to 40100000

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pm_for_bcn_only_mode.o): in function `fpm_allow_tx':

(.irom0.text+0x19e): undefined reference to `vPortFree'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pm_for_bcn_only_mode.o): in function `fpm_close':

(.irom0.text+0x1e2): undefined reference to `pvPortZalloc'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pm_for_bcn_only_mode.o): in function `fpm_open':

(.irom0.text+0x2c0): undefined reference to `__wrap_spi_flash_read'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pm_for_bcn_only_mode.o): in function `fpm_attach':

(.irom0.text+0x307): undefined reference to `__wrap_spi_flash_read'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x3b9): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pm_for_bcn_only_mode.o): in function `fpm_do_wakeup':

(.irom0.text+0x724): undefined reference to `__wrap_spi_flash_read'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x72a): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x85f): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x909): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o): in function `pp_disable_idle_timer':

(.irom0.text+0x37a): undefined reference to `vPortFree'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o): in function `pp_enable_idle_timer':

(.irom0.text+0x3ac): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o): in function `pp_try_enable_idle_timer':

(.irom0.text+0x3dc): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o): in function `ppPeocessRxPktHdr':

(.irom0.text+0x428): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x43f): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x469): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x480): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x48f): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x4a6): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x4c0): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x50a): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x513): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x52a): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x533): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x54d): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x573): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x58a): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x6d1): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x6e8): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x780): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x790): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x7ba): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o): in function `HdlAllBuffedEb':

(.irom0.text+0x7e8): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x843): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x854): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x873): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x881): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o): in function `ppTxPkt':

(.irom0.text+0x981): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0xa11): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0xa3c): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o): in function `DefFreqCalTimerCB':

(.irom0.text+0x14fd): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x1510): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x153b): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x155f): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x1577): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x159b): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x182b): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: (.irom0.text+0x1850): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o):(.text.pp_soft_wdt_feed_local+0x10): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o):(.text.pp_soft_wdt_feed_local+0x18): undefined reference to `__wrap_system_restart_local'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o): in function `pp_soft_wdt_feed_local':

(.text.pp_soft_wdt_feed_local+0x60): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: (.text.pp_soft_wdt_feed_local+0x74): undefined reference to `__wrap_system_restart_local'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o):(.text.ppProcessTxQ+0x0): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o):(.text.ppProcessTxQ+0x12): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o):(.text.ppProcessTxQ+0x1f): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o): in function `ppProcessTxQ':

(.text.ppProcessTxQ+0x36): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: (.text.ppProcessTxQ+0x5d): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o):(.text.ppMapWaitTxq+0xf): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o):(.text.ppMapWaitTxq+0x1c): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o):(.text.ppMapWaitTxq+0x6c): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o):(.text.ppMapWaitTxq+0x8e): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o):(.text.ppMapWaitTxq+0xca): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o):(.text.ppMapWaitTxq+0xf5): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o):(.text.pp_post+0x4): undefined reference to `ets_post'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o):(.text.pp_post+0x11): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o):(.text.pp_post+0x23): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o): in function `pp_post':

(.text.pp_post+0x35): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: (.text.pp_post+0x4c): undefined reference to `ets_post'

c:/users/rohith/appdata/local/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.exe: (.text.pp_post+0x5b): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: (.text.pp_post+0x7f): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o): in function `pp_post2':

(.text.pp_post2+0x10): undefined reference to `ets_post'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o):(.text.ppCalTxop+0x22): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(pp.o): in function `ppCalTxop':

(.text.ppCalTxop+0x50): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: (.text.ppCalTxop+0x73): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(wdev.o):(.text.wDev_MacTim1Arm+0x7): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(wdev.o): in function `wDev_MacTim1Arm':

(.text.wDev_MacTim1Arm+0x54): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(wdev.o): in function `wDev_AppendRxBlocks':

(.text.wDev_AppendRxBlocks+0xa6): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: (.text.wDev_AppendRxBlocks+0x13b): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(wdev.o): in function `wDev_AppendRxAmpduLensBlocks':

(.text.wDev_AppendRxAmpduLensBlocks+0x94): undefined reference to `ets_intr_lock'

c:/users/rohith/appdata/local/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.exe: (.text.wDev_AppendRxAmpduLensBlocks+0xc5): undefined reference to `ets_intr_unlock'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(wdev.o):(.text.wDev_SnifferRxLDPC+0x4): undefined reference to `pvPortMalloc'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(wdev.o):(.text.wDev_SnifferRxLDPC+0x8): undefined reference to `vPortFree'

c:/users/rohith/appdata/local/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.exe: C:\Users\rohith\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/lib/NONOSDK22x_190703\libpp.a(wdev.o):(.text.wDev_SnifferRxLDPC+0x5c): undefined reference to `pvPortMalloc'

c:/users/rohith/appdata/local/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.exe: (.text.ets_timer_arm_new+0x13f): undefined reference to `ets_intr_unlock'

collect2.exe: error: ld returned 1 exit status

exit status 1

Error compiling for board NodeMCU 1.0 (ESP-12E Module).



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I'm getting this error whenever im trying to compile my code there were more lines in the error but i'm not uploading because website has a word limit

#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <RCSwitch.h>
BlynkTimer clocktime;


#define relay 2
#define VPIN_BUTTON_1    V12

RCSwitch mySwitch = RCSwitch();

int relaystate = HIGH;
long code;


char auth[] = "rJUG7fhgXk9Y7OlowTontA1C2irfpgs2";

const char *ssid =  "Nag";    
const char *pass =  "87654321";

BLYNK_CONNECTED()
{
  Serial.println("blynk connected first function");
  Blynk.syncVirtual(VPIN_BUTTON_1);
}

BLYNK_WRITE(VPIN_BUTTON_1)
{
  Serial.println("blynk write");
  relaystate = param.asInt();
  digitalWrite(relay, relaystate);
}


void setup()
{
  pinMode(relay, OUTPUT);
  digitalWrite(relay, HIGH);
  Serial.begin(9600);
  mySwitch.enableReceive(0);
  Serial.println("Start");
  WiFi.begin(ssid, pass);
  Serial.println("wifi config done");
  Blynk.config(auth);//, ssid, pass);
  Serial.println("Blynk config done");
}


void loop()
{

  if (WiFi.status() != WL_CONNECTED)
  {
    Serial.println("Not Connected");
    Serial.println("Without internet rf code recieving started");
    delay(500);
    if (mySwitch.available())
    {
      Serial.println("Switch available");
      code = mySwitch.getReceivedValue();
      if (mySwitch.getReceivedValue() == 8594433)
      {
        Serial.println("code matched without internet");
        relaystate = !relaystate;
        digitalWrite(relay, relaystate);
        delay(1000);
        mySwitch.resetAvailable();
      }
    }
  }
  else
  {
    Serial.println(" Connected");
    Blynk.run();
    with_internet();
  }
  clocktime.run();
}

void with_internet()
{
  Serial.println("With internet rf code recieving started");
  delay(500);
  if (mySwitch.available())
  {
    Serial.println("Switch available");
    code = mySwitch.getReceivedValue();
    if (mySwitch.getReceivedValue() == 8594433)
    {
      Serial.println("code matched with internet");
      relaystate = !relaystate;
      digitalWrite(relay, relaystate);
      Blynk.virtualWrite(VPIN_BUTTON_1, relaystate);
      delay(1000);
      mySwitch.resetAvailable();
    }
  }
}

, 👍-1

Обсуждение

В качестве основной проверки я скомпилировал пустой скетч под 64-разрядной версией Windows 10 с 64-разрядной IDE версии 1.8.13, версия 2.7.4 ядра ESP8266. Он был скомпилирован без ошибок. Можете ли вы сказать, получаете ли вы эти ошибки с помощью пустого скетча или нет?, @timemage

Я так понимаю, что вы уже решили эту проблему, так как вы перешли к вопросу, что, по-видимому, требует успешной компиляции., @timemage

Да, я повторно прошил свой микроконтроллер узла, который решил проблему, @rohithrathod banoth

Я не знаю, как это может решить ошибки компоновщика, но ладно. Если вы можете сформулировать свой собственный вопрос, который согласуется с вопросом и может быть полезен другим, это было бы хорошо. В противном случае вы можете удалить вопрос, чтобы он не плавал в системе вечно., @timemage

@timemage Но есть еще одна проблема, как вы сказали, я опубликовал еще один вопрос, можете ли вы взглянуть на него . MCU узла, похоже, не работает по какой-то причине работает с моим кодом., @rohithrathod banoth

Я видел это. Возможно, взгляну еще раз через несколько часов. Продолжайте обновлять ответ любой запрашиваемой информацией и всем, что, по вашему мнению, имеет отношение к делу. Они, вероятно, ответят на него еще до того, как я успею на него взглянуть., @timemage