全部建议
>
建议详情
- 预审中
- 2 预审通过
- 3 已采纳
- 4 已实现
【产品缺陷】obs c sdk 源代码支持编译 android 系统下可以使用的 so 依赖库 预审通过 编辑 删除
- 对象存储服务 OBS
- 存储
场景描述:我们需要基于 obs c sdk 源代码编译出 android 9 系统下可以使用的 so 依赖库,我们从 github 拉取了 master 分支最新的代码,看到 obs c sdk 源代码中有编译脚本:build_ndk_aarch64,这说明 obs c sdk 本身是支持 android ndk 编译的,只是近期没有更新维护编译脚本了,导致执行编译时会报错。
建议方案:请 obs 团队支持修复下编译脚本 build_ndk_aarch64 编译时报错的 Bug。
yd_238565151
发布于 2025-05-22 20:29:50
2025-05-22
118 18
0%
0%
取消
发表
0/1000
+ 插入图片0/4
仅支持JPG、JPEG、PNG、GIF,数量不超过4张且每张大小不超过2MB
0%
0%
删除建议
全部评论(18)
评论(18)
非常感谢您的反馈,您的建议和诉求已经收到,并已提交至相关产品团队进行核查评估,评估完成后对于建议是否采纳会尽快给您答复,也请您持续关注云声平台,了解反馈建议处理进展,感谢您对华为云的支持!
非常抱歉给您带来这么多不便,您的建议以及相关补充信息我们已经收到,需要您这边在云声编辑原声音填写后点击一下再次提交,目前您反馈的这个云声单是“驳回待澄清状态”,给您造成不便,敬请谅解!再次感谢您的支持与关注,期待提出更多建议!
具体报错信息参见附件图片
操作步骤:
1. 下载最新得obs c sdk源码。
2. 进入source/eSDK_OBS_API/eSDK_OBS_API_C++ 目录。
3. 执行 export SPDLOG_VERSION=spdlog-1.12.0
4. 执行bash build_ndk_aarch64.sh sdk 命令,出先编译错误。
具体参见图片。
非常抱歉给您带来这么多不便,您的建议我们已经收到,需要您这边在云声提供对应的详细操作步骤,问题描述,报错截图或者日志等点击一下再次提交,目前您反馈的这个云声单是“驳回待澄清状态”,给您造成不便,敬请谅解!再次感谢您的支持与关注,期待提出更多建议!
cp: cannot stat './../../../build/script/Provider/build/ndk-aarch64/openssl-1.1.1d/lib/*': No such file or directory
cp: cannot stat './../../../build/script/Provider/build/ndk-aarch64/pcre-8.39/lib/*': No such file or directory
cp: cannot stat './../../../build/script/Provider/build/ndk-aarch64/iconv-1.15/lib/*': No such file or directory
cp: cannot stat 'cert/client.crt': No such file or directory
build_ndk_aarch64.sh: line 193: aarch64-linux-android-strip: command not found
demo/
demo/demo.c
demo/demo_common.c
demo/demo_common.h
demo/Makefile
demo/object_test.c
demo/server.jks
include/
lib/
lib/OBS.ini
readme.txt
rm: cannot remove '/eSDK_LogAPI_*.tar': No such file or directory
rm: cannot remove '/mnt/d/wuzhaoyun/code/huawei_obs_sdk/huaweicloud-sdk-c-obs-master/source/eSDK_OBS_API/eSDK_OBS_API_C++/../../../build/script/Provider/esdk-obs-c-third-lib.tar': No such file or directory
cp: cannot stat 'build/include/*': No such file or directory
cp: cannot stat 'build/lib/*.so': No such file or directory
cp: cannot stat './../../../platform/huaweisecurec/include/*': No such file or directory
cp: cannot stat './../../../platform/huaweisecurec/lib/libsecurec.so': No such file or directory
cp: cannot stat './../../../platform/eSDK_LogAPI_V2.1.10/C/ndk-aarch64/libeSDKLogAPI.so': No such file or directory
cp: cannot stat './../../../build/script/Provider/build/ndk-aarch64/curl-7.66.0/lib/*': No such file or directory
cp: cannot stat './../../../build/script/Provider/build/ndk-aarch64/libxml2-2.9.9/lib/*': No such file or directory
make: *** No rule to make target 'Makefile.ndk-aarch64'. Stop.
build_ndk_aarch64.sh: line 144: popd: directory stack empty
build: Cleaning
make: *** No rule to make target 'build/obj/bucket.do', needed by 'build/lib/libeSDKOBS.so'. Stop.
build_ndk_aarch64.sh: line 165: bm: command not found
build_ndk_aarch64.sh: line 166: bm: command not found
tar: option requires an argument -- 'C'
Try 'tar --help' or 'tar --usage' for more information.
tar (child): /mnt/d/wuzhaoyun/code/huawei_obs_sdk/huaweicloud-sdk-c-obs-master/source/eSDK_OBS_API/eSDK_OBS_API_C++/../../../build/script/Provider/esdk-obs-c-third-lib.tar: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
checking build system type... x86_64-unknown-linux-gnu
checking host system type... Invalid configuration `aarch64-linux-android': machine `aarch64-linux' not recognized
configure: error: /bin/bash ./config/config.sub aarch64-linux-android failed
make: *** No rule to make target 'clean'. Stop.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'uninstall'. Stop.
make: Nothing to be done for 'install'.
cp: cannot stat '/usr/local/log4cpp/lib/liblog4cpp.a': No such file or directory
../../../build/script/Provider/build_logAPI.sh: line 16: [: =: unary operator expected
configure: WARNING: unrecognized options: --with-pthreads
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/mnt/d/wuzhaoyun/code/huawei_obs_sdk/huaweicloud-sdk-c-obs-master/platform/eSDK_LogAPI_V2.1.10/log4cpp/config/missing: Unknown `--is-lightweight' option
Try `/mnt/d/wuzhaoyun/code/huawei_obs_sdk/huaweicloud-sdk-c-obs-master/platform/eSDK_LogAPI_V2.1.10/log4cpp/config/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for aarch64-linux-android-strip... no
checking for strip... strip
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
查看更多评论