• [android-x86] Build fails(/kconfig/zconf.tab.c:200:24: fatal error: zconf.hash.c: No such file)



    http://grokbase.com/p/gg/android-x86/143hpvfzqn/build-fails


    Chih-Wei Huang

       
    Mar 17, 2014 at 9:30 am
    2014-03-16 14:55 GMT+08:00 michael colvin <pizzaordeath@gmail.com>:
    michael@Office:~/android-x86$ make -j1 iso_img
    ============================================
    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=4.4.2
    TARGET_PRODUCT=android_x86
    TARGET_BUILD_VARIANT=userdebug
    TARGET_BUILD_TYPE=release
    TARGET_BUILD_APPS=
    TARGET_ARCH=x86
    TARGET_ARCH_VARIANT=x86
    TARGET_CPU_VARIANT=
    HOST_ARCH=x86
    HOST_OS=linux
    HOST_OS_EXTRA=Linux-3.5.0-47-generic-x86_64-with-Ubuntu-12.04-precise
    HOST_BUILD_TYPE=release
    BUILD_ID=KOT49H
    OUT_DIR=out
    ============================================
    including ./abi/cpp/Android.mk ...
    including ./art/Android.mk ...
    including ./bionic/Android.mk ...
    bionic/libc/Android.mk:458: TARGET_CPU_VARIANT is not defined
    including ./bootable/newinstaller/Android.mk ...
    including ./build/libs/host/Android.mk ...
    including ./build/target/board/Android.mk ...
    including ./build/tools/Android.mk ...
    .
    .
    .
    including ./system/security/softkeymaster/Android.mk ...
    including ./system/vold/Android.mk ...
    including ./tools/external/fat32lib/Android.mk ...
    including ./vendor/intel/Android.mk ...
    make[1]: Entering directory `/home/michael/android-x86/kernel'
    GEN
    /home/michael/android-x86/out/target/product/x86/obj/kernel/Makefile
    HOSTCC scripts/kconfig/zconf.tab.o
    scripts/kconfig/zconf.tab.c:200:24: fatal error: zconf.hash.c: No such file
    or directory
    compilation terminated.
    make[3]: *** [scripts/kconfig/zconf.tab.o] Error 1
    make[2]: *** [oldnoconfig] Error 2
    make[1]: *** [sub-make] Error 2
    make[1]: Leaving directory `/home/michael/android-x86/kernel'
    make: *** [out/target/product/x86/kernel] Error 2
    michael@Office:~/android-x86$
    Not sure what you have did in your source tree.
    I suggest you clean up everything and make again:

    (on the top of android-x86 tree)
    $ rm -rf * (remove the source tree but keep local repositories)
    $ repo sync -l -d (reconstruct the source tree by local repositories)
    $ . build/envsetup.sh; lunch 6 (select android_x86 target)
    $ m -j16 (build it)

  • 相关阅读:
    Learn Prolog Now 翻译
    Learn Prolog Now 翻译
    Learn Prolog Now 翻译
    Learn Prolog Now 翻译
    Learn Prolog Now 翻译
    Learn Prolog Now 翻译
    Learn Prolog Now 翻译
    Learn Prolog Now 翻译
    Learn Prolog Now 翻译
    Learn Prolog Now 翻译
  • 原文地址:https://www.cnblogs.com/ztguang/p/12645883.html
Copyright © 2020-2023  润新知