我一直在遵循source.android.com上的构建教程来尝试构建ICS。使用make命令时,出现“找不到文件”错误。
有人对此有更多经验吗?
这是控制台,从我的make命令开始:
[root@dev working_directory]# make
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.0.3.0.2.0.1.0
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
OUT_DIR=out
============================================
/bin/bash: line 0: cd: cts/tools/cts-native-xml-generator/src/res: No such file or directory
host C: acp <= build/tools/acp/acp.c
In file included from /usr/include/features.h:387:0,
from /usr/include/stdlib.h:25,
from build/tools/acp/acp.c:11:
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
compilation terminated.
make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp.o] Error 1
最佳答案
似乎您缺少一些软件包。按照http://source.android.com/source/initializing.html上的说明进行设置。