• Lv0
    粉丝1

积分7 / 贡献0

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

作者动态

mips架构移植openharmony3.2.4系统hb编译报错ipc:ipc_single

holden-huang 显示全部楼层 发表于 2024-4-11 16:44:37

nobody:OpenHarmony-v3.2.4-Release/OpenHarmony$ hb build [OHOS INFO] Set cache size limit to 100.0 GB [OHOS INFO] root_out_dir=//out/x2000/halley5_zhdgps [OHOS INFO] root_build_dir=//out/x2000/halley5_zhdgps [OHOS INFO] root_gen_dir=//out/x2000/halley5_zhdgps/gen [OHOS INFO] current_toolchain=//build/lite/toolchain:mips-linux-gnu-gcc [OHOS INFO] host_toolchain=//build/toolchain/linux:clang_x64 [OHOS INFO] [OHOS INFO] args: Namespace(platforms_config_file='/work/openharmony-v3.2.4/OpenHarmony-v3.2.4-Release/OpenHarmony/out/preloader/halley5_zhdgps/platforms.build', subsystem_config_file='/work/openharmony-v3.2.4/OpenHarmony-v3.2.4-Release/OpenHarmony/out/preloader/halley5_zhdgps/subsystem_config.json', example_subsystem_file=None, exclusion_modules_config_file='/work/openharmony-v3.2.4/OpenHarmony-v3.2.4-Release/OpenHarmony/out/preloader/halley5_zhdgps/exclusion_modules.json', source_root_dir='/work/openharmony-v3.2.4/OpenHarmony-v3.2.4-Release/OpenHarmony/', gn_root_out_dir='/work/openharmony-v3.2.4/OpenHarmony-v3.2.4-Release/OpenHarmony/out/x2000/halley5_zhdgps', build_platform_name='phone', build_xts=False, load_test_config=True, target_os='ohos', target_cpu='mips', os_level='mini', ignore_api_check=['xts', 'common', 'developertest'], scalable_build=False) [OHOS INFO] [OHOS INFO] build configs generation is complete. [OHOS INFO] ohos_build_compiler: gcc [OHOS INFO] ohos_kernel_type: linux [OHOS INFO] hks_config_lite.h [OHOS INFO] ERROR at //foundation/communication/ipc/interfaces/innerkits/c/ipc/BUILD.gn:178:18: Item not found [OHOS INFO] configs -= [ "//build/lite/config" ] [OHOS INFO] ^-------------------- [OHOS INFO] You were trying to remove "//build/lite/config" [OHOS INFO] from the list but it wasn't there. [OHOS INFO] See //foundation/systemabilitymgr/samgr_lite/samgr/BUILD.gn:84:7: which caused the file to be included. [OHOS INFO] "//foundation/communication/ipc/interfaces/innerkits/c/ipc:ipc_single", [OHOS INFO] ^--------------------------------------------------------------------- [OHOS INFO] --------------------------------------------- [OHOS INFO] ccache summary: [OHOS INFO] cache hit (direct) : 0 [OHOS INFO] cache hit (preprocessed) : 0 [OHOS INFO] cache miss : 0 [OHOS INFO] hit rate: 0.00% [OHOS INFO] mis rate: 0.00% [OHOS INFO] --------------------------------------------- [OHOS INFO] file: /work/openharmony-v3.2.4/OpenHarmony-v3.2.4-Release/OpenHarmony/out/x2000/halley5_zhdgps/.ninja_log not exists [OHOS INFO] parse file fail [OHOS ERROR] Please check build log in /work/openharmony-v3.2.4/OpenHarmony-v3.2.4-Release/OpenHarmony/out/x2000/halley5_zhdgps/build.log

移植了mips相关的vendor配置和devices,以及修改了build的编译条件选项,在编译组件依赖ipc,然后出现上面错误,请问是哪里修改错了还是组件依赖错误,使用的config.json是以下代码

{ "product_name": "halley5_zhdgps", "ohos_version": "OpenHarmony 1.0", "version": "3.0", "type": "mini", "target_cpu": "mips", "ohos_version": "OpenHarmony 3.1", "device_company": "ingenic", "device_build_path": "device/board/ingenic/x2000", "board": "x2000", "api_version": 8, "kernel_type": "linux", "kernel_version": "5.10", "subsystems": [ { "subsystem": "hiviewdfx", "components": [ { "component": "hievent_lite", "features":[] } ] }, { "subsystem": "systemabilitymgr", "components": [ { "component": "samgr_lite", "features":[] } ] }, { "subsystem": "startup", "components": [ { "component": "bootstrap_lite", "features":[] }, { "component": "init_lite", "features": [ "enable_ohos_startup_init_feature_begetctl_liteos = true" ] }, { "component": "syspara_lite", "features": [] } ] }, { "subsystem": "security", "components": [ { "component": "huks", "features": [ "huks_use_lite_storage = true", "huks_use_hardware_root_key = true", "huks_config_file = \"hks_config_lite.h\"" ] } ] }

],
"vendor_adapter_dir": "//device/soc/ingenic/x2000/hardware",
"third_party_dir": "//third_party",
"product_adapter_dir": "//vendor/ingenic/halley5/hals"

}

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

精彩评论3

holden-huang

沙发 发表于 2024-4-12 14:41:54
自己顶一个

Dysonnnn

板凳 发表于 2024-4-15 17:26:18
同问,帮顶。

Dysonnnn

地板 发表于 2024-4-15 17:27:25
同问, 帮顶。

Copyright   ©2023  OpenHarmony开发者论坛  京ICP备2020036654号-3 |技术支持 Discuz!

返回顶部