# Building errors with mangoh yellow

**URL:** <https://mangoh.discourse.group/t/building-errors-with-mangoh-yellow/5771>\
**Category:** mangOH Yellow\
**Created:** [December 3, 2020, 9:05am UTC](https://mangoh.discourse.group/t/building-errors-with-mangoh-yellow/5771 "2020-12-03T09:05:54Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![marckasse](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@marckasse](https://mangoh.discourse.group/u/marckasse)\
**Post date:** [December 3, 2020, 9:05am UTC](https://mangoh.discourse.group/t/building-errors-with-mangoh-yellow/5771/1 "2020-12-03T09:05:54Z")

</div>

I am having this issue. Could somebody help me to solve this?

 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/2/220d614e456c80fdd9052bdfdd364f70dcfbfc9f.png)

To complete the installation, I enabled the OCTAVE by putting OCTAVE == 0. Otherwise, it could not work. And now I tried to set to 1 (see previously in forum: [Make yellow error](https://mangoh.discourse.group/t/make-yellow-error/5632/13)). Should I leave it to 0 or 1?

![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/3/34617db27b52523f2c5d30d39e19dab0fbf4d0e0.png)

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [December 3, 2020, 9:14am UTC](https://mangoh.discourse.group/t/building-errors-with-mangoh-yellow/5771/2 "2020-12-03T09:14:36Z")

</div>

didn’t you can build it before?

> [@Make yellow error](https://mangoh.discourse.group/t/make-yellow-error/5632/11):
>
> Yes, still OCTAVE=1 in log

You need to install the toolchain and go to the legato framework and set up the environment first:

e.g.

1. sh poky-swi-ext-glibc-x86\_64-meta-toolchain-swi-armv7a-neon-toolchain-swi-SWI9X07Y\_02.28.03.05.sh  
Toolchain will be installed in /opt/swi/

2. 

cd legato-19.02.0/  
make  
. bin/configlegatoenv

---

<div class="post-metadata">

**Author:** ![marckasse](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@marckasse](https://mangoh.discourse.group/u/marckasse)\
**Post date:** [December 3, 2020, 9:23am UTC](https://mangoh.discourse.group/t/building-errors-with-mangoh-yellow/5771/3 "2020-12-03T09:23:26Z")

</div>

Yes I built it before but did not pay attention to the errors. I am using leaf so I do not have a folder for legato. See what I have when doing a research

 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/d/d961212a7b5f059ad4aa19899e842e2c750cd042.png)

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [December 3, 2020, 9:26am UTC](https://mangoh.discourse.group/t/building-errors-with-mangoh-yellow/5771/4 "2020-12-03T09:26:10Z")

</div>

then how did you build it last time?

---

<div class="post-metadata">

**Author:** ![marckasse](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@marckasse](https://mangoh.discourse.group/u/marckasse)\
**Post date:** [December 3, 2020, 9:26am UTC](https://mangoh.discourse.group/t/building-errors-with-mangoh-yellow/5771/5 "2020-12-03T09:26:21Z")

</div>

Oh you mean go back to OCTAVE==1 by modifying the code the same way I did? Octave == 1 is only if I want to connect to OCTAVE platform right?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [December 3, 2020, 9:27am UTC](https://mangoh.discourse.group/t/building-errors-with-mangoh-yellow/5771/6 "2020-12-03T09:27:05Z")

</div>

no, in the previous post, you can build it without building the OCTAVE.

---

<div class="post-metadata">

**Author:** ![marckasse](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@marckasse](https://mangoh.discourse.group/u/marckasse)\
**Post date:** [December 3, 2020, 9:28am UTC](https://mangoh.discourse.group/t/building-errors-with-mangoh-yellow/5771/7 "2020-12-03T09:28:16Z")

</div>

> [@jyijyi](#):
>
> us post, you can b

I manage to install leaf environment by putting OCTAVE == 0 but after it never achieved to build without error.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [December 3, 2020, 9:30am UTC](https://mangoh.discourse.group/t/building-errors-with-mangoh-yellow/5771/8 "2020-12-03T09:30:56Z")

</div>

in the previous post, you can set up the toolchain path:

TOOLCHAIN\_DIR=/home/marc/myWorkspace/leaf-data/MANGOH-YELLOW-WP77XX/mangOH-yellow-wp77xx-toolchain/sysroots/x86\_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi  
TOOLCHAIN\_PREFIX=arm-poky-linux-gnueabi-  
OCTAVE=1

Maybe you need to go to the legato framework and type:  
. bin/configlegatoenv  
make wp77xx

---

<div class="post-metadata">

**Author:** ![marckasse](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@marckasse](https://mangoh.discourse.group/u/marckasse)\
**Post date:** [December 3, 2020, 9:45am UTC](https://mangoh.discourse.group/t/building-errors-with-mangoh-yellow/5771/9 "2020-12-03T09:45:33Z")

</div>

> [@jyijyi](#):
>
> /home/marc/myWorkspace/leaf-data/MANGOH-YELLOW-WP77XX/mangOH-yellow-wp77xx-toolchain/sysroots/x86\_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi  
> TOOLCHAIN\_PREFIX=arm-poky-linux-gnueabi-

Ok I will try but I noticed that I don’t have arm-poky-linux-gnueabi in the path you give

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [December 3, 2020, 9:56am UTC](https://mangoh.discourse.group/t/building-errors-with-mangoh-yellow/5771/10 "2020-12-03T09:56:39Z")

</div>

that path is coming out from your previous post!!!

---

<div class="post-metadata">

**Author:** ![marckasse](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@marckasse](https://mangoh.discourse.group/u/marckasse)\
**Post date:** [December 3, 2020, 10:37am UTC](https://mangoh.discourse.group/t/building-errors-with-mangoh-yellow/5771/11 "2020-12-03T10:37:08Z")

</div>

> [@jyijyi](#):
>
> post!!!

Oh yes you right! Correction: I don’t have anymore the arm-poky-linux-gnueabi… It means that I need to reinstall? I am confused whether or not I have to follow this process to install toolchain. I thought that using leaf allows to avoid all these steps…

> **[Install/Remove Legato - Legato Docs](https://docs.legato.io/17_10/basicBuildLegato.html#buildToolchain)**
>
> legato™ is an open source Linux-based embedded platform designed to simplify connected IoT application development

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [December 3, 2020, 10:43am UTC](https://mangoh.discourse.group/t/building-errors-with-mangoh-yellow/5771/12 "2020-12-03T10:43:09Z")

</div>

I think you need to redownload the package

---

<div class="post-metadata">

**Author:** ![marckasse](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@marckasse](https://mangoh.discourse.group/u/marckasse)\
**Post date:** [December 3, 2020, 6:55pm UTC](https://mangoh.discourse.group/t/building-errors-with-mangoh-yellow/5771/13 "2020-12-03T18:55:20Z")

</div>

Ok I reinstalled and it works! with the make yellow\_wp77xx without error.  
Thanks
