OpenHarmony开发者论坛
标题:
添加新的AX650N 的board,编译过程中切换到了海思hisilicon,不知道为什么
[打印本页]
作者:
xuxiyang
时间:
2024-3-26 14:00
标题:
添加新的AX650N 的board,编译过程中切换到了海思hisilicon,不知道为什么
【问题描述】
问题现象和发生的背景
添加新的AX650N 的board,编译过程中切换到了海思hisilicon,不知道为什么
相关的代码,截图,日志信息
[OHOS INFO] [0/0] WARNING:deps validation part_name: 'hdf_core', target: '//drivers/hdf_core/adapter/uhdf/manager:hdf_core', dep: '//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared' failed!!!
[OHOS INFO] [0/0] WARNING: hdf_core in target //drivers/hdf_core/adapter/uhdf/manager:hdf_core is dependency within part hdf_core, Need to used deps
[OHOS INFO] [2014/5724] ACTION //drivers/hdf_core/adapter/uhdf/posix:hdf_posix_osal__notice(//build/lite/toolchain:linux_x86_64_ohos_clang)
[OHOS INFO] [2015/5724] ACTION //drivers/hdf_core/adapter/uhdf/posix:hdf_posix_osal__check(//build/lite/toolchain:linux_x86_64_ohos_clang)
[OHOS INFO] [0/0] WARNING:deps validation part_name: 'hdf_core', target: '//drivers/hdf_core/adapter/uhdf/posix:hdf_posix_osal', dep: '//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared' failed!!!
[OHOS INFO] [2016/5724] SOLINK ./libcjson_shared.so
[OHOS INFO] [2017/5724] SOLINK ./libzlib_shared.so
[OHOS INFO] [2018/5724] ACTION //developtools/packing_tool:packing_tool(//build/lite/toolchain:linux_x86_64_ohos_clang)
[OHOS INFO] [2019/5724] ACTION //device/soc/hisilicon/common/hal/middleware:middleware_source_sdk(//build/lite/toolchain:linux_x86_64_ohos_clang)
[OHOS ERROR] [2002/5724] ACTION //device/soc/hisilicon/common/hal/media:hardware_media_sdk(//build/lite/toolchain:linux_x86_64_ohos_clang)
[OHOS ERROR] FAILED: obj/device/soc/hisilicon/common/hal/media/hardware_media_sdk_build_ext_components.txt
[OHOS ERROR] /home/young/OpenHarmony_new/prebuilts/python/linux-x86/current//bin/python3 ../../../build/lite/build_ext_components.py --path=../../../device/soc/hisilicon/common/hal/media --command=./build.sh\ /home/young/OpenHarmony_new/out/AX650N_Demo/AX650N_Demo\ AX650N_Demo\ linux\ clang\ emmc --target_dir=/home/young/OpenHarmony_new/out/AX650N_Demo/AX650N_Demo/obj/device/soc/hisilicon/common/hal/media/build.log --out_dir=/home/young/OpenHarmony_new/out/AX650N_Demo/AX650N_Demo/error.log
[OHOS ERROR] cp: cannot stat '/home/young/OpenHarmony_new/device/soc/hisilicon/common/hal/media/audio/AX650N_Demo/linux_small/libs/libaudio_hw.so': No such file or directory
[OHOS ERROR] Traceback (most recent call last):
[OHOS ERROR] File "/home/young/OpenHarmony_new/build/hb/services/ninja.py", line 49, in _execute_ninja_cmd
[OHOS ERROR] SystemUtil.exec_command(
[OHOS ERROR] File "/home/young/OpenHarmony_new/build/hb/util/system_util.py", line 63, in exec_command
[OHOS ERROR] raise OHOSException(
[OHOS ERROR] exceptions.ohos_exception.OHOSException: Please check build log in /home/young/OpenHarmony_new/out/AX650N_Demo/AX650N_Demo/build.log
[OHOS ERROR]
[OHOS ERROR] During handling of the above exception, another exception occurred:
[OHOS ERROR]
[OHOS ERROR] Traceback (most recent call last):
[OHOS ERROR] File "/home/young/OpenHarmony_new/build/hb/containers/status.py", line 47, in wrapper
[OHOS ERROR] return func(*args, **kwargs)
[OHOS ERROR] File "/home/young/OpenHarmony_new/build/hb/modules/ohos_build_module.py", line 67, in run
[OHOS ERROR] raise exception
[OHOS ERROR] File "/home/young/OpenHarmony_new/build/hb/modules/ohos_build_module.py", line 65, in run
[OHOS ERROR] super().run()
[OHOS ERROR] File "/home/young/OpenHarmony_new/build/hb/modules/interface/build_module_interface.py", line 72, in run
[OHOS ERROR] raise exception
[OHOS ERROR] File "/home/young/OpenHarmony_new/build/hb/modules/interface/build_module_interface.py", line 70, in run
[OHOS ERROR] self._target_compilation()
[OHOS ERROR] File "/home/young/OpenHarmony_new/build/hb/modules/ohos_build_module.py", line 103, in _target_compilation
[OHOS ERROR] self.target_compiler.run()
[OHOS ERROR] File "/home/young/OpenHarmony_new/build/hb/services/ninja.py", line 38, in run
[OHOS ERROR] self._execute_ninja_cmd()
[OHOS ERROR] File "/home/young/OpenHarmony_new/build/hb/services/ninja.py", line 52, in _execute_ninja_cmd
[OHOS ERROR] raise OHOSException('ninja phase failed', '4000')
[OHOS ERROR] exceptions.ohos_exception.OHOSException: ninja phase failed
我尝试过的解决方法和结果
我想要达到的结果
【运行环境】
硬件:
ROM版本:
DevEvoStudio版本:
SDK版本:
作者:
shixiaocheng
时间:
2024-3-26 17:08
你的device/board/xxx应该是改的hisilicon吧,把这个仓重新修改下
作者:
shixiaocheng
时间:
2024-3-26 17:10
你的device/board/xxx仓用的是hisilicon改过来的吧,修改下试试
欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/)
Powered by Discuz! X3.5