Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,814 Members 43,850 Now Online
XDA Developers Android and Mobile Development Forum

Error when compiling android

Tip us?
 
brownmonkey300
Old
#1  
brownmonkey300's Avatar
Senior Member - OP
Thanks Meter 71
Posts: 182
Join Date: Mar 2014
Location: Mumbai
Default Error when compiling android

Code:
No private recovery resources for TARGET_DEVICE mako
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
prebuilts/tools/gcc-sdk/gcc: line 40: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux-gcc: No such file or directory
make: *** [/home/karishnu/android/omni/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o] Error 127

real	2m7.172s
user	0m57.349s
sys	0m20.914s
karishnu@karishnu-PC:~/android/omni$
I am using ubuntu 13.10.

What I have tried :

1. Reinstalling GCC and build-essentials
2. checked if i686-linux-gcc is present (it is)
3. resynced the repo many times

What I found :

mkbootimg.o is missing from the directory.

.................................................. .............................
Pls temme what to do. I have tried a lot to fix this problem but in vain. There are no other threads mentioning the same problem also.
 
SMillerNL
Old
#2  
SMillerNL's Avatar
Recognized Contributor
Thanks Meter 1,048
Posts: 3,233
Join Date: Sep 2011
Location: Lisse

 
DONATE TO ME
You have to be using a 64-bit system to compile android

Sent from my Nexus 4, want to know my current project? Check http://team-fun.eu

"I actually don't want any Thanks. I don't need to be Thanked, because I just want to make XDA a better place..."
http://team-fun.eu
 
brownmonkey300
Old
#3  
brownmonkey300's Avatar
Senior Member - OP
Thanks Meter 71
Posts: 182
Join Date: Mar 2014
Location: Mumbai
Quote:
Originally Posted by SMillerNL View Post
You have to be using a 64-bit system to compile android

Sent from my Nexus 4, want to know my current project? Check http://team-fun.eu
I am using a 64 bit system with 2 Gb ram

Sent from my Nexus 4 using Tapatalk
Press the Thanks Button!!
 
SMillerNL
Old
#4  
SMillerNL's Avatar
Recognized Contributor
Thanks Meter 1,048
Posts: 3,233
Join Date: Sep 2011
Location: Lisse

 
DONATE TO ME
Quote:
Originally Posted by brownmonkey300 View Post
I am using a 64 bit system with 2 Gb ram

Sent from my Nexus 4 using Tapatalk
prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux-gcc: No such file or directory

This is the important line in that part. Are you sure that this folder/file exists?


Sent from my Nexus 4, want to know my current project? Check http://team-fun.eu

"I actually don't want any Thanks. I don't need to be Thanked, because I just want to make XDA a better place..."
http://team-fun.eu
The Following User Says Thank You to SMillerNL For This Useful Post: [ Click to Expand ]
 
brownmonkey300
Old
#5  
brownmonkey300's Avatar
Senior Member - OP
Thanks Meter 71
Posts: 182
Join Date: Mar 2014
Location: Mumbai
Quote:
Originally Posted by SMillerNL View Post
prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux-gcc: No such file or directory

This is the important line in that part. Are you sure that this folder/file exists?


Sent from my Nexus 4, want to know my current project? Check http://team-fun.eu
Yeah I double checked... Thats what surprises me.. It is present and in the same directory as mentioned.

Sent from my Nexus 4 using Tapatalk
Press the Thanks Button!!
 
SMillerNL
Old
#6  
SMillerNL's Avatar
Recognized Contributor
Thanks Meter 1,048
Posts: 3,233
Join Date: Sep 2011
Location: Lisse

 
DONATE TO ME
Maybe the answers on this page can help. http://forum.xda-developers.com/show...1442870&page=3

Also, make sure you installed all the packages. Both those required by AOSP as by CM

Sent from my Nexus 4, want to know my current project? Check http://team-fun.eu

"I actually don't want any Thanks. I don't need to be Thanked, because I just want to make XDA a better place..."
http://team-fun.eu
The Following User Says Thank You to SMillerNL For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


ARChon Lets You Run Android Apps in Google Chrome Browser

Not too long ago, Google added the ability torun select Android applications on … more

Flyme OS Finds Its Way to the Google Nexus 5

Flyme OS is a heavily modified Android variantdeveloped by the Meizu team for their MX … more

MultiROM Makes Its Way to the LG G2

Over the last few weeks, we’ve seen quite a fewflagship (and former flagship) devicesget to … more