安装aliyun-oss-c-sdk在make步骤出错,有人遇到过没?-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

安装aliyun-oss-c-sdk在make步骤出错,有人遇到过没?

zw.unix 2019-03-08 17:20:35 1944

Scanning dependencies of target oss_c_sdk
[ 1%] Building C object CMakeFiles/oss_c_sdk.dir/oss_c_sdk/aos_buf.o
[ 2%] Building C object CMakeFiles/oss_c_sdk.dir/oss_c_sdk/aos_crc64.o
[ 4%] Building C object CMakeFiles/oss_c_sdk.dir/oss_c_sdk/aos_fstack.o
[ 5%] Building C object CMakeFiles/oss_c_sdk.dir/oss_c_sdk/aos_http_io.o
[ 6%] Building C object CMakeFiles/oss_c_sdk.dir/oss_c_sdk/aos_log.o
[ 8%] Building C object CMakeFiles/oss_c_sdk.dir/oss_c_sdk/aos_status.o
/tmp/gpdb_need/aliyun-oss-c-sdk-3.6.0/oss_c_sdk/aos_status.c: In function ‘aos_status_parse_from_body’:
/tmp/gpdb_need/aliyun-oss-c-sdk-3.6.0/oss_c_sdk/aos_status.c:94:33: error: dereferencing pointer to incomplete type ‘mxml_node_t {aka struct _mxml_node_s}’

     node_content = code_node->child->value.opaque;
                             ^~

CMakeFiles/oss_c_sdk.dir/build.make:127: recipe for target 'CMakeFiles/oss_c_sdk.dir/oss_c_sdk/aos_status.o' failed
make[2]: * [CMakeFiles/oss_c_sdk.dir/oss_c_sdk/aos_status.o] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/oss_c_sdk.dir/all' failed
make[1]: * [CMakeFiles/oss_c_sdk.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: * [all] Error 2

分享到
取消 提交回答
全部回答(2)
添加回答
云计算
使用钉钉扫一扫加入圈子
+ 订阅

时时分享云计算技术内容,助您降低 IT 成本,提升运维效率,使您更专注于核心业务创新。

推荐文章