• Lv1
    粉丝0

积分0 / 贡献0

提问3答案被采纳0文章0

作者动态

基于鸿蒙4.1南向开发编译出现问题

SunllCodeW 显示全部楼层 发表于 4 天前

【问题描述】

[OHOS ERROR] [43/63] ACTION //device/soc/hisilicon/hi3861v100/sdk_liteos:run_wifiiot_scons(//build/lite/toolchain:riscv32-unknown-elf) [OHOS ERROR] FAILED: obj/device/soc/hisilicon/hi3861v100/sdk_liteos/run_wifiiot_scons_build_ext_components.txt [OHOS ERROR] /usr/bin/python3 ../../../build/lite/build_ext_components.py --path=../../../device/soc/hisilicon/hi3861v100/sdk_liteos --command=sh\ hm_build.sh\ /home/student/Documents/test4/OpenHarmony-v4.1-Release/OpenHarmony/out/hispark_pegasus/wifiiot_hispark_pegasus\ linux --target_dir=/home/student/Documents/test4/OpenHarmony-v4.1-Release/OpenHarmony/out/hispark_pegasus/wifiiot_hispark_pegasus/obj/device/soc/hisilicon/hi3861v100/sdk_liteos/build.log --out_dir=/home/student/Documents/test4/OpenHarmony-v4.1-Release/OpenHarmony/out/hispark_pegasus/wifiiot_hispark_pegasus/error.log

[OHOS ERROR] Traceback (most recent call last): [OHOS ERROR] File "/home/student/Documents/test4/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/containers/status.py", line 47, in wrapper [OHOS ERROR] return func(*args, **kwargs) [OHOS ERROR] File "/home/student/Documents/test4/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/modules/ohos_build_module.py", line 67, in run [OHOS ERROR] raise exception [OHOS ERROR] File "/home/student/Documents/test4/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/modules/ohos_build_module.py", line 65, in run [OHOS ERROR] super().run() [OHOS ERROR] File "/home/student/Documents/test4/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/modules/interface/build_module_interface.py", line 72, in run [OHOS ERROR] raise exception [OHOS ERROR] File "/home/student/Documents/test4/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/modules/interface/build_module_interface.py", line 70, in run [OHOS ERROR] self._target_compilation() [OHOS ERROR] File "/home/student/Documents/test4/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/modules/ohos_build_module.py", line 103, in _target_compilation [OHOS ERROR] self.target_compiler.run() [OHOS ERROR] File "/home/student/Documents/test4/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/services/ninja.py", line 38, in run [OHOS ERROR] self._execute_ninja_cmd() [OHOS ERROR] File "/home/student/Documents/test4/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/services/ninja.py", line 69, in _execute_ninja_cmd [OHOS ERROR] SystemUtil.exec_command( [OHOS ERROR] File "/home/student/Documents/test4/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/util/system_util.py", line 64, in exec_command [OHOS ERROR] LogUtil.get_failed_log(log_path) [OHOS ERROR] File "/home/student/Documents/test4/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/util/log_util.py", line 193, in get_failed_log [OHOS ERROR] LogUtil.get_compiler_failed_log(log_path) [OHOS ERROR] File "/home/student/Documents/test4/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/util/log_util.py", line 180, in get_compiler_failed_log [OHOS ERROR] raise OHOSException( [OHOS ERROR] exceptions.ohos_exception.OHOSException: COMPILE Failed! Please check error in /home/student/Documents/test4/OpenHarmony-v4.1-Release/OpenHarmony/out/hispark_pegasus/wifiiot_hispark_pegasus/error.log, and for more build information in /home/student/Documents/test4/OpenHarmony-v4.1-Release/OpenHarmony/out/hispark_pegasus/wifiiot_hispark_pegasus/build.log [OHOS ERROR]

[OHOS ERROR] Code: 4000 [OHOS ERROR] [OHOS ERROR] Reason: COMPILE Failed! Please check error in /home/student/Documents/test4/OpenHarmony-v4.1-Release/OpenHarmony/out/hispark_pegasus/wifiiot_hispark_pegasus/error.log, and for more build information in /home/student/Documents/test4/OpenHarmony-v4.1-Release/OpenHarmony/out/hispark_pegasus/wifiiot_hispark_pegasus/build.log [OHOS ERROR] [OHOS ERROR] Error Type: Ninja build error [OHOS ERROR] [OHOS ERROR] Description: An unknown error occurred while executing 'ninja -C'. [OHOS ERROR] [OHOS ERROR] Solution: no solution [OHOS ERROR] scons: *** [out/hispark_pegasus/wifiiot_hispark_pegasus/Hi3861_wifiiot_app.out] Error -1

【运行环境】

硬件: ROM版本:hi3861

您尚未登录,无法参与评论,登录后可以:
参与开源共建问题交流
认同或收藏高质量问答
获取积分成为开源共建先驱

Copyright   ©2025  OpenHarmony开发者论坛  京ICP备2020036654号-3 | 京公网安备11030102011662号 |技术支持 Discuz!

返回顶部