[Bug 784512] New: home:lnt-sysadmin:lab-support/gpib: Can't build ni_usb_gpib module
https://bugzilla.novell.com/show_bug.cgi?id=784512 https://bugzilla.novell.com/show_bug.cgi?id=784512#c0 Summary: home:lnt-sysadmin:lab-support/gpib: Can't build ni_usb_gpib module Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: x86 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: opensuse-communityscreening@forge.provo.novell.com ReportedBy: wjones@fluke.com QAContact: opensuse-communityscreening@forge.provo.novell.com CC: wjones@fluke.com Found By: Community User Blocker: No Created an attachment (id=509010) --> (http://bugzilla.novell.com/attachment.cgi?id=509010) Patch for gpib.spec The spec file for the linux-gpib package doesn't build the ni_usb_gpib module, which we need at our site. This module (and others) are probably disabled because of build errors. I'm attaching a patch that enables ni_usb_gpib and works around the errors. The build failed because EXTRA_CFLAGS was used to append local header directories to the standard include path. Unfortunately, the linux-gpib distribution includes header files with the same names as kernel header files (e.g. "linux/interrupt.h"). These files use "#include_next" to pull in the corresponding kernel header files. This only works if local directories are **prepended** to the include path. My workaround feels like a bit of a kludge -- I defined: CC="gcc -I%{_builddir}/%{buildsubdir} ..." This does work, and even if it's a kludge, it highlights the problem so that someone with a better understanding of the build process can create a cleaner fix. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=784512 https://bugzilla.novell.com/show_bug.cgi?id=784512#c1 --- Comment #1 from Warren Jones <wjones@fluke.com> 2012-10-10 18:32:50 UTC --- Created an attachment (id=509013) --> (http://bugzilla.novell.com/attachment.cgi?id=509013) ni_usb_gpib.files -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=784512 https://bugzilla.novell.com/show_bug.cgi?id=784512#c2 --- Comment #2 from Warren Jones <wjones@fluke.com> 2012-10-10 18:33:57 UTC --- Created an attachment (id=509014) --> (http://bugzilla.novell.com/attachment.cgi?id=509014) ni_usb_gpib.preamble -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=784512 https://bugzilla.novell.com/show_bug.cgi?id=784512#c3 Warren Jones <wjones@fluke.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #509013|0 |1 is obsolete| | --- Comment #3 from Warren Jones <wjones@fluke.com> 2012-10-10 18:34:52 UTC --- Created an attachment (id=509015) --> (http://bugzilla.novell.com/attachment.cgi?id=509015) ni_usb_gpib.files -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=784512 https://bugzilla.novell.com/show_bug.cgi?id=784512#c4 Joschi Brauchle <joschibrauchle@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joschibrauchle@gmx.de --- Comment #4 from Joschi Brauchle <joschibrauchle@gmx.de> 2013-04-22 08:54:40 UTC --- Hi, sorry for the long delay. The GPIB package in home:lnt-sysadmin:science is designed for personal use, where the USB module was not needed. I will try to get the USB support working but cannot promise anything. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=784512 https://bugzilla.novell.com/show_bug.cgi?id=784512#c5 Joschi Brauchle <joschibrauchle@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Joschi Brauchle <joschibrauchle@gmx.de> 2013-04-22 10:26:22 UTC --- Ok, USB kernel module is now included here: https://build.opensuse.org/package/show?package=gpib&project=home%3Alnt-sysadmin%3Ascience -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com