九鼎创展论坛
标题:
android4编译失败问题
[打印本页]
作者:
haoguozhong
时间:
2013-6-7 18:30
标题:
android4编译失败问题
编译uboot \kernel正常,编译system出现如下错误:
root@ubuntu:/home/user/work/x210# ./mk -s
/bin/bash: bison:找不到命令
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=full_x210
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76L
============================================
build/core/Makefile:25: 警告:覆盖关于目标“out/target/product/x210/root/init.rc”的命令
system/core/rootdir/Android.mk:42: 警告:忽略关于目标“out/target/product/x210/root/init.rc”的旧命令
build/core/Makefile:25: 警告:覆盖关于目标“out/target/product/x210/system/bin/hciattach”的命令
build/core/base_rules.mk:523: 警告:忽略关于目标“out/target/product/x210/system/bin/hciattach”的旧命令
build/core/Makefile:25: 警告:覆盖关于目标“out/target/product/x210/system/lib/libbluetoothd.so”的命令
build/core/base_rules.mk:523: 警告:忽略关于目标“out/target/product/x210/system/lib/libbluetoothd.so”的旧命令
make: *** 警告:文件“/usr/lib/jvm/jdk1.6.0_27/lib/tools.jar”的修改时间在将来9.4e+04
host C++: libhost <= build/libs/host/pseudolocalize.cpp
host C++: aapt <= frameworks/base/tools/aapt/AaptAssets.cpp
host C++: aapt <= frameworks/base/tools/aapt/Command.cpp
host C++: aapt <= frameworks/base/tools/aapt/CrunchCache.cpp
/bin/bash: g++:找不到命令
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/pseudolocalize.o] 错误 127
make: *** 正在等待未完成的任务....
/bin/bash: g++:找不到命令
/bin/bash: g++:找不到命令
/bin/bash: g++:找不到命令
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/AaptAssets.o] 错误 127
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Command.o] 错误 127
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/CrunchCache.o] 错误 127
root@ubuntu:/home/user/work/x210#
作者:
0532qu
时间:
2013-6-8 08:07
根据错误看,你是有些源码依赖包没有安装,比如说:bison
作者:
haoguozhong
时间:
2013-6-8 13:33
怎么得到与安装这个依赖包呢,ubuntu10.10、交叉编译器我都是使用的x210开发板的啊。
欢迎光临 九鼎创展论坛 (http://bbs.9tripod.com/)
Powered by Discuz! X3.2