Android 5.0 Favorite Features, Release November 3rd? – XDA TV

Google Confirms Android 5.0 Lollipop for November 3rd! That and much more … more

Prepare Your Build Machines: Ubuntu 14.10 Utopic Unicorn Now Official

Today is an important day for any and all Linux enthusiasts. One of the … more

Track the Time You Waste on Social Media with Socials Addict

When you use your phone, you often don’t even realize how much time you … more

Document the Story of Your Social Life with 8tory

The different forms of social media are growing every day. It’s hard to imagine a day … more
Post Reply

Error when compiling android

OP brownmonkey300

24th March 2014, 02:27 AM   |  #1  
brownmonkey300's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 77
 
197 posts
Join Date:Joined: Mar 2014
More
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.
24th March 2014, 09:10 AM   |  #2  
SMillerNL's Avatar
Recognized Contributor
Flag Lisse
Thanks Meter: 1,053
 
3,245 posts
Join Date:Joined: Sep 2011
Donate to Me
More
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
24th March 2014, 09:15 AM   |  #3  
brownmonkey300's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 77
 
197 posts
Join Date:Joined: Mar 2014
More
Quote:
Originally Posted by SMillerNL

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
24th March 2014, 10:10 AM   |  #4  
SMillerNL's Avatar
Recognized Contributor
Flag Lisse
Thanks Meter: 1,053
 
3,245 posts
Join Date:Joined: Sep 2011
Donate to Me
More
Quote:
Originally Posted by brownmonkey300

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
The Following User Says Thank You to SMillerNL For This Useful Post: [ View ]
24th March 2014, 10:21 AM   |  #5  
brownmonkey300's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 77
 
197 posts
Join Date:Joined: Mar 2014
More
Quote:
Originally Posted by SMillerNL

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
24th March 2014, 10:47 AM   |  #6  
SMillerNL's Avatar
Recognized Contributor
Flag Lisse
Thanks Meter: 1,053
 
3,245 posts
Join Date:Joined: Sep 2011
Donate to Me
More
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
The Following User Says Thank You to SMillerNL For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android by ThreadRank