• Lv2
    粉丝0

积分0 / 贡献0

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

编译OpenHarmony5.0源码时发生位置报错,未提示修改代码

zyxzyx 显示全部楼层 发表于 2025-1-14 09:45:16

编译源码时错误如下:

[OHOS ERROR] [12761/22774] CXX obj/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/declarative_js_engine_ng_ark_ohos_ng/js_view.o [OHOS ERROR] FAILED: obj/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/declarative_js_engine_ng_ark_ohos_ng/js_view.o [OHOS ERROR] /usr/bin/ccache ../../prebuilts/clang/ohos/linux-x86_64/llvm/bin/clang++ -MMD -MF obj/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/declarative_js_engine_ng_ark_ohos_ng/js_view.o.d -DUSE_ARK_ENGINE -DOHOS_PLATFORM -DOHOS_STANDARD_SYSTEM -DIMAGE_SUPPORTED -DVIDEO_SUPPORTED -DSUPPORT_JSSTACK -DWEB_SUPPORTED -DABILITY_COMPONENT_SUPPORTED -DGPU_DISABLED -DREMOTE_WINDOW_SUPPORTED -DEFFECT_COMPONENT_SUPPORTED -DXCOMPONENT_SUPPORTED -DPIXEL_MAP_SUPPORTED -DENABLE_ROSEN_BACKEND -DENABLE_STANDARD_INPUT -DMULTIPLE_WINDOW_SUPPORTED -DMODEL_COMPONENT_SUPPORTED -DHIDDEN_SYMBOL -DWINDOW_SCENE_SUPPORTED -DENABLE_DRAG_FRAMEWORK -DMEDIA_LIBRARY_EXISTS -DHICHECKER_EXISTS -DDYNAMIC_COMPONENT_SUPPORT -DVSYNC_TIMEOUT_CHECK -DSTATE_MGMT_USE_AOT -DNG_BUILD -DARM64 -DBUILT_IN_JS_ENGINE -DV8_DEPRECATION_WARNINGS -D_GNU_SOURCE -DHAVE_SYS_UIO_H -DMUSL -D_LIBCPP_HAS_MUSL_LIBC -DBUILD_LINUX_WITH_CLANG -DSTDC_CONSTANT_MACROS -DSTDC_FORMAT_MACROS -DCOMPONENT_BUILD -DGNU_SOURCE=1 -DCHROMIUM_CXX_TWEAK_INLINES -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DACE_LOG_TAG=\"Ace\" -DUSE_HILOG -DACE_INSTANCE_LOG -DUSE_ROSEN_DRAWING -DUSE_GRAPHIC_TEXT_GINE -DOS_ACCOUNT_EXISTS -DCAMERA_FRAMEWORK_EXISTS -DPLAYER_FRAMEWORK_EXISTS -DAUDIO_FRAMEWORK_EXISTS -DQRCODEGEN_SUPPORT -DSECURITY_COMPONENT_ENABLE -DFORM_SIZE_CHANGE_ANIMATION -DOHOS_BUILD_ENABLE_POINTER_DRAWING -DOHOS_BUILD_ENABLE_INTERCEPTOR -DOHOS_BUILD_ENABLE_KEYBOARD -DOHOS_BUILD_ENABLE_SWITCH -DOHOS_BUILD_ENABLE_MONITOR -DOHOS_BUILD_ENABLE_TOUCH -DOHOS_BUILD_ENABLE_POINTER -DOHOS_BUILD_ENABLE_JOYSTICK -DOHOS_BUILD_ENABLE_SHORT_KEY -DOHOS_BUILD_ENABLE_SECURITY_COMPONENT -DOHOS_BUILD_ENABLE_FINGERSENSE_WRAPPER -DOHOS_BUILD_ENABLE_GESTURESENSE_WRAPPER -DOHOS_BUILD_ENABLE_NEW_KNUCKLE_DYNAMIC -DCALL_MANAGER_SERVICE_ENABLED -DHITRACE_ENABLED -DMULTI_ECS_UPDATE_AT_ONCE=0 -DEGL_EGLEXT_PROTOTYPES -DGL_GLEXT_PROTOTYPES -DUNIFY_RENDER=1 -DWIDGET_TRACE_ENABLE=1 -DDBG_DRAW_PIXEL=0 -DOHOS_PLATFORM -DKIT_3D_ENABLE=true -DSCENE_ADAPTER -DENABLE_RUST -DROSEN_OHOS -DACE_ENABLE_GL -DRS_ENABLE_GL -DSKP_RECORDING_ENABLED -DRS_ENABLE_EGLIMAGE -DRS_ENABLE_EGLQUERYSURFACE -DRS_ENABLE_PARALLEL_RENDER -DRS_ENABLE_PREFETCH -DRS_ENABLE_GPU -DNEW_SKIA -DOHOS_SUPPORT -DSKIA_USE_XEG -DSKIA_OHOS -DSKIA_OHOS_FOR_OHOS_TRACE -DSKIA_OHOS_FOR_OHOS_LOG -DSKIA_OHOS_SHADER_REDUCE -DSKIA_OHOS_TEXTURE_MEM_MGMT -DSKIA_DFX_FOR_OHOS -DSKIA_DFX_FOR_RECORD_VKIMAGE -DSKIA_OPTION_UNCLAMPED_COLOR_MATRIX_FILTER -DGR_TEST_UTILS=1 -DSK_BUILD_FOR_OHOS -DSK_ENABLE_SKSL -DSK_ENABLE_SMALL_PAGE -DSK_HAS_ANDROID_CODEC -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_ENCODE_PNG -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_WEBP -DSK_GL -DSK_USE_LIBGIFCODEC -DSK_HAS_HEIF_LIBRARY -DSK_XML -DWEBP_SWAP_16BIT_CSP -DSK_ENABLE_SVG -DSKSHAPER_IMPLEMENTATION=1 -DSK_SHAPER_HARFBUZZ_AVAILABLE -DSK_UNICODE_AVAILABLE -DSKUNICODE_IMPLEMENTATION=1 -DSK_SUPPORT_PDF -DHAVE_ICU -DHAVE_ICU_BUILTIN -DHAVE_OT -DHAVE_CONFIG_OVERRIDE_H -DHB_NO_FALLBACK_SHAPE -DHB_NO_WIN1256 -DENABLE_EGL -DNAPI_TARGET_ARM64 -DNAPI_TARGET_64 -DHOOK_ENABLE -DOHOS_STANDARD_PLATFORM -DNAPI_ENABLE_DATA_PROTECT -DUSE_FFRT -DASYNC_STACKTRACE -DUSE_OHOS_DFX -DCJSON_NESTING_LIMIT=(128) -Iobj/third_party/musl/usr/include/aarch64-linux-ohos -Ioverride/third_party -I../.. -Igen -I../../foundation/arkui/ace_engine -I../../foundation/arkui/ace_engine/frameworks -I../../foundation/arkui/ace_engine/interfaces/inner_api/ace_kit/include -Iarkui/framework -I../../base/hiviewdfx/hilog/interfaces/native/innerkits/include -I../../foundation/arkui/ace_engine/adapter/ohos/services/uiservice/include -I../../commonlibrary/c_utils/base/include -I../../foundation/communication/ipc/interfaces/innerkits/ipc_core/include -I../../base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/include -I../../foundation/systemabilitymgr/samgr/interfaces/innerkits/samgr_proxy/include -I../../foundation/systemabilitymgr/samgr/interfaces/innerkits/dynamic_cache/include -I../../base/notification/common_event_service/interfaces/inner_api -I../../foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include -I../../foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/clone -I../../foundation/bundlemanager/bundle_framework/common/log/include -I../../base/notification/eventhandler/interfaces/inner_api -I../../base/notification/eventhandler/frameworks/eventhandler/include -I../../third_party/icu/icu4c/source/common -I../../arkcompiler/ets_runtime -I../../arkcompiler/ets_runtime/ecmascript/napi/include -I../../arkcompiler/runtime_core -I../../arkcompiler/runtime_core/libpandabase -Igen/arkcompiler/runtime_core/libpandabase/include -Igen/arkcompiler/runtime_core/libpandabase -I../../arkcompiler/runtime_core/libpandafile -I../../arkcompiler/runtime_core/libziparchive -Igen/arkcompiler/runtime_core/libpandafile -Igen/arkcompiler/runtime_core/libpandafile/include -I../../third_party/icu/icu4c/source/i18n -I../../third_party/icu/icu4c/source -I../../third_party/bounds_checking_function/include -I../../foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk -I../../foundation/systemabilitymgr/samgr/interfaces/innerkits/common/include -Iobj/third_party/libxml2/include -Igen/third_party/libxml2/libxml2-2.9.14/include -I../../foundation/distributeddatamgr/preferences/interfaces/inner_api/include -I../../foundation/communication/ipc/interfaces/innerkits/ipc_napi_common/include -I../../foundation/communication/ipc/ipc/native/src/napi_common/include -I../../foundation/ability/ability_runtime/interfaces/inner_api/runtime/include -I../../foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing -I../../base/hiviewdfx/hiview/interfaces/inner_api/xpower_event/include -I../../commonlibrary/ets_utils/js_concurrent_module/worker -I../../commonlibrary/ets_utils/js_concurrent_module/common -I../../foundation/multimodalinput/input/common/anco/comm/include -I../../foundation/multimodalinput/input/interfaces/native/innerkits -I../../foundation/multimodalinput/input/interfaces/native/innerkits/event/include -I../../foundation/multimodalinput/input/interfaces/native/innerkits/proxy/include -I../../foundation/multimodalinput/input/util/common/include -I../../foundation/window/window_manager/window_scene/session/host/include -I../../foundation/window/window_manager/window_scene -I../../foundation/window/window_manager/window_scene/intention_event/service/anr_manager/include -I../../foundation/window/window_manager/window_scene/intention_event/framework/anr_handler/include -I../../foundation/window/window_manager/window_scene/intention_event/utils/include -I../../foundation/window/window_manager/interfaces/innerkits/dm -I../../foundation/window/window_manager/wm/include/zidl -I../../foundation/window/window_manager/utils/include -I../../foundation/window/window_manager/window_scene/common/include -I../../foundation/window/window_manager/interfaces/innerkits/wm -I../../foundation/ability/ability_base/interfaces/inner_api/base/include -I../../foundation/ability/ability_base/interfaces/kits/native/session_info/include -I../../foundation/ability/ability_base/interfaces/inner_api/log/include -I../../foundation/ability/ability_base/interfaces/kits/native/want/include -I../../foundation/ability/ability_base/interfaces/kits/native/uri/include -I../../third_party/json/single_include -I../../third_party/json/single_include/nlohmann -I../../foundation/barrierfree/accessibility/interfaces/innerkits/common/include -I../../foundation/barrierfree/accessibility/common/interface/include -I../../foundation/multimodalinput/input/util/napi/include -I../../foundation/graphic/graphic_3d/3d_widget_adapter/include -I../../foundation/graphic/graphic_3d/3d_widget_adapter/include/ohos -I../../foundation/graphic/graphic_3d/3d_scene_adapter/include -I../../foundation/graphic/graphic_3d/kits/js/include -I../../foundation/graphic/graphic_3d/kits/js/include/napi -I../../foundation/graphic/graphic_2d/rosen/modules/render_service_base/include -I../../foundation/graphic/graphic_2d/utils/log -I../../foundation/graphic/graphic_2d/rosen/include -I../../foundation/graphic/graphic_2d/rosen/modules/composer/vsync/include -I../../foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include -I../../foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src -I../../foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing -I../../foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter -I../../foundation/graphic/graphic_2d/utils/color_manager/export -I../../foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src -I../../foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export -I../../third_party/skia -I../../third_party/skia/include/core -I../../third_party/skia/src/core -I../../third_party/skia/third_party/externals/harfbuzz/src -I../../third_party/skia/third_party/externals/icu/source/common -I../../foundation/graphic/graphic_2d/interfaces/inner_api/composer -I../../foundation/graphic/graphic_2d/rosen/include/common -I../../foundation/graphic/graphic_2d/utils/sandbox -I../../foundation/graphic/graphic_2d/rosen/modules/ressched/include -I../../foundation/graphic/graphic_2d/utils/scoped_bytrace/export -I../../foundation/graphic/graphic_2d/utils/socketpair/export -I../../foundation/graphic/graphic_2d/rosen/modules/graphics_effect/include -I../../foundation/graphic/graphic_2d/frameworks/opengl_wrapper/include -I../../foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/EGL/include/private/EGL -I../../third_party/EGL/api -Igen/third_party/jsoncpp/jsoncpp-1.9.5/include -I../../third_party/openGLES/api -I../../foundation/graphic/graphic_surface/sync_fence/include -I../../foundation/graphic/graphic_surface/interfaces/inner_api/utils -I../../foundation/multimedia/image_framework/interfaces/innerkits/include -I../../foundation/multimedia/image_framework/interfaces/innerkits/include/mdkKits -I../../foundation/multimedia/image_framework/frameworks/innerkitsimpl/receiver/include -I../../foundation/multimedia/image_framework/frameworks/innerkitsimpl/creator/include -I../../foundation/multimedia/image_framework/frameworks/innerkitsimpl/pixelconverter/include -I../../foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/include -I../../foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/include -I../../foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/include -I../../foundation/multimedia/image_framework/frameworks/innerkitsimpl/stream/include -I../../foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/include -I../../foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/include -I../../foundation/multimedia/image_framework/frameworks/kits/js/common/include -I../../foundation/multimedia/image_framework/interfaces/kits/js/common/include -I../../foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin -I../../foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include -I../../foundation/multimedia/image_framework/plugins/manager/include -I../../foundation/multimedia/image_framework/plugins/manager/include/image -I../../foundation/multimedia/image_framework/interfaces/kits/native/include -I../../foundation/multimedia/image_framework/frameworks/kits/js/common/ndk/include -I../../foundation/multimedia/image_framework/frameworks/kits/js/common/picture_ndk/include -I../../foundation/multimedia/image_framework/plugins/manager/include/pluginbase -I../../foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin/include -I../../foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/heif_impl/heif_parser -I../../foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/hdr -I../../drivers/peripheral/display/interfaces/include -I../../drivers/peripheral/display/hdi_service/gralloc/include -I../../foundation/graphic/graphic_surface/utils/frame_report/export -I../../foundation/graphic/graphic_surface/surface/include -I../../foundation/graphic/graphic_surface/interfaces/inner_api -I../../foundation/graphic/graphic_surface/interfaces/inner_api/surface -I../../foundation/graphic/graphic_surface/interfaces/inner_api/common -I../../foundation/graphic/graphic_surface/sandbox -I../../foundation/graphic/graphic_surface/utils/rs_frame_report_ext/include -I../../foundation/graphic/graphic_surface/utils/trace -I../../third_party/openssl/include -Iobj/third_party/openssl/build_all_generated/linux-aarch64/include -I../../foundation/arkui/napi -I../../foundation/arkui/napi/interfaces/inner_api -I../../foundation/arkui/napi/interfaces/kits -I../../foundation/arkui/napi/native_engine -I../../foundation/arkui/napi/native_engine/impl/ark -I../../foundation/arkui/napi/module_manager -I../../third_party/libuv/include -I../../third_party/libuv/src -I../../third_party/libuv/src/unix -I../../third_party/node/src -I../../foundation/distributeddatamgr/udmf/interfaces/innerkits/client -I../../foundation/distributeddatamgr/udmf/interfaces/innerkits/common -I../../foundation/distributeddatamgr/udmf/interfaces/innerkits/data -I../../foundation/distributeddatamgr/udmf/interfaces/innerkits/convert -I../../foundation/distributeddatamgr/udmf/interfaces/ndk/data -I../../foundation/distributeddatamgr/udmf/framework/common -I../../foundation/distributeddatamgr/udmf/framework/innerkitsimpl/client -I../../foundation/distributeddatamgr/udmf/framework/innerkitsimpl/data -I../../foundation/distributeddatamgr/udmf/framework/innerkitsimpl/service -I../../foundation/distributeddatamgr/udmf/framework/innerkitsimpl/convert -I../../foundation/distributeddatamgr/udmf/framework/ndkimpl/data -I../../foundation/distributeddatamgr/kv_store/frameworks/common -I../../foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/include -I../../foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src -I../../foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatasvc/include -I../../foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include -I../../foundation/filemanagement/app_file_service/interfaces/common/include -I../../foundation/filemanagement/app_file_service/interfaces/innerkits/native/file_uri/include -I../../third_party/cJSON -I../../foundation/multimedia/image_framework/interfaces/kits/js/common/include/sendable -I../../foundation/multimedia/image_framework/interfaces/kits/native/include/image -I../../foundation/distributeddatamgr/udmf/interfaces/jskits/common -I../../foundation/distributeddatamgr/udmf/interfaces/jskits/data -I../../foundation/distributeddatamgr/udmf/framework/innerkits/service -I../../foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include -I../../foundation/ability/ability_runtime/frameworks/kits/appkit/native/app/include -I../../foundation/ability/ability_runtime/frameworks/kits/ability/native/include -I../../foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common -I../../foundation/ability/ability_runtime/services/abilitymgr/include -I../../foundation/ability/ability_runtime/services/common/include -fno-strict-aliasing -Wno-builtin-macro-redefined -DDATE= -DTIME= -DTIMESTAMP= -funwind-tables -fPIC -fcolor-diagnostics -fmerge-all-constants -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -no-canonical-prefixes -flto=thin -fsplit-lto-unit -ffunction-sections -fno-short-enums --target=aarch64-linux-ohos -march=armv8-a -mfloat-abi=hard -mfpu=neon-fp-armv8 -fstack-protector-strong -Wall -Werror -Wextra -Wimplicit-fallthrough -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-error=c99-designator -Wno-error=anon-enum-enum-conversion -Wno-error=sizeof-array-div -Wno-error=implicit-fallthrough -Wno-error=reorder-init-list -Wno-error=range-loop-construct -Wno-error=deprecated-copy -Wno-error=implicit-int-float-conversion -Wno-error=inconsistent-dllimport -Wno-error=unknown-warning-option -Wno-error=sign-compare -Wno-error=int-in-bool-context -Wno-error=return-stack-address -Wno-error=dangling-gsl -Wno-unused-but-set-variable -Wno-deprecated-declarations -Wno-unused-but-set-parameter -Wno-null-pointer-subtraction -Wno-unqualified-std-cast-call -Wno-user-defined-warnings -Wno-unused-lambda-capture -Wno-null-pointer-arithmetic -Wno-enum-compare-switch -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g2 -ggnu-pubnames -fno-common -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -fstack-protector-ret-strong -fvisibility=hidden -fdata-sections -ffunction-sections -Wno-non-c-typedef-for-linkage -Os -Werror=return-stack-address -Werror=anon-enum-enum-conversion -Werror=sizeof-array-div -Werror=undefined-var-template -Werror=nonportable-include-path -Werror=user-defined-warnings -Werror=null-pointer-arithmetic -Werror=enum-compare-switch -Werror=absolute-value -Werror=header-guard -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=int-in-bool-context -Werror=xor-used-as-pow -Werror=deprecated-copy -Werror=unknown-warning-option -Werror=abstract-final-class -Werror=range-loop-construct -Werror=incompatible-pointer-types -DARKUI_CIRCLE_FEATURE -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -Wno-unused-but-set-variable -Wno-unused-lambda-capture -Wno-unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-incompatible-pointer-types -D_GNU_SOURCE -D_POSIX_C_SOURCE=200112 -std=c++17 -fno-exceptions -fno-rtti --sysroot=obj/third_party/musl -fvisibility-inlines-hidden -fvisibility-inlines-hidden -Wno-non-c-typedef-for-linkage -Os -fexceptions -std=c++17 -std=c++17 -march=armv8.4-a -c ../../foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/js_view.cpp -o obj/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/declarative_js_engine_ng_ark_ohos_ng/js_view.o

