install make-1.81
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
su -c 'yum install zlib-devel.i686'
host SharedLib: libESR_Portable (out/host/linux-x86/obj/lib/libESR_Portable.so)
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.6.1/libstdc++.so when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
[frank@hpc android-source]$ make
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=3.1.4.1.5.9.2.6.5
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv5te
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
============================================
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
host Executable: acp (out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp)
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.6.1/libstdc++.so when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp] Error 1
[frank@hpc android-source]$
su -c 'yum install libstdc++.i686'
host Executable: adb (out/host/linux-x86/obj/EXECUTABLES/adb_intermediates/adb)
/usr/bin/ld: cannot find libncurses.so.5
/usr/bin/ld: skipping incompatible /usr/lib64/libtinfo.so when searching for -ltinfo
/usr/bin/ld: cannot find -ltinfo
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/adb_intermediates/adb] Error 1
make: *** Waiting for unfinished jobs....
true
true
su -c 'yum install ncurses-devel.i686'
sh: gperf: command not found
calling gperf failed: 32512 at ./makeprop.pl line 96.
make: *** [out/target/product/generic/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/css/CSSPropertyNames.h] Error 25
make: *** Deleting file `out/target/product/generic/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/css/CSSPropertyNames.h'
make: *** Waiting for unfinished jobs....
su -c 'yum install gperf'
/usr/bin/ld: skipping incompatible /usr/lib64/libreadline.so when searching for -lreadline
/usr/bin/ld: cannot find -lreadline
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/sqlite3_intermediates/sqlite3] Error 1
make: *** Waiting for unfinished jobs....
su -c 'yum install libsx-devel readline-devel.i686 libXrender.i686'
/usr/bin/ld: skipping incompatible /usr/lib64/libX11.so when searching for -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/lib/libEGL_translator.so] Error 1
make: *** Waiting for unfinished jobs....
Install: out/host/linux-x86/bin/wdsclient
su -c 'yum install libX11-devel.i686'
Install: out/host/linux-x86/bin/mksnapshot
/usr/bin/ld: out/host/linux-x86/obj/EXECUTABLES/emulator_renderer_intermediates/main.o: undefined reference to symbol 'XInitThreads'
/usr/bin/ld: note: 'XInitThreads' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
/usr/lib/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/emulator_renderer_intermediates/emulator_renderer] Error 1
make: *** Waiting for unfinished jobs....
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
refer to: http://topic.csdn.net/u/20110928/23/88b54ba9-bfdd-459c-9dd4-c352c151a5d8.html
development/tools/emulator/opengl/host/renderer/Android.mk:
LOCAL_LDLIBS += -lX11
Install: out/host/linux-x86/bin/test_swiarb
host Executable: triangleCM (out/host/linux-x86/obj/EXECUTABLES/triangleCM_intermediates/triangleCM)
/usr/bin/ld: warning: libXext.so.6, needed by /usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../lib/libGL.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: out/host/linux-x86/obj/EXECUTABLES/triangleCM_intermediates/triangleCM: hidden symbol `XMissingExtension' in out/host/linux-x86/obj/STATIC_LIBRARIES/libSDL_intermediates/libSDL.a(SDL_x11dyn.o) is referenced by DSO
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/triangleCM_intermediates/triangleCM] Error 1
I cannot find libXert package, but it was appeared when installing xorg-x11-drv-intel-devel:
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
xorg-x11-drv-intel-devel i686 2.17.0-4.fc15 updates 25 k
Installing for dependencies:
libXext i686 1.2.0-2.fc15 fedora 33 k
libXfixes i686 5.0-1.fc15 fedora 23 k
libXv i686 1.0.6-2.fc15 fedora 23 k
libXvMC i686 1.0.6-3.fc15 fedora 25 k
libdrm i686 2.4.26-2.fc15 updates 72 k
libpciaccess i686 0.12.1-1.fc15 fedora 24 k
libudev i686 167-6.fc15 updates 77 k
xcb-util i686 0.3.6-2.fc15 fedora 39 k
xorg-x11-drv-intel i686 2.17.0-4.fc15 updates 201 k
Updating for dependencies:
libdrm x86_64 2.4.26-2.fc15 updates 70 k
libdrm-devel x86_64 2.4.26-2.fc15 updates 66 k
xorg-x11-drv-intel x86_64 2.17.0-4.fc15 updates 199 k
Transaction Summary
================================================================================
Install 10 Package(s)
Upgrade 3 Package(s)
reference:
http://fedoraproject.org/wiki/Google_Android