Menu

#90 modules compile error with linux 6.12

v1.0 (example)
closed
nobody
None
5
2025-03-05
2025-03-03
No

Hello, today I wanted to recompile gpib kernel modules after kernel update but it failed with this error:

/var/tmp/portage/sci-libs/linux-gpib-modules-4.3.6/work/linux-gpib-kernel-4.3.6/drivers/gpib/gpio/gpib_bitbang.c: In function allocate_gpios’:
/var/tmp/portage/sci-libs/linux-gpib-modules-4.3.6/work/linux-gpib-kernel-4.3.6/drivers/gpib/gpio/gpib_bitbang.c:966:56: error: GPIOF_DIR_IN undeclared (first use in this function); did you mean GPIOD_IN?
  966 |                 if (gpio_request_one (gpios_vector[j], GPIOF_DIR_IN, NULL)) break;
      |                                                        ^~~~~~~~~~~~
      |                                                        GPIOD_IN

The kernel version is 6.12

Thank you

Discussion

  • DaveP

    DaveP - 2025-03-03

    Hi Jakub,
    Can you try the drivers from the kernel part of the git repo
    cheers,
    -Dave

     
  • Jakub Ladman

    Jakub Ladman - 2025-03-03

    Hi Dave,
    git version is compiling and working OK for me.
    Time for a new release?
    Thanks and best wishes.
    J.

     
  • DaveP

    DaveP - 2025-03-05

    Thanks Jakub,
    Yes it is time for a new release - hope to have it out by the end of the month.
    cheers,
    -Dave

     
  • DaveP

    DaveP - 2025-03-05
    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.