# mangOH red\_wp7608 make fails in legato

**URL:** <https://mangoh.discourse.group/t/mangoh-red-wp7608-make-fails-in-legato/2928>\
**Category:** mangOH Red\
**Created:** [September 21, 2019, 6:36pm UTC](https://mangoh.discourse.group/t/mangoh-red-wp7608-make-fails-in-legato/2928 "2019-09-21T18:36:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KarthikT](https://avatars.discourse-cdn.com/v4/letter/k/77aa72/32.png) [@KarthikT](https://mangoh.discourse.group/u/KarthikT)\
**Post date:** [September 21, 2019, 6:36pm UTC](https://mangoh.discourse.group/t/mangoh-red-wp7608-make-fails-in-legato/2928/1 "2019-09-21T18:36:33Z")

</div>

I am using mangOH red\_wp7608 board and trying to setup legato development environment in a ubuntu machine by following steps given in [http://mangoh.io/uploaded-documents/Reference/mangOH%20Red/Discover/Getting%20Started/mangOH\_Red\_GSG\_(Linux).pdf](http://mangoh.io/uploaded-documents/Reference/mangOH%20Red/Discover/Getting%20Started/mangOH_Red_GSG_(Linux).pdf) document. However, I am facing an issue while executing the command “Legato=1 make red\_wp76xx”. The error message says “Unexpected subsection name ‘headerDir’ in ‘provides’ section of $MANGOH\_ROOT/apps/DataHub/components/json/Component.cdef file”. Could any one please assist me on this?

---

<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:** [September 23, 2019, 9:46am UTC](https://mangoh.discourse.group/t/mangoh-red-wp7608-make-fails-in-legato/2928/2 "2019-09-23T09:46:38Z")

</div>

how about making your /apps/DataHub/components/json/Component.cdef to be the following?

```
cflags:
{
    -std=c99
}

sources:
{
    json.c
}
```
