缘来饰你 发表于 2024-12-16 17:09:05

手动编译Android 源码 fail



编译fail 的内容如下, 该如何修改,谢谢!

android@ubuntu:~/proj/RK356X_Android11.0$ sudo build/soong/soong_ui.bash --make-mode -j8
16:47:24 ************************************************************
16:47:24 You are building on a machine with 15.6GB of RAM
16:47:24
16:47:24 The minimum required amount of free memory is around 16GB,
16:47:24 and even with that, some configurations may not work.
16:47:24
16:47:24 If you run into segfaults or other errors, try reducing your
16:47:24 -j value.
16:47:24 ************************************************************
16:47:24 Build sandboxing disabled due to nsjail error.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
TARGET_PRODUCT=aosp_arm
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-150-generic-x86_64-Ubuntu-18.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=RQ2A.210505.003
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/generic/goldfish device/generic/goldfish-opengl hardware/google/camera hardware/google/camera/devices/EmulatedCamera device/generic/goldfish device/generic/goldfish-opengl
============================================
out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
libRkTeeWeaver want to conditional Compile
libgralloc_priv want to conditional Compile
librga want to conditional Compile
librockit want to conditional Compile
Rockchip conditional compile
30
>>>>>>>>>>>>>>>>>>>>>
Optee Version: v1
error: device/generic/opengl-transport/host/libs/virglrenderer/Android.bp:156:1: "libvirglrenderer_cuttlefish" depends on undefined module "cuttlefish_host_only"
16:47:28 soong bootstrap failed with: exit status 1


qq号2317783075 发表于 7 天前

解决了吗?我们是没发现这个问题

缘来饰你 发表于 5 天前

问题没找到,但是重新编译OK,谢谢
页: [1]
查看完整版本: 手动编译Android 源码 fail