# Make yellow error

**URL:** <https://mangoh.discourse.group/t/make-yellow-error/5632>\
**Category:** mangOH Yellow\
**Created:** [November 11, 2020, 11:42pm UTC](https://mangoh.discourse.group/t/make-yellow-error/5632 "2020-11-11T23:42:58Z")\
**Posts on this page:** 20\
**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:** [November 11, 2020, 11:42pm UTC](https://mangoh.discourse.group/t/make-yellow-error/5632/1 "2020-11-11T23:42:58Z")

</div>

I am facing one issue when I try to do ‘make yellow’ following the procedure. I get following message:

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=/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   
mksys -t wp77xx --cflags=-O2 --object-dir=build/yellow\_wp77xx --output-dir=build/update\_files yellow.sdef  
\*\* ERROR:  
/home/marc/myWorkspace/mangOH/sinc/octave\_minimal.sinc:5:4: error: Can’t find definition file (diagnostic.adef) or binary app (diagnostic.wp77xx.app) for app specification ‘/home/marc/myWorkspace/leaf-data/MANGOH-YELLOW-WP77XX/Octave-mangOH-yellow-wp77xx/diagnostic.wp77xx.app’.  
Note: Looked in the following places:  
‘.’

make: \*\*\* [Makefile:125: yellow\_wp77xx] Error 1

Please advice what I need to do.

I have already try to comment the line in the file but I get another error in the same file Octave\_minimal.sinc

---

<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:** [November 12, 2020, 2:10am UTC](https://mangoh.discourse.group/t/make-yellow-error/5632/2 "2020-11-12T02:10:18Z")

</div>

Do you have the octave source?  
What did you set for “OCTAVE\_ROOT”?

I saw in the makefile, it says:

```
# If OCTAVE_ROOT is defined, include Octave in mangOH Yellow builds by default.
# ...but we don't care about this if we are cleaning.
ifneq ($(MAKECMDGOALS),clean)
  ifdef OCTAVE_ROOT
    yellow_%: OCTAVE ?= 1
  else
    $(warning ==== OCTAVE_ROOT not defined ====)
    yellow_%: OCTAVE ?= 0
  endif
endif
```

---

<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:** [November 12, 2020, 8:34am UTC](https://mangoh.discourse.group/t/make-yellow-error/5632/3 "2020-11-12T08:34:30Z")

</div>

Hi,

I do not know what do you mean about the octave source and where to find it? (I have not installed it on my own).

In the makefile, it says as you are writing. Is it good?

---

<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:** [November 12, 2020, 8:47am UTC](https://mangoh.discourse.group/t/make-yellow-error/5632/4 "2020-11-12T08:47:01Z")

</div>

in your log, it says “OCTAVE=1”  
From the make file, it means OCTAVE\_ROOT is defined.  
I wonder if you can clear this OCTAVE\_ROOT so that you can start compilation.

---

<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:** [November 12, 2020, 8:50am UTC](https://mangoh.discourse.group/t/make-yellow-error/5632/5 "2020-11-12T08:50:06Z")

</div>

Ok so I delete this part of the code you think?

---

<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:** [November 12, 2020, 8:52am UTC](https://mangoh.discourse.group/t/make-yellow-error/5632/6 "2020-11-12T08:52:12Z")

</div>

maybe you can try hardcode the OCTAVE to be 0.  
Probably it will not build  
/home/marc/myWorkspace/mangOH/sinc/octave\_minimal.sinc:

---

<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:** [November 12, 2020, 8:55am UTC](https://mangoh.discourse.group/t/make-yellow-error/5632/7 "2020-11-12T08:55:09Z")

</div>

Ok so we don’t need octave at all for mangOH?  
if you can say how and where to hardcode OCTAVE, it would be nice please.

---

<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:** [November 12, 2020, 8:59am UTC](https://mangoh.discourse.group/t/make-yellow-error/5632/8 "2020-11-12T08:59:53Z")

</div>

you can try adding one more line below to hardcode this flag:

```
# If OCTAVE_ROOT is defined, include Octave in mangOH Yellow builds by default.
# ...but we don't care about this if we are cleaning.
ifneq ($(MAKECMDGOALS),clean)
  ifdef OCTAVE_ROOT
    yellow_%: OCTAVE ?= 1
  else
    $(warning ==== OCTAVE_ROOT not defined ====)
    yellow_%: OCTAVE ?= 0
  endif
endif

yellow_%: OCTAVE ?= 0
```

---

<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:** [November 12, 2020, 9:05am UTC](https://mangoh.discourse.group/t/make-yellow-error/5632/9 "2020-11-12T09:05:03Z")

</div>

I tried and it still the same error message

---

<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:** [November 12, 2020, 9:06am UTC](https://mangoh.discourse.group/t/make-yellow-error/5632/10 "2020-11-12T09:06:35Z")

</div>

you still see “OCTAVE=1” in the log?

---

<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:** [November 12, 2020, 9:07am UTC](https://mangoh.discourse.group/t/make-yellow-error/5632/11 "2020-11-12T09:07:28Z")

</div>

Yes, still OCTAVE=1 in log

---

<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:** [November 12, 2020, 9:12am UTC](https://mangoh.discourse.group/t/make-yellow-error/5632/12 "2020-11-12T09:12:15Z")

</div>

i don’t see such issue with “make yellow\_wp76xx”  
you need to debug where it sets the OCTAVE flag to be 1 in the MAKEFILE

---

<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:** [November 12, 2020, 9:14am UTC](https://mangoh.discourse.group/t/make-yellow-error/5632/13 "2020-11-12T09:14:15Z")

</div>

how about “make yellow\_wp77xx OCTAVE=0”

---

<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:** [November 12, 2020, 9:18am UTC](https://mangoh.discourse.group/t/make-yellow-error/5632/14 "2020-11-12T09:18:32Z")

</div>

It works, I set =0 instead of =1 in this part of code:

```auto
ifneq ($(MAKECMDGOALS),clean)
  ifdef OCTAVE_ROOT
    yellow_%: OCTAVE ?= 0
  else

```

Thanks

---

<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:** [November 12, 2020, 9:30am UTC](https://mangoh.discourse.group/t/make-yellow-error/5632/15 "2020-11-12T09:30:02Z")

</div>

Please another question: to use bluetooth do I need to install in addition the driver?

> **[mangOH/mangOH](https://github.com/mangOH/mangOH/wiki/Bluetooth-WL18xx-driver-for-mangOH)**
>
> Primary mangOH git repository. Contribute to mangOH/mangOH development by creating an account on GitHub.

---

<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:** [November 12, 2020, 9:33am UTC](https://mangoh.discourse.group/t/make-yellow-error/5632/16 "2020-11-12T09:33:17Z")

</div>

yes, you need to download the yocto source code to add driver in order to use Bluetooth WL18xx driver for mangOH

---

<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:** [November 13, 2020, 2:01am UTC](https://mangoh.discourse.group/t/make-yellow-error/5632/17 "2020-11-13T02:01:03Z")

</div>

you can also take a look on this discussion thread:

> [@Bluetooth/BLE working with WL18xx?](https://mangoh.discourse.group/t/bluetooth-ble-working-with-wl18xx/5432):
>
> I would be interested in hearing from anyone who has got a Bluetooth or BLE application working with the WL18xx as found on the Talon card. I have found that connect under bluetoothctl doesn’t work, and info works from the non-mangOH side but not the mangOH side. Particularly what firmware version are you using. Mine is SWI9X06Y\_02.35.02.00 5208b3 jenkins 2020/06/10 00:30:12. On the other side of the coin I have been able to get a nRF UART BLE peripheral application working on the mangOH Yellow…

---

<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:** [November 13, 2020, 2:55am UTC](https://mangoh.discourse.group/t/make-yellow-error/5632/18 "2020-11-13T02:55:10Z")

</div>

Thanks. Is it Aldo for mango yellow?

---

<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:** [November 13, 2020, 2:55am UTC](https://mangoh.discourse.group/t/make-yellow-error/5632/19 "2020-11-13T02:55:46Z")

</div>

Is it also for mango yellow ?

---

<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:** [November 13, 2020, 3:11am UTC](https://mangoh.discourse.group/t/make-yellow-error/5632/20 "2020-11-13T03:11:15Z")

</div>

never tried on mangoh yellow, but the document in the link says that it uses UART1 to communicate. So I believe it can be used.

[Next page](https://mangoh.discourse.group/t/make-yellow-error/5632.md?page=2)
