Failed to use mDash with NodeMCU 1.0 (ESP8266)

#1

I hope it is not a newbie problem. It works with ESP32, but when I try to compile “Shadow” example with NodeMCU 1.0 board, I get the following link error:

c:/users/chris/documents/arduinodata/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\chris\Documents\Arduino\libraries\mDash\src\esp8266\libmDash.a: in function `mDashCLI':

/Users/lsm/src/cesanta.com/alib/cli.c:63: undefined reference to `recvfrom'

c:/users/chris/documents/arduinodata/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: /Users/lsm/src/cesanta.com/alib/cli.c:63: undefined reference to `sendto'

c:/users/chris/documents/arduinodata/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\chris\Documents\Arduino\libraries\mDash\src\esp8266\libmDash.a: in function `serve_dns':

/Users/lsm/src/cesanta.com/alib/cli.c:72: undefined reference to `recvfrom'

c:/users/chris/documents/arduinodata/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\chris\Documents\Arduino\libraries\mDash\src\esp8266\libmDash.a: in function `serve_dns':

/Users/lsm/src/cesanta.com/alib/dns.c:41: undefined reference to `sendto'

collect2.exe: error: ld returned 1 exit status

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

Do I miss a library? I cannot find anything on Google this time :frowning:

Thank you a lot in advance.

#2

The ESP8266 Arduino support is under development:

#3

Ok thx, since I saw ESP8266 in some screenshots, I had hopes :wink: