ubuntu12.04 under the compilation of the full A33 android6.0 source code

Source: Internet
Author: User

Please point out any errors.  

4 days into the job, in order to compile android6.0 is very annoying, met a lot of problems, will I encountered the problems written out, do a summary .

I use ubuntu12.04,16.04 should also be feasible.

The problem with compiling is that most of the problems with the package are missing, first before compiling

I loaded Ubuntu with OPENJDK7, but before reading the development manual needs jdk1.6, first to download Jdk-6-linux-64.bin installation, configure environment variables, after configuring environment variables

Execute the following command, just compile, there's a lot of it, but just in case.
$sudo apt-get Install Git-core GnuPG Flex Bison gperf Libsdl1.2-dev Libesd0-dev Libwxgtk2.6-dev
Build-essential Zip Curl Libncurses5-dev zlib1g-dev valgrind gitk gettext texinfo uboot-mkimage
Gcc-multilib g++-multilib libc6-dev libc6-dev-i386 lib32ncurses5-dev ia32-libs X11proto-core-dev
Libx11-dev lib32readline-gplv2-dev lib32z1-dev libc6-dev libgl1-mesa-dev mingw32 Tofrodos
Python-markdown libxml2-utils meld docbook-utils xmlto libx11-dev:i386 libreadline6-dev:i386
Libreadline6-dev libgl1-mesa-glx:i386 libgl1-mesa-glx zlib1g-dev:i386 exuberant-ctags Emacs Cscope
mutt-patched libglib2.0-dev libatk1.0-dev libdirectfb-dev libgtk2.0-dev libghc6-zlib-dev libtool libtool-doc autoconf
Automake xsltproc gcc-4.4 g++-4.4 g++-4.4-multilib gcc-4.4-multilib GCC-4.5-ARM-LINUX-GNUEABIHF
GCC-ARM-LINUX-GNUEABIHF G++-ARM-LINUX-GNUEABIHF C++-ARM-LINUX-GNUEABIHF


$sudo ln-s/usr/lib/i386-linux-gnu/mesa/libgl.so.1/usr/lib/i386-linux-gnu/libgl.so

Change GCC version to 4.4, default is 4.6

Full Chi android6.0 Source code

After the installation of the environment

Enter Lichee./build.sh Config

Choose your model, see the development manual for details, here's my sun8iw5p1.

Continue to select Android

Continue to select linux-3.4

Continue to select H7

Execute command

./build.sh

Execute command

Cd.. /android

SOURCE build/envetup.sh

Here according to your needs to choose, has the correspondence relation

Execute command

extract-bsp

Start compiling

MAKE-JX (Sets the value of x, typically twice times the core, affecting the compilation speed)
I've compiled this article for almost 2 hours, and I've set a value of 4.

It took me about 140 minutes to succeed.

ubuntu12.04 under the compilation of the full A33 android6.0 source code

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.