Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,728,180 Members 46,985 Now Online
XDA Developers Android and Mobile Development Forum

Help needed to build ICS

Tip us?
 
donjamal
Old
#1  
Senior Member - OP
Thanks Meter 339
Posts: 1,443
Join Date: Jan 2010

 
DONATE TO ME
Default Help needed to build ICS

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
DJ

Don't forget to press thanks if i helped.

You can also donate to me on the below link:
 
amit007us
Old
(Last edited by amit007us; 28th February 2012 at 02:27 PM.)
#2  
Junior Member
Thanks Meter 8
Posts: 26
Join Date: Jan 2012
Sent from my LG-P970 using XDA App
 
donjamal
Old
#3  
Senior Member - OP
Thanks Meter 339
Posts: 1,443
Join Date: Jan 2010

 
DONATE TO ME
Quote:
Originally Posted by amit007us View Post
Sent from my LG-P970 using XDA App
what is this?
DJ

Don't forget to press thanks if i helped.

You can also donate to me on the below link:
The Following User Says Thank You to donjamal For This Useful Post: [ Click to Expand ]
 
ivangoto
Old
#4  
Junior Member
Thanks Meter 8
Posts: 25
Join Date: Nov 2010
what instruction are you using?
 
agent205
Old
#5  
agent205's Avatar
Senior Member
Thanks Meter 101
Posts: 967
Join Date: Sep 2011
Location: House
Have you check the path?
It said "cannot find"
Is the path exist?

Sent from derp-mobile

 



 
N00BY0815
Old
#6  
N00BY0815's Avatar
Recognized Contributor
Thanks Meter 1876
Posts: 2,391
Join Date: Nov 2011

 
DONATE TO ME
Maybe this command is wrong? -lz or like agent said, the path might be incorrect...

Read it, if you're new in this forum!

 
1aca
Old
#7  
Senior Member
Thanks Meter 34
Posts: 170
Join Date: Jan 2012
You need zlib.
 
N00BY0815
Old
#8  
N00BY0815's Avatar
Recognized Contributor
Thanks Meter 1876
Posts: 2,391
Join Date: 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

Read it, if you're new in this forum!

 
DiederikC
Old
#9  
DiederikC's Avatar
Senior Member
Thanks Meter 850
Posts: 879
Join Date: Sep 2011
Goodluck porting it bro
 
donjamal
Old
#10  
Senior Member - OP
Thanks Meter 339
Posts: 1,443
Join Date: 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
DJ

Don't forget to press thanks if i helped.

You can also donate to me on the below link:

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...