Hi,
anything new on this package?
It seems it wants to replace my Kernel with an older version so I am hessitating to try this out.
Can this be build for a newer kernel? I am currently running 3.15.4-1-ARCH.
With best regards
Search Criteria
Package Details: linux-gpib-svn 1589-4
Package Actions
- View PKGBUILD
- Download tarball
- Search wiki
- Flagged out-of-date (2012-11-22)
| Package Base: | linux-gpib-svn |
|---|---|
| Description: | A support package for GPIB (IEEE 488) hardware. |
| Upstream URL: | http://linux-gpib.sourceforge.net/ |
| Category: | modules |
| Licenses: | |
| Submitter: | Lampus |
| Maintainer: | Lampus |
| Last Packager: | None |
| Votes: | 3 |
| First Submitted: | 2012-02-08 06:31 |
| Last Updated: | 2012-08-15 06:48 |
Latest Comments
Comment by p90
Comment by Foucault
New source tarball
https://dl.dropboxusercontent.com/u/17449858/outgoing/linux-gpib-svn-1618-1.src.tar.gz
Comment by Foucault
I managed to build it but it needs some modifications.
1. fix-asm-includes.patch is indeed not needed.
2. The bison patch is required, at least for stock bison (3.0.smth) that is the default for arch with some additional modifications.
3. The lvso_usb driver fails to build so it has to be removed from the package.
Use this source tarball to build it: https://dl.dropboxusercontent.com/u/17449858/outgoing/linux-gpib-svn-1611-4.src.tar.gz
I have also modified the PKGBUILD to be conformant to the new format (pkgver, svn uris, etc). Additionally I added some udev rules for the usb devices that do not require firmware. I do not yet know how to upload firmware through udev but it should doable using some additional udev rules and fxload.
To use linux-gpib as regular user add yourself to the gpib group.
Comment by nboichat
_Compiles_ with kernel 3.7.5-1, and bison 2.7-1, with the following 2 modifications:
1. fix-asm-includes.patch isn't needed anymore (fixed in SVN)
2. Add a patch to fix the bison problem (first comment of http://sourceforge.net/tracker/?func=detail&aid=3557737&group_id=42378&atid=432940, available here: http://pastebin.com/x0BL1UDw)
Haven't had a chance to test it with a real device though.
I can pass you the updated PKGBUILD if you want.
Comment by Lampus
PKGBUILD updated.
Added patch for fixing problems with "#include <asm/system.h>".
But you should downgrade bison to version 2.5.1 manually before building.
Comment by sjakub
MrBlister: Downgrade bison to 2.5
Also, for this to build, this line just before the configure is required:
sed -i 's|#include <asm/system.h>||' drivers/gpib/sys/ibsys.h
The dependency could also be changed to <3.5.
Does anybody know what is wrong with 3.5?
Comment by MrBlister
Does not build (GCC=4.7.1):-
In file included from parse.h:1:0,
from ibutil.c:26:
./ibConfYacc.h:155:5: error: conflicting types for 'gpib_yyparse'
Comment by imrehg
Current dependency listing of "linux<=3.4" breaks install with different minor number, e.g. the current "3.4.4" does not satisfy the criteria. Would it be better with "linux<3.5"?
Comment by Lampus
Foucault,
Thank you for advice
PKGBUILD updated
Comment by Foucault
Instead of hardcoding the extramodules dir I think it would be easier to derive it from the current kernel version. For instance:
_kernver="$(uname -r)" to print the kernel version, eg. 3.3.8-1-ARCH
then you can replace all instances of /lib/modules/${_extramodules} in your PKGBUILD with /lib/modules/${_kernver}/extramodules/ which is basically a symlink to /lib/modules/extramodules-3.x-ARCH/