On Wed, Mar 16, 2016 at 11:21 PM, SIVA SUBRAMANIAN.P <psiv...@gmail.com> wrote: > Hi, > While compiling linux kernel 4.4 for 96boards, I'm getting below error > even though openssl headers are available in sysroot path. > > | HOSTCC scripts/selinux/mdp/mdp > | > /mnt/home/knagabhirava/hikey/build/tmp-glibc/work-shared/hikey/kernel-source/scripts/extract-cert.c:21:25: > fatal error: openssl/bio.h: No such file or directory > | #include <openssl/bio.h> > | ^ > | compilation terminated. > > ERROR: Task 6 > (/mnt/home/knagabhirava/hikey/build/../meta-96boards/recipes-kernel/linux/linux-96boards_git.bb, > do_compile) failed with exit code '1'
If extract-cert.c is being compiled with HOSTCC then the recipe should probably depend on openssl-native (not openssl). Or maybe the assumption is that openssl development libraries are installed on the host (e.g. "apt-get install libssl-dev" for Debian based systems). Either way, this isn't the right mailing list for meta-96boards questions... > Any idea/pointers? > > Regards, > Sivasubramanian > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto