Re: Problem installing driver on CentOS8

Frank Mori Hess <[email protected]> Wed, 19 Feb 2020 18:03:26 -0500
Newsgroups gmane.linux.hardware.gpib.general
Message-ID <CAJz5OpcpcypZ3citRYJvEoCyGeoXgnqn6bT5kUEPOxy2JuA9Ng@mail.gmail.com>
On Wed, Feb 19, 2020 at 5:11 AM Søren Koch via Linux-gpib-general
<[email protected]> wrote:
> I have just tried to installl Linux-gpib-4.3 on a new CentOS 8 system,
> and i get the following error when running make:

> error: macro "access_ok" passed 3 arguments, but takes just 2

It looks like redhat backported the linux 5.0 change to access_ok to
their 4.18 kernel.  You can work around the problem by editing
linux-gpib-kernel/compat/include/linux/uaccess.h and forcing it to use
the definition of COMPAT_ACCESS_OK
 that uses the 2 argument version of access_ok


_______________________________________________
Linux-gpib-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-gpib-general