I want to use curl library to build a TLS 1.2 connection from mangOH yellow to host but getting this error (I am including this library - #include <curl/curl.h>)
please help
[25/28] Linking C executable
FAILED: /home/abharati98/LegatoWorkspace/_build_Attestor/wp77xx/app/Attestor/obj/Attestor_process/Attestor_process
/home/abharati98/LegatoWorkspace/leaf-data/WP77503/wp77-toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc --sysroot=/home/abharati98/LegatoWorkspace/leaf-data/WP77503/wp77-toolchain/sysroots/armv7a-neon-poky-linux-gnueabi -fPIE -pie -o /home/abharati98/LegatoWorkspace/_build_Attestor/wp77xx/app/Attestor/obj/Attestor_process/Attestor_process /home/abharati98/LegatoWorkspace/_build_Attestor/wp77xx/app/Attestor/obj/Attestor_process/_main.c.o -rdynamic -Wl,–enable-new-dtags,-rpath=“$ORIGIN/../lib” -L “-L/home/abharati98/LegatoWorkspace/_build_Attestor/wp77xx/component/c326feaa36ddb0569bfec89c14fee413/obj” -lComponent_Clients_app_path “-L/home/abharati98/LegatoWorkspace/_build_Attestor/wp77xx/component/4e3607418ecda15d5aac4720a6d9e477/obj” -lComponent_Crypto_helpers “-L/home/abharati98/LegatoWorkspace/_build_Attestor/wp77xx/component/e0b3a015f50e6ac28177f1fc1626db7d/obj” -lComponent_Sign_buffer “-L/home/abharati98/LegatoWorkspace/_build_Attestor/wp77xx/component/49652399421917937176a526ab9672f2/obj” -lComponent_Hex_utils “-L/home/abharati98/LegatoWorkspace/_build_Attestor/wp77xx/component/2eed7b66a9d558c1f575cb75234b5741/obj” -lComponent_File_utils “-L/home/abharati98/LegatoWorkspace/_build_Attestor/wp77xx/component/8c45bd5e9a814103362069ac2c88fb62/obj” -lComponent_Attestor_comp “-L/home/abharati98/LegatoWorkspace/_build_Attestor/wp77xx/component/c326feaa36ddb0569bfec89c14fee413/obj” -lComponent_Clients_app_path “-L/home/abharati98/LegatoWorkspace/_build_Attestor/wp77xx/component/4e3607418ecda15d5aac4720a6d9e477/obj” -lComponent_Crypto_helpers “-L/home/abharati98/LegatoWorkspace/_build_Attestor/wp77xx/component/e0b3a015f50e6ac28177f1fc1626db7d/obj” -lComponent_Sign_buffer “-L/home/abharati98/LegatoWorkspace/_build_Attestor/wp77xx/component/49652399421917937176a526ab9672f2/obj” -lComponent_Hex_utils “-L/home/abharati98/LegatoWorkspace/_build_Attestor/wp77xx/component/2eed7b66a9d558c1f575cb75234b5741/obj” -lComponent_File_utils “-L/home/abharati98/LegatoWorkspace/_build_Attestor/wp77xx/component/8c45bd5e9a814103362069ac2c88fb62/obj” -lComponent_Attestor_comp “-L$LEGATO_BUILD/framework/lib” -llegato -lpthread -lrt -ldl -lm
/home/abharati98/LegatoWorkspace/_build_Attestor/wp77xx/component/8c45bd5e9a814103362069ac2c88fb62/obj/libComponent_Attestor_comp.so: undefined reference to curl_easy_perform' /home/abharati98/LegatoWorkspace/_build_Attestor/wp77xx/component/8c45bd5e9a814103362069ac2c88fb62/obj/libComponent_Attestor_comp.so: undefined reference to curl_easy_init’
/home/abharati98/LegatoWorkspace/_build_Attestor/wp77xx/component/8c45bd5e9a814103362069ac2c88fb62/obj/libComponent_Attestor_comp.so: undefined reference to curl_easy_strerror' /home/abharati98/LegatoWorkspace/_build_Attestor/wp77xx/component/8c45bd5e9a814103362069ac2c88fb62/obj/libComponent_Attestor_comp.so: undefined reference to curl_easy_setopt’
/home/abharati98/LegatoWorkspace/_build_Attestor/wp77xx/component/8c45bd5e9a814103362069ac2c88fb62/obj/libComponent_Attestor_comp.so: undefined reference to `curl_easy_cleanup’
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.