ESP8266 Debug

ESP8266 NONOS SDK基础上编写程序:

1、编译时,出现错误:

../lib/libwpa.a(wpa_auth.o): In function `wpa_receive':

(.irom0.text+0x9a0): undefined reference to `aes_wrap'

../lib/libwpa.a(wpa_auth.o): In function `__wpa_send_eapol':

(.irom0.text+0xd73): undefined reference to `aes_wrap'

collect2: error: ld returned 1 exit status

解决方法:(1)检查工程下的app文件夹下的Makefile文件里面:LINKFLAGS_eagle.app.v6 = \ 中是否添加了-lcrypto \

(2)重新建立此工程,再次编译就成功了。原因不知。

你可能感兴趣的:(ESP8266 Debug)