# Failed to compile utils-legato-mqtt , mqttclient code for wp7603 in Dev Studio

**URL:** <https://mangoh.discourse.group/t/failed-to-compile-utils-legato-mqtt-mqttclient-code-for-wp7603-in-dev-studio/1316>\
**Category:** mangOH Green\
**Created:** [April 9, 2018, 1:30pm UTC](https://mangoh.discourse.group/t/failed-to-compile-utils-legato-mqtt-mqttclient-code-for-wp7603-in-dev-studio/1316 "2018-04-09T13:30:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hposhtiw](https://avatars.discourse-cdn.com/v4/letter/h/a88e4f/32.png) [@hposhtiw](https://mangoh.discourse.group/u/hposhtiw)\
**Post date:** [April 9, 2018, 1:30pm UTC](https://mangoh.discourse.group/t/failed-to-compile-utils-legato-mqtt-mqttclient-code-for-wp7603-in-dev-studio/1316/1 "2018-04-09T13:30:06Z")

</div>

I am trying to compile the code mqttClient from github with source [https://github.com/startwithsierra/utils-legato-mqtt](https://github.com/startwithsierra/utils-legato-mqtt) for our application in MangOH Green with wp7603 module.  
I tried to solve many errors in the code as it is compatible to older Legato Version. I am using Legato 18.01.0 .  
I am stuck with one error which I am able to resolve it the screen shot is mentioned below.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/1X/433e3d0ba07bd536421d16799bb2dbe5c52c0a66.png)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/1X/214d0be1cbe30a70a95405a0b415875312977bcb.png)

I also tried in command line where the same problem repeated.

Thanks in advance, Please help me out to resolve this isssue. I am totally stuck here.

---

<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:** [April 9, 2018, 3:36pm UTC](https://mangoh.discourse.group/t/failed-to-compile-utils-legato-mqtt-mqttclient-code-for-wp7603-in-dev-studio/1316/2 "2018-04-09T15:36:32Z")

</div>

I’m not very familiar with that MQTT repository. Maybe @majditoumi can comment.

Another option is the `use_paho_linux_version` branch of the mangOH/MqttClient repository. [https://github.com/mangOH/MqttClient/tree/use\_paho\_linux\_version](https://github.com/mangOH/MqttClient/tree/use_paho_linux_version)
