# Make red\_wp77xx: \*\* ERROR: recipe for target 'red\_wp77xx' failed

**URL:** <https://mangoh.discourse.group/t/make-red-wp77xx-error-recipe-for-target-red-wp77xx-failed/2471>\
**Category:** mangOH Red\
**Created:** [March 12, 2019, 9:55pm UTC](https://mangoh.discourse.group/t/make-red-wp77xx-error-recipe-for-target-red-wp77xx-failed/2471 "2019-03-12T21:55:22Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mpetersen](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/mpetersen/32/1177_2.png) [@mpetersen](https://mangoh.discourse.group/u/mpetersen)\
**Post date:** [March 12, 2019, 9:55pm UTC](https://mangoh.discourse.group/t/make-red-wp77xx-error-recipe-for-target-red-wp77xx-failed/2471/1 "2019-03-12T21:55:22Z")

</div>

I’ve fully stripped, reinstalled and rebuilt and end up with this same build ERROR.

\*\*\*\* ERROR:\*\*  
**/home/mbp/mangOH/mangOH.sdef:113:15: error: Unrecognized section name ‘componentSearch’.**  
**Makefile:93: recipe for target ‘red\_wp77xx’ failed**  
**make: \*\*\* [red\_wp77xx] Error 1**

Any thoughts/input appreciated!

Thanks,  
Mike

---

<div class="post-metadata">

**Author:** ![shib](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@shib](https://mangoh.discourse.group/u/shib)\
**Post date:** [March 13, 2019, 9:33pm UTC](https://mangoh.discourse.group/t/make-red-wp77xx-error-recipe-for-target-red-wp77xx-failed/2471/2 "2019-03-13T21:33:01Z")

</div>

Could be a Legato version mismatch:  
See [https://github.com/mangOH/mangOH/issues/7](https://github.com/mangOH/mangOH/issues/7)

---

<div class="post-metadata">

**Author:** ![mpetersen](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/mpetersen/32/1177_2.png) [@mpetersen](https://mangoh.discourse.group/u/mpetersen)\
**Post date:** [March 13, 2019, 10:43pm UTC](https://mangoh.discourse.group/t/make-red-wp77xx-error-recipe-for-target-red-wp77xx-failed/2471/3 "2019-03-13T22:43:55Z")

</div>

Yes I saw that already (1st order of business is to search the forums in case others have run into similar issues).

FYI: I downloaded and installed all the latest bits from the SierraWireless site: Legato-Dist-Source-mdm9x06-SWI9X06Y\_02.18.05.00.tar.bz2

from this link: [http://downloads.sierrawireless.com/AirPrime/WP77xx/Release9.1/Legato-Dist-Source-mdm9x06-SWI9X06Y\_02.18.05.00.tar.bz2](http://downloads.sierrawireless.com/AirPrime/WP77xx/Release9.1/Legato-Dist-Source-mdm9x06-SWI9X06Y_02.18.05.00.tar.bz2)

from this webpage: [https://source.sierrawireless.com/resources/airprime/software/wp77xx/wp77xx-firmware-latest-release-components/](https://source.sierrawireless.com/resources/airprime/software/wp77xx/wp77xx-firmware-latest-release-components/)

I do see I have an older 18.01 Legato SDK w/dev studio installed from Feb 2018 - but I have assumed that the Legato Framework includes the Legato sources required for this build process.

I’ll download legato-18.06.1.tar.bz2 and install Legato then go back and make red\_wp77xx again.

Is this correct??

---

<div class="post-metadata">

**Author:** ![shib](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@shib](https://mangoh.discourse.group/u/shib)\
**Post date:** [March 13, 2019, 10:51pm UTC](https://mangoh.discourse.group/t/make-red-wp77xx-error-recipe-for-target-red-wp77xx-failed/2471/4 "2019-03-13T22:51:46Z")

</div>

The mangoh distribution looks for legato in a particular location. If you look at the makefile it references LEGATO\_ROOT.

You can check what LEGATO\_ROOT is currently set to with ‘echo $LEGATO\_ROOT’.  
Running bin/legs from the legato directory sets the LEGATO\_ROOT variable.

I find it easiest to follow the mangoh getting started guide and use the legato git repo and change between versions using that. That way your LEGATO\_ROOT stays the same and you never have issues running multiple versions. Changing versions within the git repo takes no time at all.

---

<div class="post-metadata">

**Author:** ![mpetersen](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/mpetersen/32/1177_2.png) [@mpetersen](https://mangoh.discourse.group/u/mpetersen)\
**Post date:** [March 13, 2019, 11:01pm UTC](https://mangoh.discourse.group/t/make-red-wp77xx-error-recipe-for-target-red-wp77xx-failed/2471/5 "2019-03-13T23:01:43Z")

</div>

Hmmmm… I followed the Guide step-by-step. The LEGATO\_ROOT points to Legato inside legato\_framework - which has just been downloaded and installed, ie: ~/legato\_framework/legato

Inside the version file I see that it is 18.03.0. Am I mistaken that the steps in the Guide just installed “legato\_framework” via Legato Distro Source link? …I have not downloaded and installed the “Legato Source” not expecting this to be necessary (and not instructed to do so in the Guide.

Appreciate the clarifications…

---

<div class="post-metadata">

**Author:** ![shib](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@shib](https://mangoh.discourse.group/u/shib)\
**Post date:** [March 13, 2019, 11:09pm UTC](https://mangoh.discourse.group/t/make-red-wp77xx-error-recipe-for-target-red-wp77xx-failed/2471/6 "2019-03-13T23:09:11Z")

</div>

legato\_framework/legato is the legato source code.  
The separate legato source link is just a dumb way to get the source without using git.

If you checkout a different version, (you need 18.04 before your error will go away), and recompile you should be good to go.

```auto
cd legato_framework
repo init -u git://github.com/legatoproject/manifest -m legato/releases/18.04.0/legato.xml 
repo sync

```

---

<div class="post-metadata">

**Author:** ![mpetersen](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/mpetersen/32/1177_2.png) [@mpetersen](https://mangoh.discourse.group/u/mpetersen)\
**Post date:** [March 13, 2019, 11:21pm UTC](https://mangoh.discourse.group/t/make-red-wp77xx-error-recipe-for-target-red-wp77xx-failed/2471/7 "2019-03-13T23:21:42Z")

</div>

Thanks Shib - I’ll use your repo cmd. Odd that the link didn’t ‘point’ to the latest version.

Ah well - I’ll run this and should get me rolling.

Many thanks!

---

<div class="post-metadata">

**Author:** ![shib](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@shib](https://mangoh.discourse.group/u/shib)\
**Post date:** [March 13, 2019, 11:24pm UTC](https://mangoh.discourse.group/t/make-red-wp77xx-error-recipe-for-target-red-wp77xx-failed/2471/8 "2019-03-13T23:24:22Z")

</div>

If you have a look at [https://github.com/legatoproject/manifest/tree/master/legato/releases](https://github.com/legatoproject/manifest/tree/master/legato/releases)  
you can see a list of available versions you can checkout by modifying my previous command.  
You might like to skip 18.04.0 and head straight to 18.10.3 - the mangoh distro recommends using the latest.
