Menu

#32 3.2.11 doesn't compile on 2.6.9 kernel

v1.0 (example)
closed-fixed
nobody
None
5
2013-09-09
2008-10-07
frederich
No

Dear,
linux-gpib-3.2.11 doesn't compile neither on a fedora core 3 nor a a rhel4.
gpib_types.h requires linux/mutex.h which is not present on the *default* kernel.
Actually, after upgrading the rhel kernel from 2.6.9-11.EL to 2.6.9-78.EL, linux/mutex.h is there.
However, the code is failing to compile due to unlocked_ioctl and compat_ioctl. The macro HAVE_COMPAT_IOCTL shall test whether these iotcl are present on the runnig kernel but cannot be found inthe linux-gpib source code.
Wouldn't it be easier to include the kernel related part directly in the kernel tree to avoid such issues ? Maintaining a driver "out of tree" is just a maintenance hell for both linux gpib developers and users.
Best Regards,

Discussion

  • Andreas Huettel

    Andreas Huettel - 2013-09-09

    This should be fixed by now.

     
  • Andreas Huettel

    Andreas Huettel - 2013-09-09
    • status: open --> closed-fixed
    • Group: --> v1.0 (example)
     

Log in to post a comment.