-
Notifications
You must be signed in to change notification settings - Fork 3
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
On latest RHEL8, dkms fails to build #2
Comments
My fix for this was: sudo vi +540 /var/lib/dkms/gasket/0.0.git.245.66aa4629/source/gasket_page_table.c Changing the 5 to a 4 so it doesn't handle the if and goes to the else. Seems that RHEL has sent the corresponding patch through to update |
I'm still seeing this issue on RHEL 8 (Rocky specifically) on kernel 4.18.0-477.27.1.el8_8.x86_64 I had to apply this fix in the comment above, as well as the DMA_BUF call on line 57 was also causing problems, reverting the line on 56 to: From this PR: Resolved it, avoiding that line and letting the modules compile OK. Hope this helps somebody else, not sure why its failing for us, as far as I can tell that should now be OK for RHEL 8..... |
This solved it for me. Thanks @abeeson and @rh-dluong |
Damn. Fix one problem, introduce five others. I was the one who raised the issue that led to this change: google#14. It was supposed to be a more elegant solution than the version-based conditionals, which we were trying our hardest to get rid of. Also please disregard the incorrect autolinked PR. That one fixes RHEL9 backport issues, not this one. |
So I did some brief investigation; two problems here: Problem 1: Macro
|
This is what's happening when trying to install on lastest rhel8:
The text was updated successfully, but these errors were encountered: