刚下载的android4的源码编译了近3个多小数最后截图代码如下:
target SharedLib: libc_malloc_debug_qemu (out/target/product/generic/obj/SHARED_LIBRARIES/libc_malloc_debug_qemu_intermediates/LINKED/libc_malloc_debug_qemu.so)
Install: out/host/linux-x86/bin/llvm-link
host Executable: clang (out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang)
host C++: libbcc <= frameworks/compile/libbcc/lib/ExecutionEngine/bcc.cpp
host C: libbcc <= out/host/linux-x86/obj/SHARED_LIBRARIES/libbcc_intermediates/libbcc-stamp.c
target SharedLib: libthread_db (out/target/product/generic/obj/SHARED_LIBRARIES/libthread_db_intermediates/LINKED/libthread_db.so)
target Generated: libv8 <= out/host/linux-x86/bin/mksnapshot
host Java: core-junit-hostdex (out/host/common/obj/JAVA_LIBRARIES/core-junit-hostdex_intermediates/classes)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
host Java: apachehttp-hostdex (out/host/common/obj/JAVA_LIBRARIES/apachehttp-hostdex_intermediates/classes)
collect2: ld terminated with signal 9 [Killed]
make: *** [out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang] Error 1
make: *** Waiting for unfinished jobs....
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
true
zf@ubuntu:~/WORKING_DIRECTORY$
编译后文件总大小为11G多,但是在out/target/product/generic下面并没用想象中的三个img文件(system.img,userdata.img,ramdisk.img).不知道怎么回事,请大侠赐教。万分感谢

解决方案 »

  1.   


    ubunt11.10 32位编译的,分配了1500多M的内存,编译时本机cpu一直处于100%状态长达3个多小时。该打的补丁都打了,看示好像是说访问未经过安全认证的网页失败然后就结束了。
    不太明白大虾说的“配置为generic版本编译?”
      

  2.   

    我也遇见这个问题。*** [out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang] Error 1这怎么处理???我也没找到答案。。真奇怪。。
      

  3.   

    可能是内存或硬盘不够,参考http://www.eoeandroid.com/blog-23065-2348.html
      

  4.   

    网上我看到一些答案,说内存不够,官网要求是1.5G内存,25G硬盘。官方说明“Note: The source download is approximately 6GB in size. You will need 25GB free to complete a single build, and up to 80GB (or more) for a full set of builds.”
    我也出现了这个问题,还没试过,不知道这个行不行,一会试试!