Hi, I am currently trying to build android 4.0.4 for the first time, but i'm having some problem while building c++ files.
when I try to run "make-j4" from Android compiling instructions so I run "make -j1" to check where the error occurs and I get this.
i'm guessing i'm missing some libraries or links for it to miss "/usr/bin/ld: cannot find -lz"Code:============================================ PLATFORM_VERSION_CODENAME=AOSP PLATFORM_VERSION=4.0.4.0.4.0.4 TARGET_PRODUCT=full TARGET_BUILD_VARIANT=eng TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm TARGET_ARCH_VARIANT=armv7-a HOST_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-3.0.0-17-generic-x86_64-with-Ubuntu-11.10-oneiric HOST_BUILD_TYPE=release BUILD_ID=OPENMASTER OUT_DIR=out ============================================ 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
running Ubuntu 11.10 64-bit
Thanks for any help in advance![]()




Bookmarks