您尚未登录。

楼主 # 2024-03-31 16:35:32

Haronyx
会员
注册时间: 2024-03-31
已发帖子: 10
积分: 10

求助A133 Android 编译问题

编译A133 Android10 时更改了编译选项,改成编译64位的Android。但是每隔一到两分钟就会出现这个错误

layla@layla:~/Documents/A133/android$ make -j8
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
TARGET_PRODUCT=ceres_c3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.5.0-26-generic-x86_64-Ubuntu-22.04.2-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QP1A.191105.004
OUT_DIR=out
============================================
[  4% 1/25] //frameworks/compile/libbcc/bcinfo:libbcinfo header-abi-linker libbcinfo.so.lsdump
FAILED: out/soong/.intermediates/frameworks/compile/libbcc/bcinfo/libbcinfo/android_arm64_armv8-a_vendor_shared/libbcinfo.so.lsdump
prebuilts/clang-tools/linux-x86/bin/header-abi-linker -o out/soong/.intermediates/frameworks/compile/libbcc/bcinfo/libbcinfo/android_arm64_armv8-a_vendor_shared/libbcinfo.so.lsdump -so out/soong/.intermediates/frameworks/compile/libbcc/bcinfo/libbcinfo/android_arm64_armv8-a_vendor_shared/libbcinfo.so -arch arm64  -Iframeworks/compile/libbcc/bcinfo/include @out/soong/.intermediates/frameworks/compile/libbcc/bcinfo/libbcinfo/android_arm64_armv8-a_vendor_shared/libbcinfo.so.lsdump.rsp 
Failed to parse JSON: * Line 1, Column 1
  Syntax error: value, object or array expected.

ReadDump failed
[  8% 2/25] //frameworks/compile/libbcc/bcinfo:libbcinfo header-abi-linker libbcinfo.so.lsdump [arm]
FAILED: out/soong/.intermediates/frameworks/compile/libbcc/bcinfo/libbcinfo/android_arm_armv8-a_vendor_shared/libbcinfo.so.lsdump
prebuilts/clang-tools/linux-x86/bin/header-abi-linker -o out/soong/.intermediates/frameworks/compile/libbcc/bcinfo/libbcinfo/android_arm_armv8-a_vendor_shared/libbcinfo.so.lsdump -so out/soong/.intermediates/frameworks/compile/libbcc/bcinfo/libbcinfo/android_arm_armv8-a_vendor_shared/libbcinfo.so -arch arm  -Iframeworks/compile/libbcc/bcinfo/include @out/soong/.intermediates/frameworks/compile/libbcc/bcinfo/libbcinfo/android_arm_armv8-a_vendor_shared/libbcinfo.so.lsdump.rsp 
Failed to parse JSON: * Line 1, Column 1
  Syntax error: value, object or array expected.

ReadDump failed
16:25:04 ninja failed with: exit status 1

#### failed to build some targets (01:20 (mm:ss)) ####

此时继续make -j8编译就会恢复正常,然后过了大约一分半钟又会出现这种情况。
目前到了最后[  4% 1/25]就完全编译不了了,求助各位网友!!该怎么解决

离线

#1 2024-03-31 16:46:38

memory
会员
注册时间: 2021-08-11
已发帖子: 483
积分: 459

Re: 求助A133 Android 编译问题

可能环境问题,ubuntu 18.04 LTS编译正常。

最近编辑记录 memory (2024-03-31 16:46:44)

离线

楼主 #2 2024-03-31 23:27:47

Haronyx
会员
注册时间: 2024-03-31
已发帖子: 10
积分: 10

Re: 求助A133 Android 编译问题

找到原因了,没有把之前的clean掉,现在正常了

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn