Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5114

Raspberry Pi OS • "/lib/modules/6.6.30-v7l+/build. No such file or directory " after compiling custom kernel

$
0
0
Hi all,
I just compiled a custom kernel for the RaspberryPi 4B as shown in this video https://www.youtube.com/watch?v=jmeL4Ewylr4

Then I transferred the built image to the pi and rebooted it.

After that, I am trying to compile a kernel module but i get the error that that build directory doesnt exist.

I tried

Code:

sudo apt install raspberrypi-kernel raspberrypi-kernel-headers
but it is saying that the latest version is already installed.
I went through another article on this forum where it was suggested to add arm_64bit=0 at the end of /boot/config.txt but that didnt help either.

Let me know if you have a solution to this

Statistics: Posted by tha_tha_kernel-dev — Sun Jul 07, 2024 7:46 am



Viewing all articles
Browse latest Browse all 5114

Trending Articles