FORUMS

Other than XDA (of Course), What’s Your Favorite Site That Covers Android?

There is a number of other great sites that cover … more

Introducing Voices of XDA: Have Your Ideas Heard

By far the greatest assets we have at XDA-Developers are you, the developers, the eager … more

Unofficial Xposed For Lollipop Touchwiz With Flashable Zip

XDA Recognized Developer arter97 has released an unofficial build … more

YotaPhone 2 Pre-Order, Xperia Z1 Price Cut – XDA TV

Android Wear 5.1.1 OTA downloads are now available. That and much more news is … more
Post Reply Subscribe to Thread Email Thread

Error when compiling android

24th March 2014, 02:27 AM |#1  
brownmonkey300's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 103
 
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,061
 
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: 103
 
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,061
 
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: 103
 
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,061
 
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