-
Notifications
You must be signed in to change notification settings - Fork 5k
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
3.18.x kernel using which gcc to compile? #822
Comments
You just need the headers from the kernel you want to compile the module against, either gcc should work. |
I tried this - it does not work! When using gcc-4.8.3 on my RPI (to match the version used on the kernel) and creating the corresponding softlinks in /lib/modules/... (and using the exact checkout) using https://github.com/notro/rpi-source I can compile a module, BUT what does not work is loading it afterwards - it aborts with the following message: "disagrees about version of symbol module_layout" Maybe with RPI2 we could really start compiling the kernels on the pi itself and start sharing the build and source directory (or at least the portions that are necessary). |
Looks like there's more (possibly helpful) discussion about this in #758 |
I believe there are 2 distinct points: Maybe provide a kernel that is compiled on the RPI(2) itself with the firmware and deliver the build/sources directory as an optional install? |
@R00t8ug has this issue been resolved? If yes, please close this issue. Thanks. |
Closing due to lack of activity. Reopen if you feel this issue is still relevant. |
Split bindings crate out of the main kernel crate
I try a lot driver having problem, but upgrade the compiler gcc to 4.8 fix all the problem, by default 3.18.x gcc was 4.6 version. Any different?
Fixed: #811
The text was updated successfully, but these errors were encountered: