i have ubuntu installed on the lenovo s10e netbook. i am not sure if this is related to the issue. i am new to source builds so i would appreciate some direction. i followed instructions on cyanogen's wiki (http://wiki.cyanogenmod.com/index.php/Building_from_source)
i am stuck on the last step of 'Building CyanogenMod' after starting the build process.
$make -j4
PLATFORM_VERSION_CODENAME=AOSP PLATFORM_VERSION=AOSP TARGET_PRODUCT=generic TARGET_BUILD_VARIANT=eng TARGET_SIMULATOR=false TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm HOST_ARCH=x86 HOST_OS=linux HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
Install: out/host/linux-x86/framework/apicheck.jar Install: out/host/linux-x86/framework/clearsilver.jar Install: out/host/linux-x86/framework/droiddoc.jar host SharedLib: libneo_cgi (out/host/linux-x86/obj/lib/libneo_cgi.so) /usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../libz.so when searching for -lz /usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../libz.a when searching for -lz /usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz /usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status make: * [out/host/linux-x86/obj/lib/libneo_cgi.so] Error 1