Professional Documents
Culture Documents
1 SU806 Series NA
Reproduction forbidden without Fibocom Wireless Inc. written authorization - All Rights Reserved.
FIBOCOM SU806 Series Building Development Environment Guide Page 2 of 8
Copyright
Copyright ©2020 Fibocom Wireless Inc. All rights reserved.
Without the prior written permission of the copyright holder, any company or individual is prohibited to
excerpt, copy any part of or the entire document, or transmit the document in any form.
Notice
The document is subject to update from time to time owing to the product version upgrade or other
reasons. Unless otherwise specified, the document only serves as the user guide. All the statements,
information and suggestions contained in the document do not constitute any explicit or implicit
guarantee.
Trademark
The trademark is registered and owned by Fibocom Wireless Inc.
Change History
Update
Version Author Reviewer Approver Description
Date
Reproduction forbidden without Fibocom Wireless Inc. written authorization - All Rights Reserved.
FIBOCOM SU806 Series Building Development Environment Guide Page 3 of 8
Contents
1 Introducing.................................................................................................................... 5
2 Required Equipment and Software ............................................................................. 6
2.1 Installing Ubuntu ........................................................................................................... 6
2.2 Installing Required Additional Packages ....................................................................... 6
2.3 Installing Python........................................................................................................... 6
2.4 Installing Java ............................................................................................................... 7
3 Q&A ............................................................................................................................... 8
3.1 Lack of system library ................................................................................................... 8
3.2 GLIBC_2.17/2.18 not found .......................................................................................... 8
3.3 Incorrect java version.................................................................................................... 8
Reproduction forbidden without Fibocom Wireless Inc. written authorization - All Rights Reserved.
FIBOCOM SU806 Series Building Development Environment Guide Page 4 of 8
1 Introducing
This document introduces the steps for setting up the SU806 product development environment。
Reproduction forbidden without Fibocom Wireless Inc. written authorization - All Rights Reserved.
FIBOCOM SU806 Series Building Development Environment Guide Page 5 of 8
2 Required Equipment and Software
Table 1-1 Identifies the equipment and software needed to install and run the software.
Table 1-1 Recommended compilation environment
Software Item description Source/vendor Purpose
Ubuntu Ubuntu 14.0.4 LTS Linux Ubuntu Android build host
distribution for 64-bit Community/ OS
architecture Canonical, Ltd.
Android build
Python 2.7.6 Python
host OS
Android build
Java Java 8 open-jdk Java
host OS
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib
g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache
libgl1-mesa-dev libxml2-utils xsltproc unzip libssl-dev
Note:
Install each package individually if the installation is abnormal.
1. Install Openjdk 8
sudo apt-get update
sudo apt-get install openjdk-8-jdk
2. Add the Java 8 path to your $PATH
vim ~/.bashrc
Add export configure at last:
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
export PATH=$PATH:$JAVA_HOME/bin
3. Check java version
java -version
Reproduction forbidden without Fibocom Wireless Inc. written authorization - All Rights Reserved.
FIBOCOM SU806 Series Building Development Environment Guide Page 7 of 8
3 Q&A
3.1 Lack of system library
Ubuntu systems below version 14.04 will report this error (Google recommends version 14.04). If you
insist on using a non version of Ubuntu system, you need to install the corresponding dependency library.
For details, please refer to the following command.
If the compiled Android version does not match the Java version, make will terminate with a message
such as the following:
************************************************************
You are attempting to build with the incorrect version of java.
Your version is: WRONG_VERSION.
The correct version is: RIGHT_VERSION.
Please follow the machine setup instructions at
https://source.android.com/source/initializing.html
************************************************************
The reason is that the specified JDK could not be installed. Make sure that you have attached the correct
JDK to the beginning of the path by setting the environment variables, or remove the problematic JDK.
Reproduction forbidden without Fibocom Wireless Inc. written authorization - All Rights Reserved.
FIBOCOM SU806 Series Building Development Environment Guide Page 8 of 8