Re: Problem installing driver on CentOS8

Søren Koch via Linux-gpib-general <[email protected]> Wed, 26 Feb 2020 08:26:23 +0100
Newsgroups gmane.linux.hardware.gpib.general
Message-ID <[email protected]>
Hi Frank.


Thanks a lot for the suggestion.

I tried it yesterday, and changing uaccess.h fixed the issue and the
driver now works as it should and I can 'talk' to the Solartron 1260 FRA :-)

I am sorry that i din not have time to test the suggestion before now,
but our IT department had messed up on the network configuration for
that server and i was not that keen on messing with a server where it
sometimes got the wrong IP address.....


Again, thanks a lot for the help.


Best regards

Søren koch


On 2/20/20 12:03 AM, Frank Mori Hess wrote:
> 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

-- 
Søren Koch
Senior Development Engineer
Mob: +45 21325247
[email protected]
Fysikvej
Building 310
2800 Kgs. Lyngby



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