Sysprogs forums › Forums › VisualGDB › Error calling Static library
- This topic has 1 reply, 2 voices, and was last updated 7 years, 1 month ago by support.
-
AuthorPosts
-
November 9, 2017 at 14:09 #12921Yuex.SParticipant
Hello, I was in the development of the call Static library will be directly wrong, and you do the BSP have a relationship?
Library address is
http://iot.weixin.qq.com/wiki/libs/wxcloud_lib_3.1.0.26342/wxcloud_espressif_esp8266_xtensa_lx3_ Xtensa-lx106-elf-ccf1cfd2_3.1.0.26342.zip
I used the chip is ESP8266
Error getting version informationSystem_get_sdk_version ()
Hello, I was in the development of the call Static library will be directly wrong, and you do the BSP have a relationship?
Library address is
http://iot.weixin.qq.com/wiki/libs/wxcloud_lib_3.1.0.26342/wxcloud_espressif_esp8266_xtensa_lx3_ Xtensa-lx106-elf-ccf1cfd2_3.1.0.26342.zip
I used the chip is ESP8266
Error getting version informationSystem_get_sdk_version ()
1>C:\SysGCC\esp8266\esp8266-bsp\IoT-SDK\lib\libwxcloud.a(airkiss_longlink.o) : error : undefined reference to airkiss_tcp_disconnect' 1>C:/SysGCC/esp8266/esp8266-bsp/IoT-SDK/lib/libwxcloud.a(airkiss_longlink.o): In function _handle_disconnect': 1>airkiss_longlink.c : error : undefined reference to airkiss_printfImp' 1>airkiss_longlink.c : error : undefined reference to airkiss_tcp_disconnect' 1>C:/SysGCC/esp8266/esp8266-bsp/IoT-SDK/lib/libwxcloud.a(airkiss_longlink.o): In function _airkiss_longlink_send': 1>airkiss_longlink.c : error : undefined reference to airkiss_printfImp' 1>airkiss_longlink.c : error : undefined reference to airkiss_tcp_recv' 1>airkiss_longlink.c : error : undefined reference to airkiss_dns_gethost' 1>airkiss_longlink.c : error : undefined reference to airkiss_tcp_socket_create' 1>airkiss_longlink.c : error : undefined reference to airkiss_tcp_checkstate' 1>airkiss_longlink.c : error : undefined reference to airkiss_dns_checkstate' 1>airkiss_longlink.c : error : undefined reference to airkiss_tcp_connect' 1>airkiss_longlink.c : error : undefined reference to airkiss_tcp_send' 1>airkiss_longlink.c : error : undefined reference to airkiss_tcp_recv' 1>airkiss_longlink.c : error : undefined reference to airkiss_printfImp' 1>airkiss_longlink.c : error : undefined reference to airkiss_gettime_ms' 1>airkiss_longlink.c : error : undefined reference to airkiss_printfImp' 1>C:/SysGCC/esp8266/esp8266-bsp/IoT-SDK/lib/libwxcloud.a(airkiss_longlink.o): In function _airkiss_longlingk_loop': 1>airkiss_longlink.c : error : undefined reference to airkiss_gettime_ms' 1>airkiss_longlink.c : error : undefined reference to airkiss_printfImp' 1>airkiss_longlink.c : error : undefined reference to airkiss_printfImp' 1>airkiss_longlink.c : error : undefined reference to airkiss_dns_gethost' 1>airkiss_longlink.c : error : undefined reference to airkiss_tcp_socket_create' 1>airkiss_longlink.c : error : undefined reference to airkiss_printfImp' 1>airkiss_longlink.c : error : undefined reference to airkiss_printfImp' 1>airkiss_longlink.c : error : undefined reference to airkiss_tcp_checkstate' 1>airkiss_longlink.c : error : undefined reference to airkiss_tcp_disconnect' 1>airkiss_longlink.c : error : undefined reference to airkiss_dns_checkstate' 1>airkiss_longlink.c : error : undefined reference to airkiss_printfImp' 1>airkiss_longlink.c : error : undefined reference to airkiss_printfImp' 1>airkiss_longlink.c : error : undefined reference to airkiss_tcp_connect' 1>airkiss_longlink.c : error : undefined reference to airkiss_tcp_send' 1>airkiss_longlink.c : error : undefined reference to airkiss_printfImp' 1>airkiss_longlink.c : error : undefined reference to airkiss_printfImp' 1>airkiss_longlink.c : error : undefined reference to airkiss_gettime_ms' 1>airkiss_longlink.c : error : undefined reference to airkiss_printfImp' 1>airkiss_longlink.c : error : undefined reference to airkiss_printfImp' 1>C:\SysGCC\esp8266\esp8266-bsp\IoT-SDK\lib\libwxcloud.a(airkiss_core.o) : error : undefined reference to airkiss_printfImp' 1>C:\SysGCC\esp8266\esp8266-bsp\IoT-SDK\lib\libwxcloud.a(airkiss_core.o) : error : undefined reference to airkiss_printfImp' 1>C:/SysGCC/esp8266/esp8266-bsp/IoT-SDK/lib/libwxcloud.a(airkiss_core.o): In function airkiss_cloud_init': 1>airkiss_core.c : error : undefined reference to airkiss_printfImp' 1>C:/SysGCC/esp8266/esp8266-bsp/IoT-SDK/lib/libwxcloud.a(airkiss_core.o):airkiss_core.c:(.irom0.text+0x16b): more undefined references to airkiss_printfImp' follow 1>C:/SysGCC/esp8266/esp8266-bsp/IoT-SDK/lib/libwxcloud.a(airkiss_core.o): In function airkiss_cloud_init': 1>airkiss_core.c : error : undefined reference to airkiss_gettime_ms' 1>airkiss_core.c : error : undefined reference to airkiss_gettime_ms' 1>airkiss_core.c : error : undefined reference to airkiss_printfImp' 1>airkiss_core.c : error : undefined reference to airkiss_printfImp' 1>airkiss_core.c : error : undefined reference to airkiss_printfImp' 1>C:/SysGCC/esp8266/esp8266-bsp/IoT-SDK/lib/libwxcloud.a(airkiss_core.o): In function airkiss_cloud_loop': 1>airkiss_core.c : error : undefined reference to airkiss_printfImp' 1>airkiss_core.c : error : undefined reference to airkiss_printfImp' 1>C:/SysGCC/esp8266/esp8266-bsp/IoT-SDK/lib/libwxcloud.a(airkiss_core.o):airkiss_core.c:(.irom0.text+0x3f2): more undefined references to airkiss_printfImp' follow 1>C:/SysGCC/esp8266/esp8266-bsp/IoT-SDK/lib/libwxcloud.a(airkiss_account.o): In function _airkiss_setvenderid': 1>airkiss_account.c : error : undefined reference to airkiss_gettime_ms' 1>C:/SysGCC/esp8266/esp8266-bsp/IoT-SDK/lib/libwxcloud.a(airkiss_account.o): In function _airkiss_get_sessionkey': 1>airkiss_account.c : error : undefined reference to airkiss_printfImp' 1>C:/SysGCC/esp8266/esp8266-bsp/IoT-SDK/lib/libwxcloud.a(airkiss_taskmanager.o): In function _airkiss_start_task': 1>airkiss_taskmanager.c : error : undefined reference to airkiss_printfImp' 1>airkiss_taskmanager.c : error : undefined reference to airkiss_printfImp' 1>airkiss_taskmanager.c : error : undefined reference to airkiss_printfImp' 1>airkiss_taskmanager.c : error : undefined reference to airkiss_printfImp' 1>C:/SysGCC/esp8266/esp8266-bsp/IoT-SDK/lib/libwxcloud.a(airkiss_taskmanager.o):airkiss_taskmanager.c:(.irom0.text+0x208): more undefined references to airkiss_printfImp' follow 1>C:/SysGCC/esp8266/esp8266-bsp/IoT-SDK/lib/libwxcloud.a(airkiss_taskmanager.o): In function _airkiss_task_response_handle': 1>airkiss_taskmanager.c : error : undefined reference to airkiss_gettime_ms' 1>airkiss_taskmanager.c : error : undefined reference to airkiss_printfImp' 1>airkiss_taskmanager.c : error : undefined reference to airkiss_printfImp' 1>airkiss_taskmanager.c : error : undefined reference to airkiss_printfImp' 1>airkiss_taskmanager.c : error : undefined reference to airkiss_gettime_ms' 1>airkiss_taskmanager.c : error : undefined reference to airkiss_printfImp' 1>airkiss_taskmanager.c : error : undefined reference to airkiss_printfImp' 1>airkiss_taskmanager.c : error : undefined reference to airkiss_printfImp' 1>C:/SysGCC/esp8266/esp8266-bsp/IoT-SDK/lib/libwxcloud.a(airkiss_taskmanager.o): In function _airkiss_taskmanager_loop': 1>airkiss_taskmanager.c : error : undefined reference to airkiss_gettime_ms' 1>airkiss_taskmanager.c : error : undefined reference to airkiss_printfImp' 1>airkiss_taskmanager.c : error : undefined reference to airkiss_printfImp' 1>C:\SysGCC\esp8266\esp8266-bsp\IoT-SDK\lib\libwxcloud.a(airkiss_autoauth.o) : error : undefined reference to airkiss_printfImp' 1>C:/SysGCC/esp8266/esp8266-bsp/IoT-SDK/lib/libwxcloud.a(airkiss_autoauth.o): In function _airkiss_autoauth_loop': 1>airkiss_autoauth.c : error : undefined reference to airkiss_printfImp' 1>airkiss_autoauth.c : error : undefined reference to airkiss_printfImp' 1>C:/SysGCC/esp8266/esp8266-bsp/IoT-SDK/lib/libwxcloud.a(airkiss_autoauth.o):airkiss_autoauth.c:(.irom0.text+0x117): more undefined references to airkiss_printfImp' follow 1>collect2.exe : error : ld returned 1 exit status
November 9, 2017 at 18:14 #12929supportKeymasterLooks like the project is missing references to libraries or sources defining a few functions (like airkiss_printfImp). We would advise searching the SDK and your external libraries for definitions of those functions (not just declarations in .h files) and including the corresponding libraries.
-
AuthorPosts
- You must be logged in to reply to this topic.