cryotak
2008-06-25 17:40:19 UTC
Another problem in getting the PCI-GPIB card running under openSuSE 11.0 and the "2.6.25.5-1.1-pae" kernel.
After fixing the problem with the wrong gcc version number and finding that
in the /usr/local/natinst/src/nikal.c the SA_INTERRUPT variable has
been replaced by IRQF_DISABLED and SA_SHIRQ has been replaced with
IRQF_SHARED,I am now stuck on the follwing
error.
The following shows up when I try and update the driver using "updateNIDrivers":
..
Uninstalling NI-KAL (nikal): done
/bin/rm -rf objects
Updating NI-KAL:
NI-KAL update failed.
/bin/cp nikal.c objects/nikal.c
/bin/cp nikal.h objects/nikal.h
make -C /lib/modules/2.6.25.5-1.1-pae/source SUBDIRS=/usr/local/natinst/nikal/src/objects modules
make[1]: Entering directory `/usr/src/linux-2.6.25.5-1.1'
CC [M] /usr/local/natinst/nikal/src/objects/nikal.o
Building modules, stage 2.
MODPOST 1 modules
FATAL: modpost: GPL-incompatible module nikal.ko uses GPL-only symbol 'usb_unlink_urb'
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1'
make: *** [objects/nikal.ko] Error 2
ERROR: make of nikal kernel module failed, not installing kernel module.
updateNIDrivers should be called again after fixing the problem.
Logging failure...
Include the file /tmp/niSystemReport.out.gz when contacting
National Instruments for support.
Any help would be most appreciated.
After fixing the problem with the wrong gcc version number and finding that
in the /usr/local/natinst/src/nikal.c the SA_INTERRUPT variable has
been replaced by IRQF_DISABLED and SA_SHIRQ has been replaced with
IRQF_SHARED,I am now stuck on the follwing
error.
The following shows up when I try and update the driver using "updateNIDrivers":
..
Uninstalling NI-KAL (nikal): done
/bin/rm -rf objects
Updating NI-KAL:
NI-KAL update failed.
/bin/cp nikal.c objects/nikal.c
/bin/cp nikal.h objects/nikal.h
make -C /lib/modules/2.6.25.5-1.1-pae/source SUBDIRS=/usr/local/natinst/nikal/src/objects modules
make[1]: Entering directory `/usr/src/linux-2.6.25.5-1.1'
CC [M] /usr/local/natinst/nikal/src/objects/nikal.o
Building modules, stage 2.
MODPOST 1 modules
FATAL: modpost: GPL-incompatible module nikal.ko uses GPL-only symbol 'usb_unlink_urb'
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1'
make: *** [objects/nikal.ko] Error 2
ERROR: make of nikal kernel module failed, not installing kernel module.
updateNIDrivers should be called again after fixing the problem.
Logging failure...
Include the file /tmp/niSystemReport.out.gz when contacting
National Instruments for support.
Any help would be most appreciated.