From: Werner K. <wer...@on...> - 2019-04-26 16:53:14
|
Hi Julien, I received a mail with a hint that fixed my problem. Now I don't know if I can find that mail again. I was told that this looks like a particular OpenSuse problem. Here is my query first: ******************************************************************* Hi, I followed the installation description in the linux-gpib-kernel-4.2.0 directory until the make-command. In the output I get echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) and /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 or: unknown type name ‘wait_queue_t’; did you mean ‘wait_event’? #define WQT wait_queue_t ^ I ran "make oldconfig && make prepare" without error, but the errors above remained. I looked for the type-description ‘wait_queue_t’ but didn't find anything apart a remark in a log-file that didn't help me ( "include /sys/sysmacros.h for minor() definiton" ) My system: OpenSuse Leap 15.0, x86_64, kernel 4.12.14-lp150.12.48-default Now I don't know how fix that problem. I am not a big expert in Linux. Do you have any idea, any hint Best regards Werner ******************************************************************* Oh yes, Julien, now I found a note concerning that problem. I simply copy the important part of the note: ******************************************************************* Hallo Werner, The first message is not an error message, it is in fact the echo of the build script commands. The second is an error which might be specific to Suse. To fix this please change line 620 in drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c from *#if LINUX_VERSION_CODE < KERNEL_VERSION(4,13,0)* to *#if LINUX_VERSION_CODE < KERNEL_VERSION(4,12,14)* mfG, -Dave ******************************************************************* Best regards Werner Am Donnerstag, 25. April 2019, 18:49:05 CEST schrieb Julien Salort: > Hello Werner, > > > */home/werner/GPIB/linux-gpib-4.2.0/linux-gpib-kernel-4.2.0/drivers/gpib/l > > pvo_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 |