# CROSS Compiler error

**URL:** <https://mangoh.discourse.group/t/cross-compiler-error/2801>\
**Category:** mangOH Red\
**Created:** [July 22, 2019, 1:59pm UTC](https://mangoh.discourse.group/t/cross-compiler-error/2801 "2019-07-22T13:59:16Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![tuxedo95](https://avatars.discourse-cdn.com/v4/letter/t/9de053/32.png) [@tuxedo95](https://mangoh.discourse.group/u/tuxedo95)\
**Post date:** [July 25, 2019, 9:31am UTC](https://mangoh.discourse.group/t/cross-compiler-error/2801/8 "2019-07-25T09:31:26Z")

</div>

So after several attempts, the issue is not solved yet but I succeeded into compiling legato tools by using this command :  
**repo init -u [GitHub - legatoproject/manifest: repo manifests for Legato](https://github.com/legatoproject/manifest)**  
(I think by not specifying the version of legato it will download the latest one)  
After that I built legato with make wp77xx (my version of magnOH)  
For the next step, I did : **make red\_wp77xx** in the my mangOH directory but the following error popped up :

> echo “Not building LEGATO due to $LEGATO == 0”  
> 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/SWI9X06Y\_02.22.12.00/sysroots/x86\_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi   
> TOOLCHAIN\_PREFIX=arm-poky-linux-gnueabi-   
> mksys -t wp77xx --object-dir=build/red\_wp77xx --output-dir=build/update\_files red.sdef  
> \*\* ERROR:  
> /home/insa/mangOH/apps/RedSensorToCloud/redSensorToCloud.adef:30:4: error: Binding to non-existent server app ‘avcService’.  
> Makefile:109: recipe for target ‘red\_wp77xx’ failed  
> make: \*\*\* [red\_wp77xx] Error 1

the error still persists even after I followed your suggestions : [Make red\_wp85, return ERROR - #9 by Alex](https://mangoh.discourse.group/t/make-red-wp85-return-error/1175/9)  
Hope you can bring me an anwser

---

_[View the full topic](https://mangoh.discourse.group/t/cross-compiler-error/2801)._
