1
我按照google的指導,用fedora 19 64bit構建android源碼樹。構建android源碼樹時出現python2.7或鉻錯誤
Traceback (most recent call last):
File "../build/android/gyp/gcc_preprocess.py", line 50, in <module>
sys.exit(main(sys.argv))
File "../build/android/gyp/gcc_preprocess.py", line 43, in main
DoGcc(options)
File "../build/android/gyp/gcc_preprocess.py", line 28, in DoGcc
build_utils.CheckCallDie(gcc_cmd)
File "/home/hieptv/WORKING_DIRECTORY/external/chromium_org/build/android/gyp/util/build_utils.py", line 91, in CheckCallDie
stdout=subprocess.PIPE, stderr=subprocess.STDOUT, cwd=cwd)
File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1308, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make: *** [out/target/product/generic/obj/GYP/shared_intermediates/templates/org/chromium/base/ActivityState.java] Error 1
make: *** Waiting for unfinished jobs....
make: *** [out/target/product/generic/obj/GYP/shared_intermediates/templates/org/chromium/base/MemoryPressureLevelList.java] Error 1
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
任何幫助將approciated:我在「讓-j4」的步驟有錯誤遇到的煩惱。謝謝
可能是一個基本問題,但是您安裝了GCC嗎? – Blender
嗯......如果你嘗試不用'-j4',會發生什麼?例如只是'make'? (等待4次後,你可能會得到同樣的結果,但這是值得一試的,不是嗎?) – mgilson
感謝您的快速回復。 GCC已經安裝,我也嘗試「make」命令,但它不能像同樣的錯誤一樣工作 –