0

By compiling using sdk v1.5 i got following error.Any idea how to resolve it?

mingw32-make.exe -f C:/Users/abc/worksorg/mesh/Makefile all
AR build/app_app.a
LD build/app.out
c:/Espressif/ESP8266_SDK/lib\libmain.a(app_main.o): In function `user_uart_wait_tx_fifo_empty':
(.irom0.text+0x5c4): undefined reference to `user_init'
c:/Espressif/ESP8266_SDK/lib\libmain.a(app_main.o): In function `user_rf_pre_init':
(.irom0.text+0x85a): undefined reference to `user_init'
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
C:/Users/abc/worksorg/mesh/Makefile:187: recipe for target 'build/app.out' failed
mingw32-make.exe: *** [build/app.out] Error 1
1

Add the crypto library to your build, Makefile or whereever your IDE expects it.

--> http://bbs.espressif.com/viewtopic.php?f=46&t=1442

1
  • Now another error.Though I already included user_rf_pre_init. AR build/app_app.a LD build/app.out c:/Espressif/ESP8266_SDK/lib\libmain.a(app_main.o): In function user_uart_wait_tx_fifo_empty': (.irom0.text+0x5c4): undefined reference to user_init' c:/Espressif/ESP8266_SDK/lib\libmain.a(app_main.o): In function user_rf_pre_init': (.irom0.text+0x85a): undefined reference to user_init' collect2.exe: error: ld returned 1 exit status C:/Users/abc/worksorg/meshnetwork/Makefile:187: recipe for target 'build/app.out' failed mingw32-make.exe: *** [build/app.out] Error 1 Dec 4 '15 at 10:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.