# Legato config toolchain error under Ubuntu and Legato 17.07.2

**URL:** https://forum.legato.io/t/legato-config-toolchain-error-under-ubuntu-and-legato-17-07-2/2777
**Category:** Uncategorized
**Created:** [November 10, 2017, 8:09pm UTC](https://forum.legato.io/t/legato-config-toolchain-error-under-ubuntu-and-legato-17-07-2/2777 "2017-11-10T20:09:00Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![griggs](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@griggs](https://forum.legato.io/u/griggs)
#### Post date: [November 10, 2017, 8:09pm UTC](https://forum.legato.io/t/legato-config-toolchain-error-under-ubuntu-and-legato-17-07-2/2777/1 "2017-11-10T20:09:00Z")

</div>

Also posted on MangOH forum

I’m running the Ubuntu 16.04 VM under Win 10, talking to a MangOH Red.

Ping and SSH work OK  
Using the Getting Started guide, entered the cfglegato command, which came back with  
"No toolchain found for target 'ar7  
Unable to find compatible cross-build toochain for target 'ar7’  
No toolchain found for target 'ar86’  
Unable to find compatible cross-build toochain for target ‘ar86’ "

After this, not able to send update file to MangOH board. Command is:

instsys mangOH\_Red.wp85.update 192.168.2.2

I am assuming this fails (“not an update file”, but it does exist) because the config line above failed.

Fist things first, what tools do I need to install to get cfglegato working?

Thanks.

---

<div class="post-metadata">

### Author: ![muralinagraj](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@muralinagraj](https://forum.legato.io/u/muralinagraj)
#### Post date: [November 15, 2017, 2:08pm UTC](https://forum.legato.io/t/legato-config-toolchain-error-under-ubuntu-and-legato-17-07-2/2777/2 "2017-11-15T14:08:29Z")

</div>

Hi griggs,  
You have mentioned that you are using Legato 17.07.2 AF, But there is no tool chain available yet in the sierra source ([https://source.sierrawireless.com/resources/legato/downloads/](https://source.sierrawireless.com/resources/legato/downloads/)) corresponding to Legato 17.07.2 . Did you fallow the exact steps from the beggining menationed in the mangoH Red getting started user guide to install the tool chain and others?

Also what is the error you see when you run “instsys mangOH\_Red.wp85.update 192.168.2.2” command to send the update file to mangoH board?

Can you try with “instapp mangOH\_Red.wp85.update 192.168.2.2” and check if it works?

Regards,  
Muralidhara N.

---

<div class="post-metadata">

### Author: ![CoRfr](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/corfr/32/69_2.png) [@CoRfr](https://forum.legato.io/u/CoRfr)
#### Post date: [November 15, 2017, 6:01pm UTC](https://forum.legato.io/t/legato-config-toolchain-error-under-ubuntu-and-legato-17-07-2/2777/3 "2017-11-15T18:01:39Z")

</div>

It is ‘fine’ for the system not to found a toolchain for ar7/ar86.  
What matters if that it can find one for your module, ie wp85.

The `instsys` command should not fail if the build was successful.  
Can you post the exact logs?

MangOH post: [Legato config toolchain error under Ubuntu and Legato 17.07.2 - #3 by griggs - mangOH forum](http://forum.mangoh.io/t/legato-config-toolchain-error-under-ubuntu-and-legato-17-07-2/891/3)

---

<div class="post-metadata">

### Author: ![griggs](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@griggs](https://forum.legato.io/u/griggs)
#### Post date: [November 15, 2017, 6:55pm UTC](https://forum.legato.io/t/legato-config-toolchain-error-under-ubuntu-and-legato-17-07-2/2777/4 "2017-11-15T18:55:42Z")

</div>

I fixed the issue last night, but I had to do a complete re-build and re-install. Not certain why the first did not take - the second effort was exactly the same as the first. At this point, however, data calls are up and progress is being made.

Thank you all, however. The response on this forum is phenomenal.

---

<div class="post-metadata">

### Author: ![wedapashi](https://avatars.discourse-cdn.com/v4/letter/w/67e7ee/32.png) [@wedapashi](https://forum.legato.io/u/wedapashi)
#### Post date: [November 20, 2017, 5:43am UTC](https://forum.legato.io/t/legato-config-toolchain-error-under-ubuntu-and-legato-17-07-2/2777/5 "2017-11-20T05:43:39Z")

</div>

@muralinagraj: Hey hi. I think it is okay to build applications with an older toolchain based on a higher version of legato. I don’t have a resource which says so, but for a month I have been able to build and deploy applications built on legato-17.08.1 using a toolchain that was released in compatibility with older legato version, 16.01.3 for that matter.  
And, by no means apps that I build seems to misbehave, they execute just fine.

Its just that there are some existing reference applications for mangOH devices, which seems to be hard to compile because of certain backward compatibility issues in some sections of the code. In that particular case, I had to rollback to older versions like legato-16.01.3.
