You may be aware that ESPRESSIF have released a new update to their SDK which now stands at version 1.5
I’ll be interested to hear what experience other folks have of this.. On compiling my normal home control code which has worked without modification since version 1.0 I got this..
c:/Espressif/ESP8266_SDK/lib\libwpa.a(wpa_auth.o): In function `wpa_receive':
(.irom0.text+0x9a0): undefined reference to `aes_wrap'
c:/Espressif/ESP8266_SDK/lib\libwpa.a(wpa_auth.o): In function `__wpa_send_eapol':
(.irom0.text+0xd73): undefined reference to `aes_wrap'
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe: *** [build/app.out] Error 1
and in the update info from Espressif they say ….
User application needs to add "-lcrypto" in 'LINKFLAGS_eagle.app.v6" area of Makefile.
Well I don’t have one of those in my Make file.
Not a good start, what? But there is a simple solution (not quite what it said on the Espressif forum) - see the comments!