Downloading and installing the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By dustXman
#72358 I am new to this Forum! Hi everyone!

I just set up Arduino IDE + esp6288 on my Win10-machine and was already able to flash a LED-blink program and simple HTTP-Server test to my Sonoff Basic.
I am now trying to compile arendst/Sonoff-Tasmota from github and am getting a linker error (see below).

As the Sonoff-Tasmota is using far more libraries than the minimal examples I compiled and flashed before - I guess it has to do with that. Any ideas?

Code: Select allC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/lib\libsmartconfig.a(sc_sniffer.o):(.text.smartconfig_stop+0x2c): undefined reference to `espconn_delete'

C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/lib\libsmartconfig.a(sc_sniffer.o):(.text.smartconfig_stop+0x61): undefined reference to `espconn_delete'

C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/lib\libsmartconfig.a(sc_sniffer.o): In function `smartconfig_stop':

(.text.smartconfig_stop+0x104): undefined reference to `espconn_delete'

C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/lib\libsmartconfig.a(sc_airkiss.o):(.text.KISS_Send_udp+0x8): undefined reference to `espconn_sent'

C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/lib\libsmartconfig.a(sc_airkiss.o):(.text.KISS_Send_udp+0x79): undefined reference to `espconn_sent'

C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/lib\libsmartconfig.a(sc_airkiss.o):(.text.KISS_Udp_send_cb+0x3a): undefined reference to `espconn_delete'

C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/lib\libsmartconfig.a(sc_airkiss.o):(.text.KISS_Answer+0x14): undefined reference to `espconn_port'

C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/lib\libsmartconfig.a(sc_airkiss.o):(.text.KISS_Answer+0x18): undefined reference to `espconn_regist_sentcb'

C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/lib\libsmartconfig.a(sc_airkiss.o):(.text.KISS_Answer+0x1c): undefined reference to `espconn_create'

C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/lib\libsmartconfig.a(sc_airkiss.o):(.text.KISS_Answer+0x7d): undefined reference to `espconn_port'

C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/lib\libsmartconfig.a(sc_airkiss.o):(.text.KISS_Answer+0xa8): undefined reference to `espconn_regist_sentcb'

C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/lib\libsmartconfig.a(sc_airkiss.o):(.text.KISS_Answer+0xb0): undefined reference to `espconn_create'

C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/lib\libsmartconfig.a(sc_esptouch.o):(.text.TOUCH_Send_platform+0x85): undefined reference to `espconn_sent'

C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/lib\libsmartconfig.a(sc_esptouch.o):(.text.TOUCH_udp_send_cb+0x6a): undefined reference to `espconn_delete'

C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/lib\libsmartconfig.a(sc_esptouch.o):(.text.TOUCH_Send_ACK+0x14): undefined reference to `espconn_regist_recvcb'

C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/lib\libsmartconfig.a(sc_esptouch.o):(.text.TOUCH_Send_ACK+0x52): undefined reference to `espconn_port'

C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/lib\libsmartconfig.a(sc_esptouch.o):(.text.TOUCH_Send_ACK+0x7d): undefined reference to `espconn_regist_sentcb'

C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/lib\libsmartconfig.a(sc_esptouch.o):(.text.TOUCH_Send_ACK+0x89): undefined reference to `espconn_regist_recvcb'

C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/lib\libsmartconfig.a(sc_esptouch.o):(.text.TOUCH_Send_ACK+0x92): undefined reference to `espconn_create'

collect2.exe: error: ld returned 1 exit status

exit status 1
Fehler beim Kompilieren für das Board Generic ESP8266 Module.
User avatar
By dustXman
#72424 Hi there,

I solved it by reinstalling everything!
I strictly followed this instruction this time:
Arendst-Wiki and esp8266-Wiki

For the last one I recognized that the part "Using Git Version" is alternatively - last time I tried both :roll: so that might be the issue.
I also can't remember that I followed the step of copying the library-folders.

No everything is good - have a great Weekend ;)