Page 1 of 1

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

Posted: 2022年 Oct 10日 10:10
by 土豆马铃薯

使用君正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'


Re: 君正T31 sdk【求助】

Posted: 2022年 Oct 10日 11:11
by 起个中文名

涂鸦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使用。


Re: 君正T31 sdk【求助】

Posted: 2022年 Oct 10日 14:56
by pippin-bobo

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