Android 5.0.2 and New Factory Images For Nexus 7 (Wi-Fi) Available

Android 5.0 is has been publicly available since early November, and the … more

Github Tutorial App Shows You How to Use… Github

Github can get pretty complicated and using it can become quite daunting, especially … more

Google Glass-like Clip-On For Regular Glasses Developed by Sony

For the price of $2,000, a pair of glasses that can run apps, take pictures, … more

Micromax Takes OnePlus to Court! Android Wear Receives Lollipop – XDA TV

Android 5.0 Lollipop is available officially for the Moto 360! … 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

Help needed to build ICS

OP donjamal

28th February 2012, 02:26 PM   |  #1  
OP Senior Member
Thanks Meter: 410
 
1,573 posts
Join Date:Joined: Jan 2010
Donate to Me
Hi!

Im trying to build ICS rom but i got this error and cant complete the compile.

host Executable: aapt (out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt)
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt] Error 1

someone can help me?
thanks

__________________
DJ
28th February 2012, 03:21 PM   |  #2  
Junior Member
Thanks Meter: 9
 
29 posts
Join Date:Joined: Jan 2012
Sent from my LG-P970 using XDA App
Last edited by amit007us; 28th February 2012 at 03:27 PM.
28th February 2012, 03:33 PM   |  #3  
OP Senior Member
Thanks Meter: 410
 
1,573 posts
Join Date:Joined: Jan 2010
Donate to Me
Quote:
Originally Posted by amit007us

Sent from my LG-P970 using XDA App

what is this?
The Following User Says Thank You to donjamal For This Useful Post: [ View ]
28th February 2012, 04:04 PM   |  #4  
Junior Member
Thanks Meter: 8
 
25 posts
Join Date:Joined: Nov 2010
More
what instruction are you using?
28th February 2012, 04:42 PM   |  #5  
agent205's Avatar
Senior Member
Flag House
Thanks Meter: 101
 
967 posts
Join Date:Joined: Sep 2011
More
Have you check the path?
It said "cannot find"
Is the path exist?

Sent from derp-mobile
28th February 2012, 06:11 PM   |  #6  
N00BY0815's Avatar
Recognized Contributor
Thanks Meter: 1,885
 
2,440 posts
Join Date:Joined: Nov 2011
Donate to Me
Maybe this command is wrong? -lz or like agent said, the path might be incorrect...
28th February 2012, 06:56 PM   |  #7  
Senior Member
Thanks Meter: 34
 
170 posts
Join Date:Joined: Jan 2012
You need zlib.
28th February 2012, 07:30 PM   |  #8  
N00BY0815's Avatar
Recognized Contributor
Thanks Meter: 1,885
 
2,440 posts
Join Date:Joined: Nov 2011
Donate to Me
Oh yeah, google tells the same Here is the solution:
Code:
sudo apt-get install zlib1g-dev
Hope you can make it soon

Here another solution: http://stackoverflow.com/questions/3...cannot-find-lz
28th February 2012, 08:35 PM   |  #9  
DiederikC's Avatar
Senior Member
Thanks Meter: 851
 
894 posts
Join Date:Joined: Sep 2011
More
Goodluck porting it bro
28th February 2012, 08:36 PM   |  #10  
OP Senior Member
Thanks Meter: 410
 
1,573 posts
Join Date:Joined: Jan 2010
Donate to Me
Thank you guyz i will try all of your ideas... anyway i installed zlib but doesnt work. Maybe i need uninstall and install it again. The prob is ive never used ubuntu before but im gonna try hope i can do it. I will post here the results!

Sent from my LG-P970 using XDA App

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes