使用君正T31 sdk(版本为mips-gcc540-glibc222-64bit-r3.3.0 5.4.0 5.3.26) 编译网络摄像机ipc,链接报错。
错误打印如下:
./sdk_T31/lib/libtuya_iot.a(uf_file.c.o): In function stat':
xstat'
/root/workspace_temp/EmbedSDKs/ty_ipc_wr_wl_linux_sdk/ty_ipc_wr_wl_linux_sdk/platforms/mips-gcc540-glibc222-64bit-r3.3.0/toolchain/mips-gcc540-glibc222-64bit-r3.3.0/mips-linux-gnu/libc/usr/include/sys/stat.h:454: undefined reference to
/root/workspace_temp/EmbedSDKs/ty_ipc_wr_wl_linux_sdk/ty_ipc_wr_wl_linux_sdk/platforms/mips-gcc540-glibc222-64bit-r3.3.0/toolchain/mips-gcc540-glibc222-64bit-r3.3.0/mips-linux-gnu/libc/usr/include/sys/stat.h:454: undefined reference to __xstat'
parse_keep_alive_header':
./sdk_T31/lib/libtuya_iot.a(httpc.c.o): In function
/root/workspace_temp/EmbedSDKs/ty_ipc_wr_wl_linux_sdk/ty_ipc_wr_wl_linux_sdk/sdk/mid_http/src/httpc.c undefined reference to __isoc99_sscanf'
isoc99_sscanf'
/root/workspace_temp/EmbedSDKs/ty_ipc_wr_wl_linux_sdk/ty_ipc_wr_wl_linux_sdk/sdk/mid_http/src/httpc.c:1244: undefined reference to
/root/workspace_temp/EmbedSDKs/ty_ipc_wr_wl_linux_sdk/ty_ipc_wr_wl_linux_sdk/sdk/mid_http/src/httpc.c undefined reference to __isoc99_sscanf'
isoc99_sscanf'
/root/workspace_temp/EmbedSDKs/ty_ipc_wr_wl_linux_sdk/ty_ipc_wr_wl_linux_sdk/sdk/mid_http/src/httpc.c:1244: undefined reference to
./sdk_T31/lib/libtuya_iot.a(uni_time.c.o): In function __get_time_zone':
isoc99_sscanf'
/root/workspace_temp/EmbedSDKs/ty_ipc_wr_wl_linux_sdk/ty_ipc_wr_wl_linux_sdk/sdk/base_utilities/src/uni_time.c:673: undefined reference to