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

Unread post by Ashith » Thu Aug 25, 2016 7:00 pm

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: 7277
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 465 times
Been thanked: 129 times
Contact:

Re: Error on make menuconfig command

Unread post by rooted » Thu Aug 25, 2016 8:18 pm

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

Unread post by Ashith » Thu Aug 25, 2016 9:06 pm

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: 7277
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 465 times
Been thanked: 129 times
Contact:

Re: Error on make menuconfig command

Unread post by rooted » Thu Aug 25, 2016 9:27 pm

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

Unread post by Ashith » Thu Aug 25, 2016 10:31 pm

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: 33398
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 409 times
Been thanked: 464 times
Contact:

Re: Error on make menuconfig command

Unread post by odroid » Fri Aug 26, 2016 11:23 am

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: 10
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

Unread post by michale s » 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,,

User avatar
tobetter
Posts: 4589
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 84 times
Been thanked: 327 times
Contact:

Re: Error on make menuconfig command

Unread post by tobetter » Fri Jan 17, 2020 1:56 am

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 5 guests