android kernel building failed

Discussion in 'Android' started by dillibabu, Aug 30, 2017.

  1. dillibabu

    dillibabu New Member

    Joined:
    May 6, 2017
    Messages:
    15
    Likes Received:
    0
    hi,

    i am building android for udoo neo, i have build successfully and working fine. Now i have select driver for tsc2007 touch under device driver ---> input device support ---> touch screens ----> <M> TSC2007 based touchscreens

    then i save and exit when i give make command on terminal i can't generate tsc2007.ko and i got following error

    including ./system/vold/Android.mk ...
    including ./tools/external/fat32lib/Android.mk ...
    No private recovery resources for TARGET_DEVICE udooneo_6sx
    build/core/main.mk:1038: warning: overriding commands for target `clean'
    external/tools/iw/Makefile:126: warning: ignoring old commands for target `clean'
    mkdir -p out/target/product/udooneo_6sx/obj/KERNEL_OBJ
    rm -f out/target/product/udooneo_6sx/kernel
    make -C kernel_imx udoo_neo_android_defconfig ARCH=arm CROSS_COMPILE=`pwd`/prebuilts/gcc/linux-x86/arm/arm-eabi-5.3/bin/arm-eabi- LOADADDR=0x80008000 O=`pwd`/out/target/product/udooneo_6sx/obj/KERNEL_OBJ
    GEN /home/malar/myandroid/out/target/product/udooneo_6sx/obj/KERNEL_OBJ/Makefile
    #
    # configuration written to .config
    #
    make -C kernel_imx -j4 uImage ARCH=arm CROSS_COMPILE=`pwd`/prebuilts/gcc/linux-x86/arm/arm-eabi-5.3/bin/arm-eabi- LOADADDR=0x80008000 O=`pwd`/out/target/product/udooneo_6sx/obj/KERNEL_OBJ
    if [ ! -e include/config/auto.conf ]; then make -f /home/malar/myandroid/kernel_imx/Makefile silentoldconfig ; fi
    CHK include/config/kernel.release
    GEN /home/malar/myandroid/out/target/product/udooneo_6sx/obj/KERNEL_OBJ/Makefile
    CHK include/generated/uapi/linux/version.h
    if [ ! -e include/config/auto.conf ]; then make -f /home/malar/myandroid/kernel_imx/Makefile silentoldconfig ; fi
    Using /home/malar/myandroid/kernel_imx as source for kernel
    /home/malar/myandroid/kernel_imx is not clean, please run 'make mrproper'
    in the '/home/malar/myandroid/kernel_imx' directory.
    CHK include/generated/utsrelease.h
    make[2]: *** [prepare3] Error 1
    make[1]: *** [sub-make] Error 2
    make: *** [out/target/product/udooneo_6sx/kernel] Error 2

    #### make failed to build some targets (02:41 (mm:ss)) ####


    i am following procedures from this Link https://www.udoo.org/docs-neo/Advanced_Topics/Compile_Android_From_Source.html

    if i made any mistake please let me know...

    i am using ubuntu 14.04 64 bit system.

    thank you,
     
  2. balukio

    balukio New Member

    Joined:
    Jul 11, 2020
    Messages:
    4
    Likes Received:
    0
    I'm trying to build an Android kernel for the arm architecture, but it fails all the time and it gives me this error:

    Using /home/build/tommolini_android/omap-android-kernel as source for kernel
    /home/build/tommolini_android/omap-android-kernel is not clean, please run 'make mrproper'
    in the '/home/build/tommolini_android/omap-android-kernel' directory.
    make[1]: *** [prepare3] Error 1
    make[1]: *** Waiting for unfinished jobs....
    HOSTLD scripts/mod/modpost
    make[1]: *** wait: No child processes. Stop.
    make: *** [sub-make] Error 2
    If I run make mrproper inside that directory and do again make ARCH=arm -j8 it says that it doesn't find .config file:

    ***
    *** Configuration file ".config" not found!
    ***
    *** Please run some configurator (e.g. "make oldconfig" or
    *** "make menuconfig" or "make xconfig").
    ***
    make[3]: *** [silentoldconfig] Error 1
    make[2]: *** [silentoldconfig] Error 2
    make[1]: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
    make: *** [sub-make] Error 2.
    snaptube vidmate word to pdf
     
  3. alexken123

    alexken123 UDOOer

    Joined:
    Jul 17, 2024
    Messages:
    1
    Likes Received:
    0
    Have you checked if all the necessary dependencies are installed on your system? Sometimes, missing libraries or tools can cause the kernel building process to fail. Also, make sure you are following the correct procedure outlined in the documentation. If you provide more details about the error you are encountering, we may be able to offer more specific advice. Good luck!
     

Share This Page