Csdk 编译报ssl 没有参照的错
ReCsdk 编译报ssl 没有参照的错
我也遇到同样的问题,
../../build_out/libaliot_sdk.a(aliot_net.o): In function `read_ssl':
/home/zzh/work/aliot_sdk_v1.0.1_release/src/utility/aliot_net.c:59: undefined reference to `aliot_platform_ssl_read'
../../build_out/libaliot_sdk.a(aliot_net.o): In function `write_ssl':
/home/zzh/work/aliot_sdk_v1.0.1_release/src/utility/aliot_net.c:69: undefined reference to `aliot_platform_ssl_write'
../../build_out/libaliot_sdk.a(aliot_net.o): In function `disconnect_ssl':
/home/zzh/work/aliot_sdk_v1.0.1_release/src/utility/aliot_net.c:79: undefined reference to `aliot_platform_ssl_destroy'
../../build_out/libaliot_sdk.a(aliot_net.o): In function `connect_ssl':
/home/zzh/work/aliot_sdk_v1.0.1_release/src/utility/aliot_net.c:92: undefined reference to `aliot_platform_ssl_establish'
collect2: ld returned 1 exit status
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/zzh/work/aliot_sdk_v1.0.1_release/sample/mqtt'
make: *** [sample] Error 2
赞0
踩0