Some libraries that need to be installed are the following: sudo apt-get install Git-core GnuPG Flex Bison gperf build-essential \zip Curl Zlib1g-dev Libc6-dev LIB32NC Urses5-dev ia32-libs \x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev \libgl1-mesa-dev g++-multilib mingw32 Tofrodos python-markdown \libxml2-utils xsltproc sudo ln-s/usr/lib32/mesa/libgl.so.1/usr/lib32/mesa/libgl.so (above is for reference: "TE&OK6410 Development Board Android2.3.4 User manual 11.pdf" on the compilation of Android source part of the content) 1.
You is attempting to build on a 32-bit system.
Only 64-bit build environments is supported beyond froyo/2.2
./external/clearsilver/cgi/android.mk
./external/clearsilver/java-jni/android.mk
./external/clearsilver/util/android.mk
./external/clearsilver/cs/android.mk
Four files in
Local_cflags + =-m64
Local_ldflags + =-m64
Comment out, or replace "64" with "32"
Local_cflags + =-m32
Local_ldflags + =-m32
Then, place the/build/core/main.mk in the.
Ifneq (64,$ (findstring 64,$ (build_arch)))
Switch
Ifneq (i686,$ (findstring i686,$ (build_arch)))
2. sh: gperf: not found: sudo apt-get InstallGperf 3.Mediascanner. cpp:84:Error: Invalid conversion from ' const CHAR*GCC version too high, install gcc4.3 tune: http://blog.csdn.net/dinko321/article/details/21730121 4. Httpstream.cpp:136:error: ' Ushrt_max ' is not declared in this scope ... Solution:
Do not compile the simulator version, compile the generic version. Tune: http://www.cnblogs.com/jerryren/archive/2012/02/10/2344836.html do not compile the generic version of the above, do not know whether the simulator is recognized, the final compilation is successful (when the final verification, The discovery is the simulator to run, can direct success, worry about it)
Android 2.3.4 compilation errors and workarounds