Enable the Hidden Notification LED on the Google Nexus 6!

LED notification lights have existed on Android devices since the very beginnings … more

MX Player Ready to Rock on Lollipop

A good video player should be reliable and free. One of the XDA Community Apps, MX Player, meets both of … more

How to Disable Data Encryption on Nexus 6

In late September, Google decided to step on NSA’s toes and turn on encryption by default in … more

DJI Phantom 2 Vision+ Review – XDA TV

The holidays will be here in no time, so why not start thinking about gifts now? Youll be ahead … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Error when compiling android

OP brownmonkey300

24th March 2014, 03:27 AM   |  #1  
brownmonkey300's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 102
 
252 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, 10:10 AM   |  #2  
SMillerNL's Avatar
Recognized Contributor
Flag Lisse
Thanks Meter: 1,054
 
3,249 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, 10:15 AM   |  #3  
brownmonkey300's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 102
 
252 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, 11:10 AM   |  #4  
SMillerNL's Avatar
Recognized Contributor
Flag Lisse
Thanks Meter: 1,054
 
3,249 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, 11:21 AM   |  #5  
brownmonkey300's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 102
 
252 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, 11:47 AM   |  #6  
SMillerNL's Avatar
Recognized Contributor
Flag Lisse
Thanks Meter: 1,054
 
3,249 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