The linux-gpib kernel modules fail to build on Linux kernel 6.12+ due to GPIO API changes.
The GPIOF_DIR_IN flag has been removed from the kernel's GPIO subsystem.
Error encountered:
/drivers/gpib/gpio/gpib_bitbang.c:968:68: error: 'GPIOF_DIR_IN' undeclared
Environment:
I fixed it:
Index: linux-gpib-kernel/drivers/gpib/gpio/gpib_bitbang.c
===================================================================
--- linux-gpib-kernel/drivers/gpib/gpio/gpib_bitbang.c (revision 2106)
+++ linux-gpib-kernel/drivers/gpib/gpio/gpib_bitbang.c (working copy)
@@ -965,7 +965,8 @@
int j;
int last = sn7516x ? GPIB_PINS + SN7516X_PINS : GPIB_PINS ;
for ( j=0 ; j<last ; j++ ) {
This is fixed in the git repo, albeit using another approach.
Wasn't fixed in SVN trunk (revision 2106), but you can close it, if it is now fixed.