-
Notifications
You must be signed in to change notification settings - Fork 46
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 error: implicit declaration of function ‘init_timer’; #29
Comments
Hi @bomilkar! Yes, this is because the module has originally been written for the 2.x line of kernels, but 4.x changes the structure for timer callbacks. There's an updated .c file in the #28 issue, which you can probably use. Unfortunately, I haven't yet had the time to look into it and merge it to the repo, but a pull request would be welcome! |
Thanks @gkaindl for pointing that out. |
After playing with it for a bit I conclude it does NOT work with this modified rfm12b.c . I can "make" the kernel module and "sudo insmod rfm12b.ko" says nothing (maybe good).
It seems as if the first "insmod rfm12b.ko" did not insert the module correctly. Also suspicious:
Any idea what to try next? |
I followed the instructions including rpi-source.
Make fails early when it compiles rfm12b.c. Details below.
Any idea??
The text was updated successfully, but these errors were encountered: