Re: Linux-gpib-4.2 can not compile on CentoOS 7
Søren Koch via Linux-gpib-general <[email protected]>
| Newsgroups | gmane.linux.hardware.gpib.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Frank. Thanks a lot. That fix solved the issue, and I can now compile the driver and our gpib application appears to work! I still need to do a fresh CentOS install and check (to make sure that it is not the already installed 4.1 driver which makes things work), but so far your suggested fix solved the issue 😊 Dave: When I look in the kernel source I can not find a file called of.h in include/linux directory (There is no .h files there, just a lot of sub directories) Yours Søren koch ________________________________ From: Frank Mori Hess <[email protected]> Sent: Wednesday, November 28, 2018 11:13:55 AM To: Søren Koch Cc: [email protected] Subject: Re: [Linux-gpib-general] Linux-gpib-4.2 can not compile on CentoOS 7 On Tue, Nov 27, 2018 at 11:28 PM Søren Koch via Linux-gpib-general <[email protected]> wrote: > I have just tried to install linux-gpib-4.2 on a new CentOS 7 system > (after running yum update to get latest packages) > > When I try to compile the kernel driver i get the following error: > Easiest thing is to go into drivers/gpib/Makefile and disable the fmh_gpib driver by removing the line that says obj-y += fmh_gpib/ Your 3.10 kernel probably needs some extra compatibility code to compile the device tree related code in the fmh_gpib driver. I don't think your kernel configuration is wrong. _______________________________________________ Linux-gpib-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-gpib-general