When I try to build the Kernel for R36.4.3, I am getting errors on openssl include files. EG:
scripts/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory
21 | include <openssl/bio.h>
| ^~~~~~~~~~~~~~~
I have run source_sync.sh:
./source_sync.sh -k -t jetson_36.4.3
When make -C kernel in invoked, I get during the build:
ake[1]: Entering directory ‘/home/ccmcphe/new-jetson/jetson/Jetson.36/Jetson-Flash/R36.4.3/Linux_for_Tegra/source/kernel/kernel-jammy-src’
*** Default configuration is based on ‘defconfig’
No change to .config
make[1]: Leaving directory ‘/home/ccmcphe/new-jetson/jetson/Jetson.36/Jetson-Flash/R36.4.3/Linux_for_Tegra/source/kernel/kernel-jammy-src’
make -j 32
ARCH=arm64
-C /home/ccmcphe/new-jetson/jetson/Jetson.36/Jetson-Flash/R36.4.3/Linux_for_Tegra/source/kernel/kernel-jammy-src
LOCALVERSION=-tegra
–output-sync=target Image
HOSTCC scripts/sign-file
scripts/sign-file.c:25:10: fatal error: openssl/opensslv.h: No such file or directory
25 | include <openssl/opensslv.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.host:95: scripts/sign-file] Error 1
make[2]: *** Waiting for unfinished jobs…
HOSTCC scripts/extract-cert
scripts/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory
21 | include <openssl/bio.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.host:95: scripts/extract-cert] Error 1
make[1]: *** [Makefile:1250: scripts] Error 2
make: *** [Makefile:31: kernel] Error 2
I also note that there is no reference to openssl for headers and/or libraries in the Cross Compiler.
Anyone know how I can fix this?