espressif / esp8266-rtos-sample-code

Other
129 stars 86 forks source link

undefined reference to `espconn_send' #1

Open stayliv3 opened 8 years ago

stayliv3 commented 8 years ago

compile with the latest rtos SDK

error message

LD release/udp_client/udp_client.o:(.text.UdpRecvCb+0x10): undefined reference to espconn_send' release/udp_client/udp_client.o: In functionUdpRecvCb': /media/sf_security/iot/esp8266/firmware/udpdemo/udp_client/udp_client.c:304: undefined reference to espconn_send' release/udp_client/udp_client.o: In functiont1Callback': /media/sf_security/iot/esp8266/firmware/udpdemo/udp_client/udp_client.c:304: undefined reference to espconn_send' release/udp_client/udp_client.o:(.text.udpClient+0x30): undefined reference toespconn_regist_recvcb' release/udp_client/udp_client.o:(.text.udpClient+0x34): undefined reference to espconn_regist_sentcb' release/udp_client/udp_client.o:(.text.udpClient+0x38): undefined reference toespconn_create' release/udp_client/udp_client.o: In function udpClient': /media/sf_security/iot/esp8266/firmware/udpdemo/udp_client/udp_client.c:330: undefined reference toespconn_regist_recvcb' /media/sf_security/iot/esp8266/firmware/udpdemo/udp_client/udp_client.c:330: undefined reference to espconn_regist_sentcb' /media/sf_security/iot/esp8266/firmware/udpdemo/udp_client/udp_client.c:332: undefined reference toespconn_create' collect2: error: ld returned 1 exit status Makefile:50: recipe for target 'eagle.app.v6.1.out' failed make: *\ [eagle.app.v6.1.out] Error 1

FayeY commented 7 years ago

How about now? https://github.com/espressif/ESP8266_RTOS_SDK