# Error buildning red\_wp76xx dist

**URL:** <https://mangoh.discourse.group/t/error-buildning-red-wp76xx-dist/2172>\
**Category:** mangOH Red\
**Created:** [November 28, 2018, 8:53am UTC](https://mangoh.discourse.group/t/error-buildning-red-wp76xx-dist/2172 "2018-11-28T08:53:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![roob](https://avatars.discourse-cdn.com/v4/letter/r/b782af/32.png) [@roob](https://mangoh.discourse.group/u/roob)\
**Post date:** [November 28, 2018, 8:53am UTC](https://mangoh.discourse.group/t/error-buildning-red-wp76xx-dist/2172/1 "2018-11-28T08:53:28Z")

</div>

Hi,  
I am trying to setup and use a mangOH Red device. But I get some problems when trying to build the distribution for the module according to the manual: Build the mangOH Distribution.

I get this error when running “make red\_wp76xx”:

\*\* ERROR:  
/home/mangoh/mangOH/apps/BatteryService/batteryComponent/Component.cdef:17:17: error: Couldn’t find file ‘io.api’.  
Makefile:86: recipe for target ‘red\_wp76xx’ failed

I am using this device type:  
Device: WP7607  
IMEI: 359779080104652  
IMEISV: 5  
FSN: VN745385431603  
Firmware Version: SWI9X07Y\_02.18.05.00 000000 jenkins 2018/07/19 17:40:21  
Bootloader Version: SWI9X07Y\_02.18.05.00 000000 jenkins 2018/07/19 17:40:21  
MCU Version: 002.009  
PRI Part Number (PN): 9907327  
PRI Revision: 001.003  
Carrier PRI Name: GENERIC  
Carrier PRI Revision: 002.041\_002  
SKU: 1103511  
Last Reset Cause: Reset, User Requested  
Resets Count: Expected: 5 Unexpected: 1

Any idea what it can be? I have been following the manual and done the previous steps.

BR  
Robert

---

<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:** [November 28, 2018, 5:51pm UTC](https://mangoh.discourse.group/t/error-buildning-red-wp76xx-dist/2172/2 "2018-11-28T17:51:40Z")

</div>

The battery service was modifed to use the data hub which was introduced in Legato 18.09.0, so you need Legato source at least that new unless you want to start cutting things out of the mangOH.sdef file.
