[Xperia Play Android Development] fareeed:
Build error?

I've followed this Tutorial up until the actual building part but when I type the command make -j16 bacon I get this (Quite long, I apologise....)

Checking build tools versions...
system/core/toolbox/Android.mk:98: warning: overriding commands for target `out/target/product/zeus/system/bin/lsof'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/zeus/system/bin/lsof'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/zeus/system/etc/mkshrc'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/zeus/system/etc/mkshrc'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/zeus/system/lib/libril.so'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/zeus/system/lib/libril.so'
No private recovery resources for TARGET_DEVICE zeus
build/core/tasks/kernel.mk:26: ***************************************************************
build/core/tasks/kernel.mk:27: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:28: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
build/core/tasks/kernel.mk:29: * Please configure your device to download the kernel *
build/core/tasks/kernel.mk:30: * source repository to kernel/semc/msm7x30
build/core/tasks/kernel.mk:31: * See http://wiki.cyanogenmod.com/wiki/Integrated_kernel_building
build/core/tasks/kernel.mk:32: * for more information *
build/core/tasks/kernel.mk:33: ***************************************************************
Header: out/host/linux-x86/obj/include/libexpat/expat.h
Header: out/host/linux-x86/obj/include/libexpat/expat_external.h
Header: out/target/product/zeus/obj/include/libexpat/expat.h
Header: out/target/product/zeus/obj/include/libexpat/expat_external.h
Header: out/host/linux-x86/obj/include/libpng/pngconf.h
Header: out/host/linux-x86/obj/include/libpng/png.h
Header: out/host/linux-x86/obj/include/libpng/pngusr.h
Header: out/target/product/zeus/obj/include/libpng/png.h
Header: out/target/product/zeus/obj/include/libpng/pngconf.h
Header: out/target/product/zeus/obj/include/libpng/pngusr.h
Header: out/target/product/zeus/obj/include/libsonivox/eas.h
Header: out/target/product/zeus/obj/include/libsonivox/eas_types.h
Header: out/target/product/zeus/obj/include/libsonivox/eas_reverb.h
Header: out/target/product/zeus/obj/include/libsonivox/jet.h
Header: out/target/product/zeus/obj/include/libsonivox/ARM_synth_constants_gnu.inc
Header: out/target/product/zeus/obj/include/libwpa_client/wpa_ctrl.h
Header: out/target/product/zeus/obj/include/librpc/rpc/clnt.h
Header: out/target/product/zeus/obj/include/librpc/rpc/pmap_clnt.h
Header: out/target/product/zeus/obj/include/librpc/rpc/rpc.h
Header: out/target/product/zeus/obj/include/librpc/rpc/rpc_router_ioctl.h
Header: out/target/product/zeus/obj/include/librpc/rpc/svc.h
Header: out/target/product/zeus/obj/include/librpc/rpc/types.h
Header: out/target/product/zeus/obj/include/librpc/rpc/xdr.h
Header: out/target/product/zeus/obj/include/libloc_api-rpc/inc/loc_api_cb.h
Header: out/target/product/zeus/obj/include/libloc_api-rpc/inc/loc_api_common.h
Header: out/target/product/zeus/obj/include/libloc_api-rpc/inc/loc_api.h
Header: out/target/product/zeus/obj/include/libloc_api-rpc/inc/loc_api_fixup.h
Header: out/target/product/zeus/obj/include/libloc_api-rpc/inc/loc_apicb_appinit.h
Header: out/target/product/zeus/obj/include/libloc_api-rpc/inc/debug.h
Header: out/target/product/zeus/obj/include/libloc_api-rpc/inc/loc_api_rpc_glue.h
Header: out/target/product/zeus/obj/include/libloc_api-rpc/inc/loc_api_sync_call.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_Audio.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_Component.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_ContentPipe.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_Core.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_Image.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_Index.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_IVCommon.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_Other.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_QCOMExtns.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_Types.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_Video.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/qc_omx_common.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/qc_omx_component.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/qc_omx_msg.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/QOMX_AudioExtensions.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/QOMX_AudioIndexExtensions.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_CoreExt.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/QOMX_CoreExtensions.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/QOMX_FileFormatExtensions.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/QOMX_IVCommonExtensions.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/QOMX_SourceExtensions.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/QOMX_VideoExtensions.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_IndexExt.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/QOMX_StreamingExtensions.h
Notice file: bootable/recovery/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//recovery/root/sbin/nandroid-md5.sh.txt
Notice file: bootable/recovery/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//recovery/root/sbin/killrecovery.sh.txt
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc -mthumb-interwork -Ibionic/libc/private -DCRT_LEGACY_WORKAROUND -Ibionic/libc/private -o out/target/product/zeus/obj/lib/crtbegin_static.o -c bionic/libc/arch-arm/bionic/crtbegin_static.S
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc -mthumb-interwork -Ibionic/libc/private -DCRT_LEGACY_WORKAROUND -Ibionic/libc/private -o out/target/product/zeus/obj/lib/crtbegin_so.o -c bionic/libc/arch-arm/bionic/crtbegin_so.S
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc -mthumb-interwork -Ibionic/libc/private -DCRT_LEGACY_WORKAROUND -Ibionic/libc/private -o out/target/product/zeus/obj/lib/crtend_so.o -c bionic/libc/arch-arm/bionic/crtend_so.S
Notice file: bionic/libc/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libc.a.txt
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc -mthumb-interwork -Ibionic/libc/private -DCRT_LEGACY_WORKAROUND -Ibionic/libc/private -o out/target/product/zeus/obj/lib/crtend_android.o -c bionic/libc/arch-arm/bionic/crtend.S
Notice file: bionic/libc/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libc.so.txt
Notice file: bionic/libc/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libc_common.a.txt
Notice file: bionic/libdl/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libdl.so.txt
Notice file: bionic/libstdc++/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libstdc++.so.txt
Notice file: bionic/libm/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libm.so.txt
Lex: libedify <= bootable/recovery/edify/lexer.l
Lex: libedify <= bootable/recovery/edify/lexer.l
Notice file: system/extras/ext4_utils/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libext4_utils.a.txt
Notice file: bootable/recovery/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/bin/recovery.txt
Notice file: system/core/libmincrypt/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libmincrypt.a.txt
Notice file: system/core/libpixelflinger/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libpixelflinger_static.a.txt
Notice file: external/libpng/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libpng.a.txt
Notice file: system/core/liblog/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/liblog.a.txt
Notice file: system/core/libcutils/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libcutils.a.txt
Notice file: bionic/libstdc++/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libstdc++.a.txt
Directory: out/target/product/zeus/root/sbin
Directory: out/target/product/zeus/root/dev
Directory: out/target/product/zeus/root/proc
Directory: out/target/product/zeus/root/sys
Directory: out/target/product/zeus/root/system
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
Notice file: system/core/init/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//root/init.txt
Directory: out/target/product/zeus/root/data
make: *** [out/target/product/zeus/obj/lib/crtend_so.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [out/target/product/zeus/obj/lib/crtend_android.o] Error 1
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make: *** [out/target/product/zeus/obj/lib/crtbegin_static.o] Error 1
make: *** [out/target/product/zeus/obj/lib/crtbegin_so.o] Error 1
fareed@fareed-X320-X420-X520:~/android/ics$
fareed@fareed-X320-X420-X520:~/android/ics$

Edit: Installed latest sources for Ubuntu 12.0.4 and Boom it worked and it began to build :D Well at least I think it did...?