Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing openssl library when cross compiling for raspi #50

Open
udi-hakim opened this issue Nov 25, 2019 · 0 comments
Open

Missing openssl library when cross compiling for raspi #50

udi-hakim opened this issue Nov 25, 2019 · 0 comments

Comments

@udi-hakim
Copy link

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'''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant