在编译android4.1 全志A10 的时候出现下面问题,我已经把在lichee目录下生成的out目录拷贝到android 目录下面 device\softwinner\crane-m1003h6 目录下了。
extract-bsp
cp: cannot stat `/home/abc/workspace/exdroid/android4.1/../lichee/out/android/bImage': No such file or directory
/home/abc/workspace/exdroid/android4.1/device/*/crane-m1003h6/bImage copied!
cp: cannot stat `/home/abc/workspace/exdroid/android4.1/../lichee/out/android/lib/modules/*/*': No such file or directory
/home/abc/workspace/exdroid/android4.1/device/*/crane-m1003h6/modules copied!
chmod: cannot access `modules/modules/*': No such file or directory

解决方案 »

  1.   

    http://asysbang.com/forum.php?mod=viewthread&tid=64&extra=page%3D1
      

  2.   

    现在编译出现下面这个问题,这个库libgabi++是做什么的?Copy: dalvik (out/host/linux-x86/obj/EXECUTABLES/dalvik_intermediates/dalvik)
    host SharedLib: libssl (out/host/linux-x86/obj/lib/libssl.so)
    Copy: out/host/linux-x86/usr/icu/icudt48l.dat
    target Symbolic: libcrypto (out/target/product/crane-m1003h6/symbols/system/lib/libcrypto.so)
    Install: out/host/linux-x86/lib/libcrypto.so
    make: *** No rule to make target `out/target/product/crane-m1003h6/obj/SHARED_LIBRARIES/libgabi++_intermediates/export_includes', needed by `out/target/product/crane-m1003h6/obj/SHARED_LIBRARIES/libicuuc_intermediates/import_includes'.  Stop.
    make: *** Waiting for unfinished jobs....
      

  3.   

    make libgabi++
    看看单独编译可以不
      

  4.   

    build/core/Makefile:27: warning: overriding commands for target `out/target/product/crane-m1003h6/system/app'
    build/core/Makefile:27: warning: ignoring old commands for target `out/target/product/crane-m1003h6/system/app'
    PRODUCT_COPY_FILES frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml ignored.
    No private recovery resources for TARGET_DEVICE crane-m1003h6
    make: Nothing to be done for `all_modules'.
    make: Leaving directory `/home/abc/workspace/exdroid/android4.1'
    单独编译 libgabi++是上面打印,编译应该也没成功。内核编译的问题?是什么问题呢
    但显示内核编译是成功的
      

  5.   

    libgabi++ 代码在abi/cpp下面,你比对下这个目录代码和原生的代码是否一样再看看out/target/product/crane-m1003h6/obj/SHARED_LIBRARIES/libgabi++_intermediates/export_includes  这个文件是否存在如果存在那就重新编译试试
      

  6.   

    你的android4.1版本的源码,在A10上能跑?
    4.2版本针对的是A20!
      

  7.   

    找了下libgabi++ 代码 是在android4.1\ndk\sources\cxx-stl\gabi++目录下。out/target/product/crane-m1003h6/obj/SHARED_LIBRARIES/libgabi++_intermediates 这个都没有找到
      

  8.   

    执行
    extract-bsp命令的时候是成功的,说明内核的镜像文件拷贝成功的
    /home/abc/workspace/exdroid/android4.1/device/*/crane-m1003h6/bImage copied!
    /home/abc/workspace/exdroid/android4.1/device/*/crane-m1003h6/modules copied!