Error on make menuconfig command

Post Reply
Ashith
Posts: 19
Joined: Wed Aug 24, 2016 3:19 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Error on make menuconfig command

Post by Ashith »

Hi everyone ,

I am creating a build of android.


I exactly follow the steps of the link
http://odroid.com/dokuwiki/doku.php?id= ... ng_android

While creating the img using make command i am geting error

Code: Select all

" kernel is not clean, please run 'make mrproper' "
I am getting img if I didn't run the make menuconfig


Thank in Advance.

User avatar
rooted
Posts: 8727
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 375 times
Contact:

Re: Error on make menuconfig command

Post by rooted »

Go to the root of the kernel directory and run 'make mrproper'

Ashith
Posts: 19
Joined: Wed Aug 24, 2016 3:19 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Error on make menuconfig command

Post by Ashith »

But " make mrproper " will delete the kernel/.config file rt ?
this file should not be deleted

I added some drivers to code as specified in the magazine
http://magazine.odroid.com/wp-content/u ... 201402.pdf

so the make menuconfig should run to make this drivers active.

this is what i understand after reading that magazine...

so is there any way to remove this Bug without deleting the .config file

Any advice will be helpful

User avatar
rooted
Posts: 8727
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 375 times
Contact:

Re: Error on make menuconfig command

Post by rooted »

Just copy the .config, make mrproper and copy it back.

Ashith
Posts: 19
Joined: Wed Aug 24, 2016 3:19 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Error on make menuconfig command

Post by Ashith »

while executing above step i am getting error as follows


""

Code: Select all

 LD      lib/built-in.o
make -C kernel O=../out/target/product/odroidc2/obj/KERNEL_OBJ ARCH=arm64 \
                CROSS_COMPILE=aarch64-linux-gnu- odroidc2_defconfig
make[1]: Entering directory `/home/ashith_brahmaait/odroid-c2/kernel'
  GEN     /home/ashith_brahmaait/odroid-c2/out/target/product/odroidc2/obj/KERNEL_OBJ/Makefile
  LD      u-boot
  OBJCOPY u-boot.srec
  OBJCOPY u-boot.bin
  OBJCOPY u-boot.hex
        CPP user_task.lds
make[3]: arm-none-eabi-cpp: Command not found
make[3]: *** [/home/ashith_brahmaait/odroid-c2/bootable/uboot/build/scp_task/user_task.lds] Error 127
make[2]: *** [bl301.bin] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/ashith_brahmaait/odroid-c2/bootable/uboot'
#
# configuration written to .config
#
make[1]: Leaving directory `/home/ashith_brahmaait/odroid-c2/kernel'
make: *** [bootable/uboot/build/u-boot-orig.bin] Error 2
make: *** Waiting for unfinished jobs....
#### make failed to build some targets (01:34 (mm:ss)) ####
""

User avatar
odroid
Site Admin
Posts: 38033
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1999 times
Been thanked: 1206 times
Contact:

Re: Error on make menuconfig command

Post by odroid »

Refer this link.
http://forum.odroid.com/viewtopic.php?f ... 53#p156600

BTW, we did you post your question on U2 sub-forum not C2 sub-forum?

michale s
Posts: 12
Joined: Wed Jan 01, 2020 6:48 pm
languages_spoken: english
ODROIDs: ODROID XU4
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: Error on make menuconfig command

Post by michale s »

Hi.
I am also facing same issue in ODROID-XU4 for android,,


Anybody please help me to solve this,,

User avatar
tobetter
Posts: 8388
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 490 times
Been thanked: 1323 times
Contact:

Re: Error on make menuconfig command

Post by tobetter »

michale s wrote:
Thu Jan 16, 2020 7:10 pm
Hi.
I am also facing same issue in ODROID-XU4 for android,,


Anybody please help me to solve this,,
Please post your issue to ODROID-XU4 forum and paste the error or logs you have.

Post Reply

Return to “Android”

Who is online

Users browsing this forum: No registered users and 1 guest