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

Can't make module on raspberry pi3 #8

Closed
YandievRuslan opened this issue Mar 13, 2018 · 2 comments
Closed

Can't make module on raspberry pi3 #8

YandievRuslan opened this issue Mar 13, 2018 · 2 comments

Comments

@YandievRuslan
Copy link

when i type "make"...
make -C /lib/modules/4.9.59+/build M=/tmp/LoRa/LoRa modules
make[1]: Entering directory '/lib/modules/4.9.59+/build'
make[1]: *** No rule to make target 'modules'. Stop.
make[1]: Leaving directory '/lib/modules/4.9.59+/build'
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2

@starnight
Copy link
Owner

starnight commented Mar 14, 2018

Which operating system do you install on your Raspberry Pi 3? Raspbian or some else?
The one I use is Archlinux ARM, not the Raspbian. But, I think this codes could be build in most Linux distribution, except the kernel changing problem. For example, 4.15 is big difference than ever before.

Maybe, you can check the "linux-headers" package is installed or not. I am not sure that it is also called "linux-headers" or some name else in Debian series. But, I guess you can try to check the kernel module development related packages are installed first.

@YandievRuslan
Copy link
Author

Yes, i use Raspbian.
And yes you are right, i had to install "raspberrypi-kernel-headers" packet.
Now is all right.
Tnks;

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