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

I am trying to build the Legato Systems tutorial (Legato Systems - Legato Docs) 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

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/

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

BR,
Chris

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