-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Compiling your own kernel module ποΈ #2919
Comments
Hi @peter-power-594 thanks for your report. Other way is to try to compile that external module with LLVM/clang, which may lead to fixing the code of that external module :) |
Thank you for your reply @tpgxyz, in this case I'm gonna try to ask for help on the original git repository. |
@tpgxyz Guess what ? It's working ! ! ! By customizing a bit the dkms file with :
The build succeeded ! The keyboard and audio is working right now it's amazingly cooooll ! |
This issue has been mentioned on OpenMandriva forum. There might be relevant details there: https://forum.openmandriva.org/t/use-dkms-with-openmandriva-rome-23/4927/3 |
Following the dkms-broadcom example and other packages, I tried to created the spec file : Followed a few tutorials online but couldn't figure out how to test it. When you can, poke me :-) Cheers Peter |
Hope you get poked and this gets resolved soon. |
The original repo has been updated, patches are not needed anymore. My spec file won't work by the way :-P, I will catch up later for the cooking part! Cheers |
Ladies & Gentlemen from OM,
I 'm trying to use DKMS with OpenMandriva ROME 23 latest version to build the module to add keyboard / trackpad / audio support for my macbook air 2020. (Apple Intel with T2 chip)
The repo used is the following : https://github.com/t2linux/apple-bce-drv (Branch AUR)
When I was on the OM 4.3x Rock I was able to build it with success πͺ I published my log a few weeks ago :
https://french-touch.de-14h09.tk/keyboard-and-trackpad-for-a-linux-macbook-with-the-t2-security-chip-97f0019c39c7
I guess it was using gcc11 at this time ?
Now with the rome edition, looks like everything was switch to clang and got some issues. When compiling with GCC, it's complaining to not understand "clangish" stuff and if tried manually with clang, it's complaining about "gccish" stuff π
Here is the log :
I have no idea what need to be patched.
Is there an existing config / switch to make it build with GCC instead of clang ?
Or files need to be adjusted manually one by one ?
Thank you in advance for your help.
PS: No urge, at work Iβm using an external usb keyboard so itβs fine,
but at home or remotely I can't use the laptop anymore without an external keyboard π€‘
The text was updated successfully, but these errors were encountered: