升级ubuntu的14.04后,android的源码又编译错误了,一下是错误说明赫解决方法:
1、make: *** [out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp] 断开的管道
解决方法:
sudo apt-get install bison
sudo apt-get install flex
2、
sh: 1: gperf: not found
calling gperf failed: 32512 at makevalues.pl line 137.
make: *** [out/target/product/generic/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/css/CSSValueKeywords.h]
解决方法:sudo apt-get install gperf
3、gcc: error trying to exec 'cc1plus': execvp: 没有那个文件或目录
解决方法:sudo apt-get install g++
4、
BEGIN failed--compilation aborted at external/webkit/Source/WebCore/make-hash-tools.pl line 23.
make: *** [out/target/product/generic/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/html/DocTypeStrings.cpp] 错误 2
make: *** 正在等待未完成的任务....
make: *** [out/target/product/generic/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/platform/ColorData.cpp] 错误 2
解决方法:sudo apt-get install libswitch-perl
5、/bin/bash: xmllint: 未找到命令
解决方法:sudo apt-get install libxml2-utils