Kernel build issue, L4T 35.4.1

I’m currently trying to build a new kernel using the 35.4.1 instructions, on an x86 machine running Ubuntu 20.04.06; following the instructions in Kernel Customization — Jetson Linux Developer Guide documentation .

I downloaded the reference toolchains as recommended, and downloaded the public_sources.tbz2 . After unpacking, I ran as recommended, and got some openssl-related errors:

/home/riz/olyns/r35-test/jetson_top_r35.4.1/Linux_for_Tegra/source/public/kernel/kernel-5.10/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/ scripts/extract-cert] Error 1
make[2]: *** Waiting for unfinished jobs....
  HOSTCC  scripts/sign-file
/home/riz/olyns/r35-test/jetson_top_r35.4.1/Linux_for_Tegra/source/public/kernel/kernel-5.10/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/ scripts/sign-file] Error 1

…since I’m following the Developer Guide instructions, I’d love to know what’s missing; I can do some investigation, but this isn’t even what I really want to do yet. :)



do you have libssl-dev installed on your system?

That appears to have been the issue - thanks. Maybe update the docs to reflect all the stuff that actually needs to be installed? (ie, “build-essential isn’t actually enough”)

Appreciate the response, tho.

Another requirement some might be missing, in addition to “libssl-dev”, is:
(depending on config I think this changes)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.