报错
[100% 12260/12260] initializing build system ...
device/rockchip/common/prebuild.mk:2: warning: Generating manifest snapshot at out/commit_id.xml...
device/rockchip/common/prebuild.mk:3: warning: You can disable this by removing this and setting BOARD_RECORD_COMMIT_ID := false in BoardConfig.mk
Saved manifest to out/commit_id.xml
[ 95% 12265/12797] including build/make/target/board/Android.mk ...
rebuilding dtbo image with device/asus/tinker_board_2/WW_Tinker_Board_2/dt-overlay.in....
[ 97% 12498/12797] including hardware/rockchip/libhwjpeg/Android.mk ...
hardware/rockchip/libhwjpeg/mpi/compile_setup.sh: line 6: ./version.h: Permission denied
[ 97% 12519/12797] including hardware/rockchip/omx_il/Android.mk ...
hardware/rockchip/omx_il/compile_setup.sh: line 34: ./include/rockchip/git_info.h: Permission denied
cp: .git/hooks/pre-commit: Permission denied
tools/hooks .git/hooks
[W][2023-01-31T18:50:01+0800][17541] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2023-01-31T18:50:01+0800][17541] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
out/target/product/rk3399_Android10/obj/CONFIG/kati_packaging/dist.mk was modified, regenerating...
[ 12% 13131/102442] target C: libOMX_Core <= hardware/rockchip/omx_il/core/Rockchip_OMX_Component_Register.c
FAILED: out/target/product/rk3399_Android10/obj/SHARED_LIBRARIES/libOMX_Core_intermediates/Rockchip_OMX_Component_Register.o
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-r353983c1/bin/clang -I hardware/rockchip/omx_il/include//khronos -I hardware/rockchip/omx_il/include//rockchip -I hardware/rockchip/omx_il/osal -I hardware/rockchip/omx_il/component/common -I ./hardware/rk29/librkvpu -I hardware/rockchip/omx_il/core -I out/target/product/rk3399_Android10/obj/SHARED_LIBRARIES/libOMX_Core_intermediates -I out/target/product/rk3399_Android10/gen/SHARED_LIBRARIES/libOMX_Core_intermediates $(cat out/target/product/rk3399_Android10/obj/SHARED_LIBRARIES/libOMX_Core_intermediates/import_includes) -isystem out/target/product/rk3399_Android10/obj/include -c -Werror=implicit-function-declaration -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -faddrsig -Wimplicit-fallthrough -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-zero-as-null-pointer-constant -Wno-sign-compare -Wno-defaulted-function-deleted -Wno-inconsistent-missing-override -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-security -nostdlibinc -march=armv8-a -mcpu=cortex-a53 -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -std=gnu99 -Werror -D__ANDROID_API__=29 -D__ANDROID_VNDK__ -fPIC -D_USING_LIBCXX -DANDROID_STRICT -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-tautological-type-limit-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-tautological-unsigned-zero-compare -Wno-c++98-compat-extra-semi -Wno-return-std-move-in-c++11 -MD -MF out/target/product/rk3399_Android10/obj/SHARED_LIBRARIES/libOMX_Core_intermediates/Rockchip_OMX_Component_Register.d -o out/target/product/rk3399_Android10/obj/SHARED_LIBRARIES/libOMX_Core_intermediates/Rockchip_OMX_Component_Register.o hardware/rockchip/omx_il/core/Rockchip_OMX_Component_Register.c"
hardware/rockchip/omx_il/core/Rockchip_OMX_Component_Register.c:45:10: **fatal error**: 'git_info.h' file not found
#include "git_info.h"
^~~~~~~~~~~~
1 error generated.
求解答
更多回帖