你好,我这边编译了一个基于mbedtls的 libcurl.a,链接时发现缺少以下的几个接口,请问SDK是去掉了哪些mbedtls特性呢?
这个冲突问题应该如何解决呢?
mips-linux-uclibc-g++ -Wl,-gc-sections -ffunction-sections -fdata-sections -muclibc -lrt -ldl -L/vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/dependence/PPCS/lib -L/vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/dependence/WiPN/lib -L/vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/dependence/tuya/lib -L/vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/dependence/zbar/lib -L/vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/dependence/faac/lib -L/vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/dependence/LWRsa/lib -L/vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/dependence/VoiceReg/lib -L/vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/dependence/zwpush/lib -L/vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/dependence/libcurl/lib -L/vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/dependence/libjpeg/lib -L/vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/dependence/mbedtls/lib -L/vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/dependence/ingenic/t23_sdk/lib -L/vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/dependence/ingenic/t23_personDet/IVS/lib -L/vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/dependence/ingenic/t23_personDet/MXU/lib -L/vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/Output/D2PT-46PHL-SW/lib -o /vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/src/../Output/D2PT-46PHL-SW/bin/EasyCam /vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/src/../Output/D2PT-46PHL-SW/obj/*.o -lLWRsa -ltuyaos -lzbar -lPPCS_API -lNDT_API_PPCS -lSPS_API -lcurl -lfaac -limp -lsysutils -lalog -lpersonDet_inf -ljzdl -lmxu_merge -lmxu_video -lmxu_imgproc -lmxu_core -ljpeg -lpthread -lm
/vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/dependence/tuya/lib/libtuyaos.a(tuya_ipc_ss_util.c.o): In function __change_timezone_of_file_time':
utime' is discouraged, use
tuya_ipc_ss_util.c:(.text.__change_timezone_of_file_time+0x58): warning: the use of OBSOLESCENTutimes'
tal_net_gethostbyname':
/vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/dependence/tuya/lib/libtuyaos.a(tal_network.c.o): In function
tal_network.c:(.text.tal_net_gethostbyname+0x60): warning: gethostbyname_r is obsolescent, use getnameinfo() instead.
/vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/src/../Output/D2PT-46PHL-SW/obj/HTTPClientWrapper.o: In function HTTPWrapperGetHostByName':
mbed_connect_common':
HTTPClientWrapper.c:(.text.HTTPWrapperGetHostByName+0xd4): warning: gethostbyname is obsolescent, use getnameinfo() instead.
/vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/dependence/libcurl/lib/libcurl.a(libcurl_la-mbedtls.o): In function
mbedtls.c:(.text+0x7a0): undefined reference to mbedtls_x509_crt_parse_file'
mbedtls_x509_crt_parse_path'
mbedtls.c:(.text+0x7bc): undefined reference to
mbedtls.c:(.text+0x7f8): undefined reference to mbedtls_x509_crt_parse_file'
mbedtls_pk_parse_keyfile'
mbedtls.c:(.text+0x838): undefined reference to
mbedtls.c:(.text+0xa44): undefined reference to mbedtls_x509_crl_init'
mbedtls_x509_crl_parse_file'
mbedtls.c:(.text+0xa58): undefined reference to
mbedtls.c:(.text+0xd54): undefined reference to mbedtls_net_recv'
mbedtls_net_recv'
mbedtls.c:(.text+0xd5c): undefined reference to
mbedtls.c:(.text+0xd58): undefined reference to mbedtls_net_send'
mbedtls_net_send'
mbedtls.c:(.text+0xd60): undefined reference to
/vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/dependence/libcurl/lib/libcurl.a(libcurl_la-mbedtls.o): In function Curl_mbedtls_close':
mbedtls_x509_crl_free'
mbedtls.c:(.text+0xf84): undefined reference to
/vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam/dependence/libcurl/lib/libcurl.a(libcurl_la-mbedtls.o): In function Curl_mbedtls_version':
mbedtls_version_get_number'
mbedtls.c:(.text+0x1008): undefined reference to
collect2: error: ld returned 1 exit status
Makefile:206: recipe for target 'EasyCam' failed
make[1]: *** [EasyCam] Error 1
Makefile:59: recipe for target 'app' failed
make: *** [app] Error 2
root@ubuntu:/vm_disk/Code/D2PT_Compare/09_T23N_D2PT/Cam#