[OHOS INFO] User Cpu%: 0.0%

[OHOS INFO] System Cpu%: 1.5%

[OHOS INFO] Idle CPU%: 98.5%

[OHOS INFO] Total Memory: 9.7GB

[OHOS INFO] Free Memory: 8.3GB

[OHOS INFO] Swap Memory: 2.0GB

[OHOS INFO] Filesystem: udev, Size: 4.8G, Used: 0, Available: 4.8G, Use%: 0%, Mounted on: /dev

[OHOS INFO] Filesystem: tmpfs, Size: 991M, Used: 3.3M, Available: 988M, Use%: 1%, Mounted on: /run

[OHOS INFO] Filesystem: /dev/sda5, Size: 294G, Used: 184G, Available: 96G, Use%: 66%, Mounted on: /

[OHOS INFO] Filesystem: tmpfs, Size: 4.9G, Used: 0, Available: 4.9G, Use%: 0%, Mounted on: /dev/shm

[OHOS INFO] Filesystem: tmpfs, Size: 5.0M, Used: 4.0K, Available: 5.0M, Use%: 1%, Mounted on: /run/lock

[OHOS INFO] Filesystem: tmpfs, Size: 4.9G, Used: 0, Available: 4.9G, Use%: 0%, Mounted on: /sys/fs/cgroup

[OHOS INFO] Filesystem: /dev/loop0, Size: 55M, Used: 55M, Available: 0, Use%: 100%, Mounted on: /snap/core18/1880

[OHOS INFO] Filesystem: /dev/loop1, Size: 128K, Used: 128K, Available: 0, Use%: 100%, Mounted on: /snap/bare/5

[OHOS INFO] Filesystem: /dev/loop2, Size: 56M, Used: 56M, Available: 0, Use%: 100%, Mounted on: /snap/core18/2846

[OHOS INFO] Filesystem: /dev/loop3, Size: 74M, Used: 74M, Available: 0, Use%: 100%, Mounted on: /snap/core22/1722

[OHOS INFO] Filesystem: /dev/loop5, Size: 256M, Used: 256M, Available: 0, Use%: 100%, Mounted on: /snap/gnome-3-34-1804/36

[OHOS INFO] Filesystem: /dev/loop4, Size: 219M, Used: 219M, Available: 0, Use%: 100%, Mounted on: /snap/gnome-3-34-1804/93

[OHOS INFO] Filesystem: /dev/loop6, Size: 92M, Used: 92M, Available: 0, Use%: 100%, Mounted on: /snap/gtk-common-themes/1535

[OHOS INFO] Filesystem: /dev/loop7, Size: 63M, Used: 63M, Available: 0, Use%: 100%, Mounted on: /snap/gtk-common-themes/1506

