Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make does not compiple o Rpi 4 - Buster #22

Open
pinakighatak opened this issue Apr 17, 2024 · 3 comments
Open

make does not compiple o Rpi 4 - Buster #22

pinakighatak opened this issue Apr 17, 2024 · 3 comments

Comments

@pinakighatak
Copy link

I get the following error on running make:
make[1]: *** /lib/modules/6.6.26-v8+/build: No such file or directory. Stop.
make: *** [Makefile:17: build] Error 2

@ChrisHae
Copy link
Collaborator

You can try the solution of another user and link the kernel-header directory from /usr/src to the kernel version directory in lib/modules.
In his case it was sudo ln -s /usr/src/linux-headers-6.1.21-v8+ /lib/modules/$(uname -r)/build

Or you can try adding "arm_64bit=0" to config.txt, reboot and make again

@pinakighatak
Copy link
Author

You can try the solution of another user and link the kernel-header directory from /usr/src to the kernel version directory in lib/modules. In his case it was sudo ln -s /usr/src/linux-headers-6.1.21-v8+ /lib/modules/$(uname -r)/build

Or you can try adding "arm_64bit=0" to config.txt, reboot and make again

Thank you. But I want to run a 64-bit build. The first option does not work. Are you saying the Phoscon RTC module does not support 64-Bit?

@ChrisHae
Copy link
Collaborator

No. It just means that you don't have the kernel headers for this kernel version yet. I think the raspberrypi-kernel-headers package is always a little bis slow with that. see this forum post related to kernel headers: https://forums.raspberrypi.com/viewtopic.php?f=28&t=276122

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants