# Problem building MangOH distribuition with the Virtual Machine

**URL:** <https://mangoh.discourse.group/t/problem-building-mangoh-distribuition-with-the-virtual-machine/2940>\
**Category:** Uncategorized\
**Created:** [September 26, 2019, 4:13pm UTC](https://mangoh.discourse.group/t/problem-building-mangoh-distribuition-with-the-virtual-machine/2940 "2019-09-26T16:13:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Larumbe2019](https://avatars.discourse-cdn.com/v4/letter/l/47e85d/32.png) [@Larumbe2019](https://mangoh.discourse.group/u/Larumbe2019)\
**Post date:** [September 26, 2019, 4:13pm UTC](https://mangoh.discourse.group/t/problem-building-mangoh-distribuition-with-the-virtual-machine/2940/1 "2019-09-26T16:13:58Z")

</div>

Hello

I´m building my mangOH Distribution for the module in my mangOH Red or yellow but now I recieve this error

## "mangoh@mangoh-vm:~$ cfglegato Configuring shell for Legato development

[wp85] Toolchain dir = /opt/swi/y22-ext-wp85/sysroots/x86\_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi  
prefix = arm-poky-linux-gnueabi-  
sysroot = /opt/swi/y22-ext-SWI9X15Y\_07.13.05.00/sysroots/armv7a-neon-poky-linux-gnueabi  
kernelroot = /opt/swi/y22-ext-SWI9X15Y\_07.13.05.00/sysroots/armv7a-neon-poky-linux-gnueabi/usr/src/kernel  
[wp750x] Toolchain dir = /opt/swi/y22-ext-wp750x/sysroots/x86\_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi  
prefix = arm-poky-linux-gnueabi-  
sysroot = /opt/swi/y22-ext-SWI9X15Y\_07.13.05.00/sysroots/armv7a-neon-poky-linux-gnueabi  
kernelroot = /opt/swi/y22-ext-SWI9X15Y\_07.13.05.00/sysroots/armv7a-neon-poky-linux-gnueabi/usr/src/kernel  
[wp76xx] Toolchain dir = /opt/swi/y22-ext-wp76xx/sysroots/x86\_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi  
prefix = arm-poky-linux-gnueabi-  
sysroot = /opt/swi/y22-ext-SWI9X07Y\_02.18.06.00/sysroots/armv7a-neon-poky-linux-gnueabi  
kernelroot = /opt/swi/y22-ext-SWI9X07Y\_02.18.06.00/sysroots/armv7a-neon-poky-linux-gnueabi/usr/src/kernel  
[wp77xx] Toolchain dir = /opt/swi/y22-ext-wp77xx/sysroots/x86\_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi  
prefix = arm-poky-linux-gnueabi-  
sysroot = /opt/swi/y22-ext-SWI9X06Y\_02.18.05.00/sysroots/armv7a-neon-poky-linux-gnueabi  
kernelroot = /opt/swi/y22-ext-SWI9X06Y\_02.18.05.00/sysroots/armv7a-neon-poky-linux-gnueabi/usr/src/kernel  
mangoh@mangoh-vm:~ git pull && git submodule update --init fatal: not a git repository (or any of the parent directories): .git mangoh@mangoh-vm:~ cd mangOH  
mangoh@mangoh-vm:~/mangOH$ git pull && git submodule update --init  
Already up to date.  
mangoh@mangoh-vm:~/mangOH$ make  
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/y22-ext-wp85/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/green\_wp85 --output-dir=build/update\_files green.sdef  
\*\* Warning: Ignoring empty app specification  
\*\* Warning: Ignoring empty app specification  
\*\* Warning: Ignoring empty app specification  
\*\* ERROR:  
/home/mangoh/legato\_framework/legato/modules/WiFi/service/daemon/Component.cdef:15:4: error: Couldn’t find source file ‘/home/mangoh/legato\_framework/legato/modules/WiFi/service/platformAdaptor//home/mangoh/legato\_framework/legato/modules/WiFi/service/platformAdaptor/ti/pa\_wifi.sh/pa\_wifi\_client\_ti.c’  
Makefile:125: recipe for target ‘green\_wp85’ failed  
make: \*\*\* [green\_wp85] Error 1  
mangoh@mangoh-vm:~/mangOH$ make red\_wp77xx  
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/y22-ext-wp77xx/sysroots/x86\_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi   
TOOLCHAIN\_PREFIX=arm-poky-linux-gnueabi-   
mksys -t wp77xx --cflags=-O2 --object-dir=build/red\_wp77xx --output-dir=build/update\_files red.sdef  
\*\* Warning: Ignoring empty app specification  
\*\* Warning: Ignoring empty app specification  
\*\* Warning: Ignoring empty app specification  
\*\* ERROR:  
/home/mangoh/legato\_framework/legato/modules/WiFi/service/daemon/Component.cdef:15:4: error: Couldn’t find source file ‘/home/mangoh/legato\_framework/legato/modules/WiFi/service/platformAdaptor//home/mangoh/legato\_framework/legato/modules/WiFi/service/platformAdaptor/ti/pa\_wifi.sh/pa\_wifi\_client\_ti.c’  
Makefile:131: recipe for target ‘red\_wp77xx’ failed  
make: \*\*\* [red\_wp77xx] Error 1

i´m using Virtula BOX and the the Virtual Machine on MangOH " mangOH Dev Orange Starter Kit using Legato 18.09.0 on Ubuntu 18.04 - r4 "  
wp77xx Release 9.1 SWI9X06Y\_02.18.05.00 from the start guide

Something has changed recently because before i coudl build the distribution without issue.  
Something related with Octave

Thanks  
Isabel

---

<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, 2019, 12:26pm UTC](https://mangoh.discourse.group/t/problem-building-mangoh-distribuition-with-the-virtual-machine/2940/2 "2019-11-13T12:26:23Z")

</div>

/home/mangoh/legato\_framework/legato/modules/WiFi/service/daemon/Component.cdef

In line 15, change to the followings:

// {LEGATO\_WIFI\_ROOT}/service/platformAdaptor/{LEGATO\_WIFI\_PA}/pa\_wifi\_client\_ti.c  
// {LEGATO\_WIFI\_ROOT}/service/platformAdaptor/{LEGATO\_WIFI\_PA}/pa\_wifi\_ap\_ti.c

{LEGATO\_WIFI\_ROOT}/service/platformAdaptor/ti/pa\_wifi\_client\_ti.c {LEGATO\_WIFI\_ROOT}/service/platformAdaptor/ti/pa\_wifi\_ap\_ti.c
