You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Debian DKMS issue because of separate linux common headers #11
As Debian uses separate arch and common linux header packages with different locations, stdarg.h is not getting found at build time.
The latest GIM 8.2.0 package from releases.
Some quick&dirty workaround fixed the build issue, but more clean solution is desired. Maybe there is one, but I could not find that with a quick search. Likely, automake needs to be involved like in some other modules.
Interesting, I wonder what is the proper way to handle this...
I would create a PR, if that would be. The snippet is only a demonstration of the problem. I see other DKMS module examples use auto generated Makefile, and that auto-detection is likely buried inside of patched Debian version of autoconf/automake.
Activity
yunxiali commentedon Jul 11, 2025
Interesting, I wonder what is the proper way to handle this...
andvgal commentedon Jul 11, 2025
I would create a PR, if that would be. The snippet is only a demonstration of the problem. I see other DKMS module examples use auto generated Makefile, and that auto-detection is likely buried inside of patched Debian version of autoconf/automake.
yunxiali commentedon Aug 19, 2025
I did some experiment, I think the real issue here is that we should be using #include <linux/stdarg.h> instead. will fix this in the future.
Update amdgv_oss_wrapper.h
Update amdgv_oss.h
codambro commentedon Jun 2, 2026
Can this please be addressed? Running into this in SLES as well, should be linux/stdarg.h
yunxiali commentedon Jun 2, 2026
Is this still an issue after
MxGPU-Virtualization/gim/dkms/m4/linux-headers.m4
Line 57 in f603f87
codambro commentedon Jun 2, 2026
Yes.
Not sure why the test for it isn't finding it. But if I force it, I can successfully build: