Error when cross compiling liblegato to raspi due to missing openssl lib for ima.c
'''Building Legato for target 'raspi'
Makefile:127: build/raspi/.config.mk: No such file or directory
GEN build/raspi/.config.mk
Building Legato for target 'raspi'
GEN version
GEN build/raspi/framework/include/le_config.h
MAKE tools
make[1]: Entering directory '/mnt/c/projects/legato/workspace/legato'
Using ninja installed at: /usr/bin/ninja
GEN /mnt/c/projects/legato/workspace/legato/build/tools/build.ninja
Tools arch: x86_64
MAKE mkPatch
make[2]: Entering directory '/mnt/c/projects/legato/workspace/legato/framework/tools/mkPatch'
CCLD /mnt/c/projects/legato/workspace/legato/bin/mkPatch
make[2]: Leaving directory '/mnt/c/projects/legato/workspace/legato/framework/tools/mkPatch'
NINJA /mnt/c/projects/legato/workspace/legato/build/tools/build.ninja
[87/87] Linking tool
make[1]: Leaving directory '/mnt/c/projects/legato/workspace/legato'
GEN sources.md5
GEN package.properties
GEN build/raspi/config.sh
MAKE framework
make[1]: Entering directory '/mnt/c/projects/legato/workspace/legato'
GEN /mnt/c/projects/legato/workspace/legato/build/raspi/framework/build.ninja
NINJA /mnt/c/projects/legato/workspace/legato/build/raspi/framework/build.ninja
[70/70] Dynamic linking liblegato
CCLD /mnt/c/projects/legato/workspace/legato/build/raspi/framework/lib/libComponent_le_pa_start.so
CCLD /mnt/c/projects/legato/workspace/legato/build/raspi/framework/bin/startSystem
/mnt/c/projects/legato/workspace/legato/framework/daemons/linux/common/ima.c:24:26: fatal error: openssl/x509.h: No such file or directory
Error when cross compiling liblegato to raspi due to missing openssl lib for ima.c
'''Building Legato for target 'raspi' Makefile:127: build/raspi/.config.mk: No such file or directory GEN build/raspi/.config.mk Building Legato for target 'raspi' GEN version GEN build/raspi/framework/include/le_config.h MAKE tools make[1]: Entering directory '/mnt/c/projects/legato/workspace/legato' Using ninja installed at: /usr/bin/ninja GEN /mnt/c/projects/legato/workspace/legato/build/tools/build.ninja Tools arch: x86_64 MAKE mkPatch make[2]: Entering directory '/mnt/c/projects/legato/workspace/legato/framework/tools/mkPatch' CCLD /mnt/c/projects/legato/workspace/legato/bin/mkPatch make[2]: Leaving directory '/mnt/c/projects/legato/workspace/legato/framework/tools/mkPatch' NINJA /mnt/c/projects/legato/workspace/legato/build/tools/build.ninja [87/87] Linking tool make[1]: Leaving directory '/mnt/c/projects/legato/workspace/legato' GEN sources.md5 GEN package.properties GEN build/raspi/config.sh MAKE framework make[1]: Entering directory '/mnt/c/projects/legato/workspace/legato' GEN /mnt/c/projects/legato/workspace/legato/build/raspi/framework/build.ninja NINJA /mnt/c/projects/legato/workspace/legato/build/raspi/framework/build.ninja [70/70] Dynamic linking liblegato CCLD /mnt/c/projects/legato/workspace/legato/build/raspi/framework/lib/libComponent_le_pa_start.so CCLD /mnt/c/projects/legato/workspace/legato/build/raspi/framework/bin/startSystem /mnt/c/projects/legato/workspace/legato/framework/daemons/linux/common/ima.c:24:26: fatal error: openssl/x509.h: No such file or directory
include <openssl/x509.h>
compilation terminated. Makefile.framework:365: recipe for target '/mnt/c/projects/legato/workspace/legato/build/raspi/framework/bin/startSystem' failed make[1]: [/mnt/c/projects/legato/workspace/legato/build/raspi/framework/bin/startSystem] Error 1 make[1]: Leaving directory '/mnt/c/projects/legato/workspace/legato' Makefile:535: recipe for target 'framework' failed make: [framework] Error 2'''