You are on page 1of 8

FIBOCOM SU806 Series Building

FIBOCOM SU806 Series Building


Development Environment Guide
Development Environment Guide
Version: V1.0.0
Version: V1.0.0
Date: 2020-07-27
Date: 2020-07-27
Applicability Type
No. Product Model Description

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

V1.0.0 Han Meng Zhang Haifei Li Yongfeng 2020-07-27 Initial version

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

2.1 Installing Ubuntu

Install Ubuntu 14.04 LTS by USB.


1. Download Ubuntu 14.04 iso file
Websites: http://releases.ubuntu.com/14.04/
2. Download Unetbootin tool
Websites: https://unetbootin.github.io/
3. Create Live USB based on Ubuntu 14.04 OS

2.2 Installing Required Additional Packages

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.

2.3 Installing Python

1. Download Python 2.7.6


Websites: https://legacy.python.org/
2. Install Python
tar zxvf filename.tgz
cd Python-2.7.6
Reproduction forbidden without Fibocom Wireless Inc. written authorization - All Rights Reserved.
FIBOCOM SU806 Series Building Development Environment Guide Page 6 of 8
./configure
make all
make install
3. Check Python version
python -V

2.4 Installing Java

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

Fatal error: openssl/bio.h error prompt.


1.Install openssl.
sudo apt-get install openssl
2.Compile error after include <openssl/ssl.h>,if ’XXX not found‘ occur again,the solution is:
sudo apt-get install libssl-dev build-essential zlibczlib-bin libidn11-dev libidn11

3.2 GLIBC_2.17/2.18 not found

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.

3.3 Incorrect java version

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

You might also like