lib has to compiled with the toolchain to build Legato apps.I followed the document to Install toolchain and cross compile. Unfortunately while compiling its throwing error such arm-poky-linux-gcc: error: fatal error: I have been attached the link which i have follwed to install toolchain and screenshot of error msg while compiling.
Link:
Install the Toolchain - Legato Docs