# Make red\_wp85 gives error

**URL:** <https://mangoh.discourse.group/t/make-red-wp85-gives-error/2896>\
**Category:** mangOH Red\
**Created:** [September 6, 2019, 10:55am UTC](https://mangoh.discourse.group/t/make-red-wp85-gives-error/2896 "2019-09-06T10:55:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanketnxm](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@sanketnxm](https://mangoh.discourse.group/u/sanketnxm)\
**Post date:** [September 6, 2019, 10:55am UTC](https://mangoh.discourse.group/t/make-red-wp85-gives-error/2896/1 "2019-09-06T10:55:27Z")

</div>

Makefile:102: ==== OCTAVE\_ROOT not defined ====  
Not building LEGATO due to $LEGATO == 0

# NOTE: When using leaf, these TOOLCHAIN\_X variables don’t need to be passed to mksys.

TOOLCHAIN\_DIR=/opt/swi/SWI9X15Y\_07.14.01.00/sysroots/x86\_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi   
TOOLCHAIN\_PREFIX=arm-poky-linux-gnueabi-   
mksys -t wp85 --cflags=-O2 --object-dir=build/red\_wp85 --output-dir=build/update\_files red.sdef  
\*\* ERROR:  
/home/sanketg/mangOH/shared.sdef:41:15: error: Unrecognized section name ‘componentSearch’.  
Makefile:131: recipe for target ‘red\_wp85’ failed  
make: \*\*\* [red\_wp85] Error 1

---

<div class="post-metadata">

**Author:** ![dfrey](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/dfrey/32/303_2.png) [@dfrey](https://mangoh.discourse.group/u/dfrey)\
**Post date:** [September 18, 2019, 6:30pm UTC](https://mangoh.discourse.group/t/make-red-wp85-gives-error/2896/2 "2019-09-18T18:30:31Z")

</div>

Here’s what I did:

Create a leaf profile for the WP85 based on release 16.1 and Legato 19.04.0  
`leaf setup -p swi-wp85_2.8.0 wp85_r16.1_19.04.0`

Activate the leaf profile  
`leaf profile switch wp85_r16.1_19.04.0`  
`leaf shell`

Build  
`make red_wp85`

That builds for me. Also, FYI you should surround multi-line code or terminal output with triple backticks so that it’s formatted nicely.
