【已解决】【sdk】君正T31 sdk

IPC/NVR/可视门铃等具备多媒体能力的设备,扫地机/AGV等机器人设备


Post Reply
土豆马铃薯
Posts: 72

使用君正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':
/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'
/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'
./sdk_T31/lib/libtuya_iot.a(httpc.c.o): In function
parse_keep_alive_header':
/root/workspace_temp/EmbedSDKs/ty_ipc_wr_wl_linux_sdk/ty_ipc_wr_wl_linux_sdk/sdk/mid_http/src/httpc.c:1229: undefined reference to __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
isoc99_sscanf'
/root/workspace_temp/EmbedSDKs/ty_ipc_wr_wl_linux_sdk/ty_ipc_wr_wl_linux_sdk/sdk/mid_http/src/httpc.c:1229: undefined reference to __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
isoc99_sscanf'
./sdk_T31/lib/libtuya_iot.a(uni_time.c.o): In function __get_time_zone':
/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
isoc99_sscanf'

Attachments
企业微信截图_16653677625350.png
User avatar
起个中文名
Posts: 152

Re: 君正T31 sdk【求助】

涂鸦sdk使用的是glibc编译,看您的编译记录,使用的是uclibc。请下载https://images.tuyacn.com/rms-static/07670d40-4849-11ed-9d99-a5aaf2a10702-1665371401236.zip?tyName=mips-gcc540-uclibc-64bit-r3.3.0.zip使用。

User avatar
pippin-bobo
Posts: 236

Re: 君正T31 sdk【求助】

请参考下技术问题发帖指导 “【必看】多媒体论坛技术问题发帖指导”

Post Reply