# Errors with FX30 application

**URL:** https://forum.sierrawireless.com/t/errors-with-fx30-application/14602
**Category:** FX30
**Created:** [November 27, 2018, 2:28am UTC](https://forum.sierrawireless.com/t/errors-with-fx30-application/14602 "2018-11-27T02:28:13Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![psiphi99](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/psiphi99/32/4042_2.png) [@psiphi99](https://forum.sierrawireless.com/u/psiphi99)
#### Post date: [November 28, 2018, 1:04am UTC](https://forum.sierrawireless.com/t/errors-with-fx30-application/14602/3 "2018-11-28T01:04:49Z")

</div>

Thanks Chris.

After the following mistakes:

- Not running Ubuntu 16.04, but 18.04
- Executing step 1, then 2 actually makes your build fail. Once it fails you need to do `make clean`. You should first install the toolchain (step 2), then compile the framework (step 1).

I was able to compile using `make wp85`.

However, once I added the folders to the Developer Studio I was unable to use the packages. The packages show like the screenshot below.  
 ![Screenshot%20from%202018-11-28%2014-00-36](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/c/c42f375730ae31ded2dfdfebb6b2ff5ac0500c6b.png)

Any ideas?

For my reference (and others). These are the CLI commands I used to build the framework for source:

```
# Install dependancies
apt update && apt dist-upgrade -y 
apt-get install -y build-essential python python-jinja2 cmake git subversion libsdl-dev diffstat texinfo gawk chrpath wget cpio vim zsh bash ninja-build screen sshpass bc python-git unzip libxml2-utils wget

# Toolchain
cd
wget http://downloads.sierrawireless.com/legato/16103/poky-swi-ext-glibc-x86_64-meta-toolchain-swi-ext-armv7a-vfp-neon-toolchain-swi-ext-1.7.3.sh
chmod u+x poky-swi-ext-glibc-x86_64-meta-toolchain-swi-ext-armv7a-vfp-neon-toolchain-swi-ext-1.7.3.sh 
./poky-swi-ext-glibc-x86_64-meta-toolchain-swi-ext-armv7a-vfp-neon-toolchain-swi-ext-1.7.3.sh 

# Application Framework
wget -O legato-16.10.1.m3.tar.bz2 https://source.sierrawireless.com/~/media/support_downloads/airlink/software/fx30/r14.0.4.002/legato-16.10.1.m3.tar.ashx?la=en
tar xjf legato-16.10.1.m3.tar.bz2 
cd legato-16.10.1.m3

WP85_TOOLCHAIN_DIR="/opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi"
WP85_TOOLCHAIN_PREFIX="arm-poky-linux-gnueabi-"

make localhost
make wp85

```

UPDATE: Updated the above “script” to add WP85\_TOOLCHAIN\_DIR and WP85\_TOOLCHAIN\_PREFIX

---

_[View the full topic](https://forum.sierrawireless.com/t/errors-with-fx30-application/14602)._
