升級ubuntu的14.04後,android的源碼又編譯錯誤了,一下是錯誤說明赫解決方法:css
一、make: *** [out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp] 斷開的管道html
解決方法: linux
sudo apt-get install bisonandroid
sudo apt-get install flexweb
二、ubuntu
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]bash
解決方法:sudo apt-get install gperfflex
三、gcc: error trying to exec 'cc1plus': execvp: 沒有那個文件或目錄 orm
解決方法:sudo apt-get install g++xml
四、
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
五、/bin/bash: xmllint: 未找到命令
解決方法:sudo apt-get install libxml2-utils