Firefly开源社区

打印 上一主题 下一主题

[Android] 手动编译Android 源码 fail

17

积分

0

威望

0

贡献

技术小白

积分
17
QQ

手动编译Android 源码 fail

发表于 2024-12-16 17:09:05      浏览:119 | 回复:2        打印      只看该作者   [复制链接] 楼主
  • 固件类型: 官方提供的固件
  • 固件文件名称: Firefly-RK356X_Android11.0_git_20210824
  • 固件下载地址: 官网
  • Log日志: NO LOG.txt
问题描述及复现步骤:


编译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
============================================
[100% 1/1] 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
[hardware/rockchip/libgralloc] 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


NO LOG.txt

7 Bytes, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

284

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
284
发表于 7 天前        只看该作者  沙发
解决了吗?我们是没发现这个问题
回复

使用道具 举报

17

积分

0

威望

0

贡献

技术小白

积分
17
QQ
发表于 5 天前        只看该作者  板凳
问题没找到,但是重新编译OK,谢谢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表