Cannot make linux-gpib-kernel-4.2.0

Julien Salort <[email protected]>
Newsgroups gmane.linux.hardware.gpib.general
Message-ID <[email protected]>
Hello Werner,

> */home/werner/GPIB/linux-gpib-4.2.0/linux-gpib-kernel-4.2.0/drivers/gpib/lpvo_usb_gpib/
> lpvo_usb_gpib.c:621:13:* *err*
> unknown type name ‘*wait_queue_t*’; did you mean ‘*wait_event*’?
> *w*ait_queue_t
> *^*
[snip]
> My system:  OpenSuse Leap 15.0,  x86_64, kernel  4.12.14-lp150.12.48-default

I had exactely the same problem on my system, also using OpenSuSE Leap 15.

I figured out that the problem is this line:

#if LINUX_VERSION_CODE < KERNEL_VERSION(4,13,0)

in drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c (line 621)

Changing it to

#if LINUX_VERSION_CODE < KERNEL_VERSION(4,12,0)

fixed it for me.

I am not sure how the ticketing system works for linux-gpib to submit a 
patch if it hasn't been done yet, I came across your message when 
searching for the problem for myself.


Bests,


Julien

_______________________________________________
Linux-gpib-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-gpib-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.