我在聯想s10e上網本上安裝了ubuntu。我不確定這是否與問題有關。我是新來源構建,所以我會感激一些方向。我遵循氰的wiki上的說明(http://wiki.cyanogenmod.com/index.php/Building_from_source)android build源代碼錯誤
我被困在開始構建過程後'構建CyanogenMod'的最後一步。
$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
您正在使用哪個版本的Ubuntu? – 2010-07-07 05:34:12
我會加倍這個問題。使用Ubuntu 10.04 LTS。同樣的問題。 – folone 2010-07-07 16:01:08
Ubunutu上網本版 - 最新ie即ubuntu-10.04-netbook-i386 RAM:512 MB(已安裝)/1.5 MB內存:512 KB,二級緩存 GB(最大值),DDR2 SDRAM,667 MHz,PC2-5300(提供的內存已焊接) 硬盤:80 GB,串行ATA-150,5400轉 – slimatic 2010-07-07 16:49:14