I’m totally new to embedded LINUX and need to write a few device drivers for an ARRIA 10 design.
I have been working through the “Introduction to Linux Kernel Tutorial” found on RocketBoards.org. When I attempt to re-build the kernel, the build fails as shown below. My host is UBUNTU 12.04 LTS. Is there an additional step to retrieve the required openssl code?
Here’s the output of the make …
make ARCH=arm LOCALVERSION= zImage
scripts/extract-cert.c:21:25: fatal error: openssl/bio.h: No such file or directory
OpenSLL is a package of operating system for secure connection via net. It needs some certificate for doing something and it could not find it. However, packages are parts of Root File System of the Linux operating system, not parts of Linux kernel. So, building something for OpenSLL while rebuilding Linux kernel is strange. I think that the problem is that Your Ubuntu tries to connect to certain place at internet to get a tool which is need for building Linux kernel according to the Makefile and which is missing.
May be, the missing part could be a cross-compile toolchain. Did You properly install and export it? It means, are You able to get answer for command
? And did You export it as cross-compilator
Moreover it is rather reliable to write it also as a part of make command, in this way:
make ARCH=arm CROSS_COMPILE=arm-linux-gueabihf- LOCALVERSION= zImage
I hope this message help You a bit.