# FX30S, legato 16.10.1.m3: errors trying to build tutorial apps

**URL:** <https://forum.sierrawireless.com/t/fx30s-legato-16-10-1-m3-errors-trying-to-build-tutorial-apps/14267>\
**Category:** FX30\
**Created:** [October 24, 2018, 6:28pm UTC](https://forum.sierrawireless.com/t/fx30s-legato-16-10-1-m3-errors-trying-to-build-tutorial-apps/14267 "2018-10-24T18:28:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjbutsch](https://avatars.discourse-cdn.com/v4/letter/m/779978/32.png) [@mjbutsch](https://forum.sierrawireless.com/u/mjbutsch)\
**Post date:** [October 24, 2018, 6:28pm UTC](https://forum.sierrawireless.com/t/fx30s-legato-16-10-1-m3-errors-trying-to-build-tutorial-apps/14267/1 "2018-10-24T18:28:04Z")

</div>

I am trying to build the Legato Systems tutorial ([Legato Systems - Legato Docs](https://docs.legato.io/latest/getStartedSystems.html)) and getting all sorts of errors.

First, I got errors about not being able to find .api files, etc. I found a post that said the older legato doesn’t support the appSearch and to specify paths. So I did.

That got me to the next error.

## mark@ubuntu:~/workspace/system-test$ mksys -t wp85 mySystem.sdef [1/1] Regenerating build script [78/479] Generating IPC interface code FAILED: ifgen --output-dir ./\_build\_mySystem/wp85/api/ddc97fd9693eb6f64315e21eec71d1b3/client --gen-interface --import-dir /home/mark/FX30S/legato/interfaces --import-dir /home/mark/FX30S/legato/framework/c/inc --import-dir . --import-dir interfaces/modemServices --import-dir interfaces/positioning --import-dir ./interfaces /home/mark/FX30S/legato/interfaces/modemServices/le\_sim.api Parsing Error near line 313, column 10

## Expected W:(abcd…,abcd…)

## 00310 : \*/ 00311 : 00312 : → 00313 : USETYPES $LEGATO\_ROOT/interfaces/modemServices/le\_mdmDefs.api; 00314 : 00315 : 00316 :

## /home/mark/FX30S/legato/interfaces/modemServices/le\_sim.api:313:10: error: Expected W:(abcd…,abcd…) [78/479] Generating IPC interface code FAILED: ifgen --output-dir ./\_build\_mySystem/wp85/api/ddc97fd9693eb6f64315e21eec71d1b3/client --gen-client --gen-local --name-prefix le\_sim --file-prefix le\_sim --import-dir /home/mark/FX30S/legato/interfaces --import-dir /home/mark/FX30S/legato/framework/c/inc --import-dir . --import-dir interfaces/modemServices --import-dir interfaces/positioning --import-dir ./interfaces /home/mark/FX30S/legato/interfaces/modemServices/le\_sim.api Parsing Error near line 313, column 10

## Expected W:(abcd…,abcd…)

## 00310 : \*/ 00311 : 00312 : → 00313 : USETYPES $LEGATO\_ROOT/interfaces/modemServices/le\_mdmDefs.api; 00314 : 00315 : 00316 :

## /home/mark/FX30S/legato/interfaces/modemServices/le\_sim.api:313:10: error: Expected W:(abcd…,abcd…) [78/479] Generating IPC interface code FAILED: ifgen --output-dir ./\_build\_mySystem/wp85/api/9cc40e77ebe4270d33a41c26c8944350/client --gen-client --gen-interface --gen-local --name-prefix le\_cellnet --file-prefix le\_cellnet --import-dir /home/mark/FX30S/legato/interfaces --import-dir /home/mark/FX30S/legato/framework/c/inc --import-dir . --import-dir interfaces/modemServices --import-dir interfaces/positioning --import-dir ./interfaces /home/mark/FX30S/legato/interfaces/le\_cellnet.api Parsing Error near line 90, column 10

## Expected W:(abcd…,abcd…)

## 00087 : _/ 00088 : 00089 : → 00090 : USETYPES $LEGATO\_ROOT/interfaces/modemServices/le\_sim.api; 00091 : 00092 : 00093 : /_\*

/home/mark/FX30S/legato/interfaces/le\_cellnet.api:90:10: error: Expected W:(abcd…,abcd…)  
[78/479] Compiling C source  
ninja: build stopped: subcommand failed.  
mark@ubuntu:~/workspace/system-test$

Not sure where to go from here.

If I change the paths any, I get an error earlier in the process that it can’t find the file.

Obviously, something isn’t right. Any suggestions?

Are there tutorials for legato 16.10.1.m3 instead of trying to use newer tutorials?

Thanks,  
mark

---

<div class="post-metadata">

**Author:** ![cchenry](https://avatars.discourse-cdn.com/v4/letter/c/a183cd/32.png) [@cchenry](https://forum.sierrawireless.com/u/cchenry)\
**Post date:** [October 25, 2018, 12:21am UTC](https://forum.sierrawireless.com/t/fx30s-legato-16-10-1-m3-errors-trying-to-build-tutorial-apps/14267/2 "2018-10-25T00:21:13Z")

</div>

Hi Mark,  
There are no tutorials specific to Legato 16.10.1.m3.

There are 2 methods you can build it:

1. From the FX30 firmware page:  
[https://source.sierrawireless.com/resources/airlink/software\_downloads/fx30-firmware/fx30-firmware/](https://source.sierrawireless.com/resources/airlink/software_downloads/fx30-firmware/fx30-firmware/)

Install the 16.10.1.m3 toolchain, and extract the Legato source code into a workspace. Point your workspace to the toolchain and then build legato with: make wp85

1. Use Yocto to build Legato  
Follow the procedure outlined in your previous thread:  
[Starting out with the FX30S and questions abound](https://forum.sierrawireless.com/t/starting-out-with-the-fx30s-and-questions-abound/14077/2)

BR,  
Chris

---

<div class="post-metadata">

**Author:** ![mjbutsch](https://avatars.discourse-cdn.com/v4/letter/m/779978/32.png) [@mjbutsch](https://forum.sierrawireless.com/u/mjbutsch)\
**Post date:** [October 25, 2018, 11:32am UTC](https://forum.sierrawireless.com/t/fx30s-legato-16-10-1-m3-errors-trying-to-build-tutorial-apps/14267/3 "2018-10-25T11:32:26Z")

</div>

I am pretty sure I have Legato built.

The issue is trying to follow the tutorials and getting errors I have not been able to resolve.

Mark
