ESP8266 NONOS SDK基礎(chǔ)上編寫程序:
1茸炒、編譯時(shí)愕乎,出現(xiàn)錯(cuò)誤:
../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)重新建立此工程,再次編譯就成功了壁公。原因不知感论。