If your piOS version is too old, you may encounter this error during the following compilation:
+
+
<code>make[1]: *** /lib/modules/5.4.47-v7l+/build: No such file or directory. Stop.</code>
+
+
The reason is : the cmd above will simply install the latest kernel headers available on the mirror. Which indeed matches the latest available kernel on the mirror. But not necessarily the installed kernel on the system.