ToolChain for CrossCompile Shared Lib

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:

https://docs.legato.io/18_02/basicBuildToolchain.html

Hi @karthikR, what kind of app you compile? and how?