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
Kernel module does not compile on 6.6 #91
Comments
It is a warning being treated as an error (see This warning can be disabled by adding You can disable the warning by editing
Hope this helps until the code is updated. |
What I did is to change the declarations in nrc-netlink.c to use the "correct" type for the argument as follows: #ifdef CONFIG_SUPPORT_NEW_NETLINK Both functions simply return 0, so it's a fairly low risk change. |
I compiled on 6.6 and works with @mclendon99 fix.
|
You're not using the right kernel headers. Once you upgrade to 6.6, you must reboot, recompile nrc.ko with the correct kernel headers in /lib/modules/$(uname -r), and then insmod it. I'm on 6.6.28 now with no issues.
[MAC Configuration] OK |
Thanks, I just realized apt updated kernel to 6.6.31-v8+, but there are no kernel-headers in /usr/src. Thanks tho, I'll keep working it. |
Attempting to build the kernel module fails on a fresh install of Raspberry Pi OS (bookworm) running the 6.6.20 kernel on a Pi 4:
The text was updated successfully, but these errors were encountered: