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.
--- Makefile.bak 2025-07-10 23:33:42.794099537 +0300
+++ Makefile 2025-07-10 23:42:27.823828145 +0300
@@ -76,6 +76,10 @@
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
subdir-ccflags-y += -I $(KERNELDIR)/include/linux
+COMMON_HEADERS_PATH = /usr/src/linux-headers-$(shell uname -r | sed -r "s,-[^-]+\$$,-common,")
+subdir-ccflags-y += -I $(COMMON_HEADERS_PATH)/include/linux
+
+
ifeq ($(exclude_dcore_debug), true)
subdir-ccflags-y += -DEXCLUDE_DCORE_DEBUG
endif
As Debian uses separate arch and common linux header packages with different locations,
stdarg.his 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.