Build legato app using Azure IoT SDK FX30 (WP7702)

Hi all,

I’ve been struggling for 2 weeks to build a legato app, integration the azure iot sdk. My end goal, is to send a message to our IOT Hub.

I am able to build and run a basic Legato app, but I can’t seem to compile the Azure IoT SDK:

Does anyone have any experience with this?

I am getting the following build errors, when trying to compile:

root@N111538:/home/snagy/sierra/workspace# mkapp -t wp77xx helloWorld.adef 
[1/15] Compiling C source
FAILED: /home/snagy/sierra/workspace/_build_helloWorld/wp77xx/component/f3cdbe06ccdf509a37d0ded73d7e2a98/obj/43ecb0314cc2e80a153cbd8962b481cc.o 
/opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc --sysroot=/opt/swi/y17-ext-/sysroots/armv7a-neon-poky-linux-gnueabi -MMD -MF /home/snagy/sierra/workspace/_build_helloWorld/wp77xx/component/f3cdbe06ccdf509a37d0ded73d7e2a98/obj/43ecb0314cc2e80a153cbd8962b481cc.o.d -Wall -Werror -fvisibility=hidden  -c /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/src/doublylinkedlist.c -o /home/snagy/sierra/workspace/_build_helloWorld/wp77xx/component/f3cdbe06ccdf509a37d0ded73d7e2a98/obj/43ecb0314cc2e80a153cbd8962b481cc.o  -DLE_FILENAME=`basename /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/src/doublylinkedlist.c` -DMK_TOOLS_BUILD  -DLEGATO_EMBEDDED -fPIC -I /home/snagy/sierra/workspace/_build_helloWorld/wp77xx -I/home/snagy/sierra/workspace/legatoAF/legato-19.11.5/interfaces -I/home/snagy/sierra/workspace/legatoAF/legato-19.11.5/framework/include -I/home/snagy/sierra/workspace/legatoAF/legato-19.11.5/build/wp77xx/framework/include -I/home/snagy/sierra/workspace -I/home/snagy/sierra/workspace/_build_helloWorld/wp77xx/component/f3cdbe06ccdf509a37d0ded73d7e2a98/src -DLE_COMPONENT_NAME=helloComponent -DLE_LOG_SESSION=helloComponent_LogSession  -DLE_LOG_LEVEL_FILTER_PTR=helloComponent_LogLevelFilterPtr  -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/iothub_client/inc -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/umock-c/inc -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/umock-c/inc/umock_c -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/azure-macro-utils-c/inc -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/parson -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/azure-macro-utils-c/inc/azure_macro_utils
In file included from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:13:0,
                 from /opt/swi/y17-ext-/sysroots/armv7a-neon-poky-linux-gnueabi/usr/include/string.h:431,
                 from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils.h:14,
                 from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/umock-c/inc/umock_c/umock_c_prod.h:4,
                 from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/doublylinkedlist.h:14,
                 from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/src/doublylinkedlist.c:4:
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:21:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_new);

/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:25:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_new_with_memory, const char*, memory);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:26:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_new_quoted, const char*, source);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:27:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_new_JSON, const char*, source);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:28:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_from_byte_array, const unsigned char*, source, size_t, size);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:29:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, void, STRING_delete, STRING_HANDLE, handle);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:30:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_concat, STRING_HANDLE, handle, const char*, s2);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:31:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_concat_with_STRING, STRING_HANDLE, s1, STRING_HANDLE, s2);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:32:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_quote, STRING_HANDLE, handle);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:33:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_copy, STRING_HANDLE, s1, const char*, s2);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:34:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_copy_n, STRING_HANDLE, s1, const char*, s2, size_t, n);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:35:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, const char*, STRING_c_str, STRING_HANDLE, handle);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:36:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_empty, STRING_HANDLE, handle);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:37:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, size_t, STRING_length, STRING_HANDLE, handle);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:38:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_compare, STRING_HANDLE, s1, STRING_HANDLE, s2);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:39:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_replace, STRING_HANDLE, handle, char, target, char, replace);
 ^
[2/15] Compiling C source
FAILED: /home/snagy/sierra/workspace/_build_helloWorld/wp77xx/component/f3cdbe06ccdf509a37d0ded73d7e2a98/obj/aacf616279bf7a296ba728c84bbf3672.o 
/opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc --sysroot=/opt/swi/y17-ext-/sysroots/armv7a-neon-poky-linux-gnueabi -MMD -MF /home/snagy/sierra/workspace/_build_helloWorld/wp77xx/component/f3cdbe06ccdf509a37d0ded73d7e2a98/obj/aacf616279bf7a296ba728c84bbf3672.o.d -Wall -Werror -fvisibility=hidden  -c /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/pal/tickcounter.c -o /home/snagy/sierra/workspace/_build_helloWorld/wp77xx/component/f3cdbe06ccdf509a37d0ded73d7e2a98/obj/aacf616279bf7a296ba728c84bbf3672.o  -DLE_FILENAME=`basename /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/pal/tickcounter.c` -DMK_TOOLS_BUILD  -DLEGATO_EMBEDDED -fPIC -I /home/snagy/sierra/workspace/_build_helloWorld/wp77xx -I/home/snagy/sierra/workspace/legatoAF/legato-19.11.5/interfaces -I/home/snagy/sierra/workspace/legatoAF/legato-19.11.5/framework/include -I/home/snagy/sierra/workspace/legatoAF/legato-19.11.5/build/wp77xx/framework/include -I/home/snagy/sierra/workspace -I/home/snagy/sierra/workspace/_build_helloWorld/wp77xx/component/f3cdbe06ccdf509a37d0ded73d7e2a98/src -DLE_COMPONENT_NAME=helloComponent -DLE_LOG_SESSION=helloComponent_LogSession  -DLE_LOG_LEVEL_FILTER_PTR=helloComponent_LogLevelFilterPtr  -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/iothub_client/inc -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/umock-c/inc -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/umock-c/inc/umock_c -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/azure-macro-utils-c/inc -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/parson -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/azure-macro-utils-c/inc/azure_macro_utils
In file included from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:13:0,
                 from /opt/swi/y17-ext-/sysroots/armv7a-neon-poky-linux-gnueabi/usr/include/string.h:431,
                 from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils.h:14,
                 from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/umock-c/inc/umock_c/umock_c_prod.h:4,
                 from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/gballoc.h:13,
                 from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/pal/tickcounter.c:5:
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:21:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_new);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:22:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_clone, STRING_HANDLE, handle);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:23:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_construct, const char*, psz);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:24:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_construct_n, const char*, psz, size_t, n);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:25:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_new_with_memory, const char*, memory);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:26:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_new_quoted, const char*, source);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:27:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_new_JSON, const char*, source);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:28:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_from_byte_array, const unsigned char*, source, size_t, size);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:29:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, void, STRING_delete, STRING_HANDLE, handle);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:30:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_concat, STRING_HANDLE, handle, const char*, s2);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:31:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_concat_with_STRING, STRING_HANDLE, s1, STRING_HANDLE, s2);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:32:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_quote, STRING_HANDLE, handle);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:33:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_copy, STRING_HANDLE, s1, const char*, s2);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:34:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_copy_n, STRING_HANDLE, s1, const char*, s2, size_t, n);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:35:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, const char*, STRING_c_str, STRING_HANDLE, handle);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:36:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_empty, STRING_HANDLE, handle);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:37:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, size_t, STRING_length, STRING_HANDLE, handle);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:38:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_compare, STRING_HANDLE, s1, STRING_HANDLE, s2);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:39:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_replace, STRING_HANDLE, handle, char, target, char, replace);
 ^
[3/15] Compiling C source
FAILED: /home/snagy/sierra/workspace/_build_helloWorld/wp77xx/component/f3cdbe06ccdf509a37d0ded73d7e2a98/obj/59f703ca48ae63d55300e01cd1b65482.o 
/opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc --sysroot=/opt/swi/y17-ext-/sysroots/armv7a-neon-poky-linux-gnueabi -MMD -MF /home/snagy/sierra/workspace/_build_helloWorld/wp77xx/component/f3cdbe06ccdf509a37d0ded73d7e2a98/obj/59f703ca48ae63d55300e01cd1b65482.o.d -Wall -Werror -fvisibility=hidden  -c /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/src/singlylinkedlist.c -o /home/snagy/sierra/workspace/_build_helloWorld/wp77xx/component/f3cdbe06ccdf509a37d0ded73d7e2a98/obj/59f703ca48ae63d55300e01cd1b65482.o  -DLE_FILENAME=`basename /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/src/singlylinkedlist.c` -DMK_TOOLS_BUILD  -DLEGATO_EMBEDDED -fPIC -I /home/snagy/sierra/workspace/_build_helloWorld/wp77xx -I/home/snagy/sierra/workspace/legatoAF/legato-19.11.5/interfaces -I/home/snagy/sierra/workspace/legatoAF/legato-19.11.5/framework/include -I/home/snagy/sierra/workspace/legatoAF/legato-19.11.5/build/wp77xx/framework/include -I/home/snagy/sierra/workspace -I/home/snagy/sierra/workspace/_build_helloWorld/wp77xx/component/f3cdbe06ccdf509a37d0ded73d7e2a98/src -DLE_COMPONENT_NAME=helloComponent -DLE_LOG_SESSION=helloComponent_LogSession  -DLE_LOG_LEVEL_FILTER_PTR=helloComponent_LogLevelFilterPtr  -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/iothub_client/inc -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/umock-c/inc -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/umock-c/inc/umock_c -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/azure-macro-utils-c/inc -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/parson -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/azure-macro-utils-c/inc/azure_macro_utils
In file included from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:13:0,
                 from /opt/swi/y17-ext-/sysroots/armv7a-neon-poky-linux-gnueabi/usr/include/string.h:431,
                 from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils.h:14,
                 from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/umock-c/inc/umock_c/umock_c_prod.h:4,
                 from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/gballoc.h:13,
                 from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/src/singlylinkedlist.c:5:
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:21:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_new);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:22:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_clone, STRING_HANDLE, handle);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:23:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_construct, const char*, psz);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:24:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_construct_n, const char*, psz, size_t, n);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:25:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_new_with_memory, const char*, memory);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:26:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_new_quoted, const char*, source);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:27:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_new_JSON, const char*, source);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:28:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_from_byte_array, const unsigned char*, source, size_t, size);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:29:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, void, STRING_delete, STRING_HANDLE, handle);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:30:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_concat, STRING_HANDLE, handle, const char*, s2);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:31:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_concat_with_STRING, STRING_HANDLE, s1, STRING_HANDLE, s2);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:32:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_quote, STRING_HANDLE, handle);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:33:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_copy, STRING_HANDLE, s1, const char*, s2);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:34:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_copy_n, STRING_HANDLE, s1, const char*, s2, size_t, n);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:35:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, const char*, STRING_c_str, STRING_HANDLE, handle);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:36:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_empty, STRING_HANDLE, handle);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:37:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, size_t, STRING_length, STRING_HANDLE, handle);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:38:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_compare, STRING_HANDLE, s1, STRING_HANDLE, s2);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:39:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, int, STRING_replace, STRING_HANDLE, handle, char, target, char, replace);
 ^
[4/15] Compiling C source
FAILED: /home/snagy/sierra/workspace/_build_helloWorld/wp77xx/component/f3cdbe06ccdf509a37d0ded73d7e2a98/obj/76bbfd7eba62668705f3078f8712282c.o 
/opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc --sysroot=/opt/swi/y17-ext-/sysroots/armv7a-neon-poky-linux-gnueabi -MMD -MF /home/snagy/sierra/workspace/_build_helloWorld/wp77xx/component/f3cdbe06ccdf509a37d0ded73d7e2a98/obj/76bbfd7eba62668705f3078f8712282c.o.d -Wall -Werror -fvisibility=hidden  -c /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/src/azure_base64.c -o /home/snagy/sierra/workspace/_build_helloWorld/wp77xx/component/f3cdbe06ccdf509a37d0ded73d7e2a98/obj/76bbfd7eba62668705f3078f8712282c.o  -DLE_FILENAME=`basename /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/src/azure_base64.c` -DMK_TOOLS_BUILD  -DLEGATO_EMBEDDED -fPIC -I /home/snagy/sierra/workspace/_build_helloWorld/wp77xx -I/home/snagy/sierra/workspace/legatoAF/legato-19.11.5/interfaces -I/home/snagy/sierra/workspace/legatoAF/legato-19.11.5/framework/include -I/home/snagy/sierra/workspace/legatoAF/legato-19.11.5/build/wp77xx/framework/include -I/home/snagy/sierra/workspace -I/home/snagy/sierra/workspace/_build_helloWorld/wp77xx/component/f3cdbe06ccdf509a37d0ded73d7e2a98/src -DLE_COMPONENT_NAME=helloComponent -DLE_LOG_SESSION=helloComponent_LogSession  -DLE_LOG_LEVEL_FILTER_PTR=helloComponent_LogLevelFilterPtr  -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/iothub_client/inc -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/umock-c/inc -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/umock-c/inc/umock_c -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/azure-macro-utils-c/inc -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/parson -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/azure-macro-utils-c/inc/azure_macro_utils
In file included from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:13:0,
                 from /opt/swi/y17-ext-/sysroots/armv7a-neon-poky-linux-gnueabi/usr/include/string.h:431,
                 from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils.h:14,
                 from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/umock-c/inc/umock_c/umock_c_prod.h:4,
                 from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/gballoc.h:13,
                 from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/src/azure_base64.c:6:
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:21:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_new);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:22:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_clone, STRING_HANDLE, handle);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:23:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_construct, const char*, psz);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:24:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_construct_n, const char*, psz, size_t, n);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:25:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_new_with_memory, const char*, memory);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:26:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_new_quoted, const char*, source);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:27:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_new_JSON, const char*, source);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:28:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, STRING_HANDLE, STRING_from_byte_array, const unsigned char*, source, size_t, size);
 ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:29:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?
 MOCKABLE_FUNCTION(, void, STRING_delete, STRING_HANDLE, handle);
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/src/azure_base64.c: In function 'Base64_Encode_Internal':
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/src/azure_base64.c:305:18: error: implicit declaration of function 'STRING_new_with_memory' [-Werror=implicit-function-declaration]
         result = STRING_new_with_memory(encoded);
                  ^~~~~~~~~~~~~~~~~~~~~~
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/src/azure_base64.c:305:16: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
         result = STRING_new_with_memory(encoded);
                ^
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/src/azure_base64.c: In function 'Azure_Base64_Encode_Bytes':
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/src/azure_base64.c:326:18: error: implicit declaration of function 'STRING_new'; did you mean 'STRINGS_H'? [-Werror=implicit-function-declaration]
         result = STRING_new(); /*empty string*/
                  ^~~~~~~~~~
                  STRINGS_H
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/src/azure_base64.c:326:16: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
         result = STRING_new(); /*empty string*/
                ^
cc1: all warnings being treated as errors
[5/15] Compiling C source
FAILED: /home/snagy/sierra/workspace/_build_helloWorld/wp77xx/component/f3cdbe06ccdf509a37d0ded73d7e2a98/obj/a2310e7244bff640df6b140afc905480.o 
/opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc --sysroot=/opt/swi/y17-ext-/sysroots/armv7a-neon-poky-linux-gnueabi -MMD -MF /home/snagy/sierra/workspace/_build_helloWorld/wp77xx/component/f3cdbe06ccdf509a37d0ded73d7e2a98/obj/a2310e7244bff640df6b140afc905480.o.d -Wall -Werror -fvisibility=hidden  -c /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/src/map.c -o /home/snagy/sierra/workspace/_build_helloWorld/wp77xx/component/f3cdbe06ccdf509a37d0ded73d7e2a98/obj/a2310e7244bff640df6b140afc905480.o  -DLE_FILENAME=`basename /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/src/map.c` -DMK_TOOLS_BUILD  -DLEGATO_EMBEDDED -fPIC -I /home/snagy/sierra/workspace/_build_helloWorld/wp77xx -I/home/snagy/sierra/workspace/legatoAF/legato-19.11.5/interfaces -I/home/snagy/sierra/workspace/legatoAF/legato-19.11.5/framework/include -I/home/snagy/sierra/workspace/legatoAF/legato-19.11.5/build/wp77xx/framework/include -I/home/snagy/sierra/workspace -I/home/snagy/sierra/workspace/_build_helloWorld/wp77xx/component/f3cdbe06ccdf509a37d0ded73d7e2a98/src -DLE_COMPONENT_NAME=helloComponent -DLE_LOG_SESSION=helloComponent_LogSession  -DLE_LOG_LEVEL_FILTER_PTR=helloComponent_LogLevelFilterPtr  -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/iothub_client/inc -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/umock-c/inc -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/umock-c/inc/umock_c -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/azure-macro-utils-c/inc -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/parson -I/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/azure-macro-utils-c/inc/azure_macro_utils
In file included from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:13:0,
                 from /opt/swi/y17-ext-/sysroots/armv7a-neon-poky-linux-gnueabi/usr/include/string.h:431,
                 from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils.h:14,
                 from /home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/src/map.c:5:
/home/snagy/sierra/workspace/helloComponent/azure-iot-sdk-c/c-utility/inc/azure_c_shared_utility/strings.h:21:1: error: unknown type name 'MU_IF'; did you mean 'MU_INC'?

...

Seems you use the wrong toolchain for wp77, y17-ext is for wp85

Btw, you can also see this