[OHOS INFO] Filesystem: /dev/loop8, Size: 50M, Used: 50M, Available: 0, Use%: 100%, Mounted on: /snap/snap-store/467

[OHOS INFO] Filesystem: /dev/loop9, Size: 13M, Used: 13M, Available: 0, Use%: 100%, Mounted on: /snap/snap-store/1216

[OHOS INFO] Filesystem: /dev/loop10, Size: 45M, Used: 45M, Available: 0, Use%: 100%, Mounted on: /snap/snapd/23545

[OHOS INFO] Filesystem: /dev/loop11, Size: 506M, Used: 506M, Available: 0, Use%: 100%, Mounted on: /snap/gnome-42-2204/176

[OHOS INFO] Filesystem: /dev/sda1, Size: 511M, Used: 4.0K, Available: 511M, Use%: 1%, Mounted on: /boot/efi

[OHOS INFO] Filesystem: tmpfs, Size: 991M, Used: 28K, Available: 991M, Use%: 1%, Mounted on: /run/user/1000

[OHOS ERROR] Traceback (most recent call last): [OHOS ERROR] File "/home/zhang/harmonyos/openharmony/build/hb/containers/status.py", line 47, in wrapper [OHOS ERROR] return func(*args, *kwargs) [OHOS ERROR] ^^^^^^^^^^^^^^^^^^^^^ [OHOS ERROR] File "/home/zhang/harmonyos/openharmony/build/hb/modules/ohos_build_module.py", line 70, in run [OHOS ERROR] raise exception [OHOS ERROR] File "/home/zhang/harmonyos/openharmony/build/hb/modules/ohos_build_module.py", line 67, in run [OHOS ERROR] super().run() [OHOS ERROR] File "/home/zhang/harmonyos/openharmony/build/hb/modules/interface/build_module_interface.py", line 70, in run [OHOS ERROR] raise exception [OHOS ERROR] File "/home/zhang/harmonyos/openharmony/build/hb/modules/interface/build_module_interface.py", line 68, in run [OHOS ERROR] self._ninja() [OHOS ERROR] File "/home/zhang/harmonyos/openharmony/build/hb/util/timer_util.py", line 30, in inner [OHOS ERROR] res = func(arg, **kwarg) [OHOS ERROR] ^^^^^^^^^^^^^^^^^^^ [OHOS ERROR] File "/home/zhang/harmonyos/openharmony/build/hb/modules/interface/build_module_interface.py", line 125, in _ninja [OHOS ERROR] self._target_compilation() [OHOS ERROR] File "/home/zhang/harmonyos/openharmony/build/hb/modules/ohos_build_module.py", line 105, in _target_compilation [OHOS ERROR] self.target_compiler.run() [OHOS ERROR] File "/home/zhang/harmonyos/openharmony/build/hb/services/ninja.py", line 38, in run [OHOS ERROR] self._execute_ninja_cmd() [OHOS ERROR] File "/home/zhang/harmonyos/openharmony/build/hb/services/ninja.py", line 69, in _execute_ninja_cmd [OHOS ERROR] SystemUtil.exec_command( [OHOS ERROR] File "/home/zhang/harmonyos/openharmony/build/hb/util/system_util.py", line 77, in exec_command [OHOS ERROR] LogUtil.get_failed_log(log_path) [OHOS ERROR] File "/home/zhang/harmonyos/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/zhang/harmonyos/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/zhang/harmonyos/openharmony/out/rk3568/error.log, and for more build information in /home/zhang/harmonyos/openharmony/out/rk3568/build.log [OHOS ERROR]

[OHOS ERROR] Code: 4000 [OHOS ERROR] [OHOS ERROR] Reason: COMPILE Failed! Please check error in /home/zhang/harmonyos/openharmony/out/rk3568/error.log, and for more build information in /home/zhang/harmonyos/openharmony/out/rk3568/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] =====build error=====

ubuntu版本20.04

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

精彩评论2

onefan

沙发 发表于 2025-1-14 19:38:11
建议删掉out目录 重新更新代码试试。

zyxzyx

发表于 2025-1-15 15:46  IP属地: 江苏省扬州市

回复 onefan: 不用删除,继续往下编也就好了,这种的类似的就一直重新编译,代码的直接改出错的地方,编译过了

【1 条回复】

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

返回顶部