【已处理】【已转贴】Rockchip_rk3308_TuyaOS-3.5.2 中使用tls组件编译如下报错
/home/kylin/Desktop/mg_tuya_gw/software/TuyaOS/output/moorgen_plc_gw_1.0.0/.objs/./src/mg_ssl_con_host.c.o:在函数‘mg_ssl_con_init’中:
/home/kylin/Desktop/mg_tuya_gw/software/TuyaOS/apps/moorgen_plc_gw/src/mg_ssl_con_host.c:91:对‘mbedtls_net_init’未定义的引用
/home/kylin/Desktop/mg_tuya_gw/software/TuyaOS/apps/moorgen_plc_gw/src/mg_ssl_con_host.c:104:对‘mbedtls_net_connect’未定义的引用
/home/kylin/Desktop/mg_tuya_gw/software/TuyaOS/apps/moorgen_plc_gw/src/mg_ssl_con_host.c:138:对‘mbedtls_net_recv’未定义的引用
/home/kylin/Desktop/mg_tuya_gw/software/TuyaOS/apps/moorgen_plc_gw/src/mg_ssl_con_host.c:138:对‘mbedtls_net_recv’未定义的引用
/home/kylin/Desktop/mg_tuya_gw/software/TuyaOS/apps/moorgen_plc_gw/src/mg_ssl_con_host.c:138:对‘mbedtls_net_send’未定义的引用
/home/kylin/Desktop/mg_tuya_gw/software/TuyaOS/apps/moorgen_plc_gw/src/mg_ssl_con_host.c:138:对‘mbedtls_net_send’未定义的引用
/home/kylin/Desktop/mg_tuya_gw/software/TuyaOS/apps/moorgen_plc_gw/src/mg_ssl_con_host.c:141:对‘mbedtls_net_free’未定义的引用
makefile中添加头文件路劲:
USER_INC_BASE_DIR += $(shell find $(ROOT_DIR)/include -name "*include" -type d | grep include/)
问题:为啥找不到这几个函数啊?