Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 488.2 fails to install on linux-2.6.25 - ERROR on GCC version check.

Solved!
Go to solution

We currently do not a mailing list or any similar method to notify of new NI-KAL (or other product) releases.  I really do think it is a good idea though.  I initially though you might be able to get that information from a NI RSS feed, and it appears that you sort of can.  The problem is that you will get more than just updates of when products are released, but it is better than nothing for now.  For example you can create a RSS feed like this one.

 

Shawn Bohrer

National Instruments

Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 11 of 28
(4,114 Views)

Shawn,

 

Thanks, but none of the RSS feeds garanteed to receive my desired news (release of NI-KAL 1.9).

I am better just search the support file area regularly as before.

 

Ali

0 Kudos
Message 12 of 28
(4,093 Views)

I am trying openSUSE 11.0 as well, and I have finally gotten past the installer script issues.  Now, when I try to run updateNIDrivers, I get the compile errors listed below.  Any suggestions?  Also, any idea when the next software release will be?

 

Thanks...

----------------------------------------------------------------------------------------------------------

 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.16-0.1-default/source SUBDIRS=/usr/local/natinst/nikal/src/objects modules
make[1]: Entering directory `/usr/src/linux-2.6.25.16-0.1'
  CC [M]  /usr/local/natinst/nikal/src/objects/nikal.o
/usr/local/natinst/nikal/src/objects/nikal.c: In function ‘nNIKAL100_registerPCIDriver’:
/usr/local/natinst/nikal/src/objects/nikal.c:2802: error: ‘nLinux_pciDriver’ has no member named ‘enable_wake’
/usr/local/natinst/nikal/src/objects/nikal.c: In function ‘nNIKAL100_reserveInterrupt’:
/usr/local/natinst/nikal/src/objects/nikal.c:4114: error: ‘SA_INTERRUPT’ undeclared (first use in this function)
/usr/local/natinst/nikal/src/objects/nikal.c:4114: error: (Each undeclared identifier is reported only once
/usr/local/natinst/nikal/src/objects/nikal.c:4114: error: for each function it appears in.)
/usr/local/natinst/nikal/src/objects/nikal.c:4114: error: ‘SA_SHIRQ’ undeclared (first use in this function)
make[2]: *** [/usr/local/natinst/nikal/src/objects/nikal.o] Error 1
make[1]: *** [_module_/usr/local/natinst/nikal/src/objects] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25.16-0.1'
make: *** [objects/nikal.ko] Error 2

0 Kudos
Message 13 of 28
(4,056 Views)

You need to install the latest version of NI-KAL (currently 1.8), though this will still have the error in the gcc check.  You can fix the gcc check as I described above, or wait for the next version of NI-KAL.

 

Shawn Bohrer

National Instruments

Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 14 of 28
(4,047 Views)

Thanks Shawn,

 

That helped.  It all seems to have installed without error, and I rebooted, but the gpibtsw utility tells me that the software is not correctly installed, and the other utilities just abort.  Any other ideas?

0 Kudos
Message 15 of 28
(4,034 Views)

It is kind of hard to tell what the problem may be, but there are some things you could try.  It sounds like an installation issue so some of the things I might try or check are:

 

1. Run updateNIDrivers

2. Try re-running the NI-488.2 INSTALL script

 

If these don't fix the issue it would help to see the output of the niSystemReport command.  My guess is that either one of the kernel modules is not loading, or one of the services is not started.

 

Shawn Bohrer

National Instruments

Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 16 of 28
(4,029 Views)
I have run updateNIDrivers, and re-run the INSTALL script, to no avail, but with no errors reported.  On bootup  I get the folowing:

 

error:/lib/modules/2.6.25.16-0.1-default/kernel/natinst/nipal/nipalk.ko not found

 

and in fact the only directory under natinst there is nikal.  An rpm -q on the 5 packages shows them all to be installed.  I'm also attaching output from niSystemReport

 

Thanks again!

0 Kudos
Message 17 of 28
(4,021 Views)

dsb wrote:
I have run updateNIDrivers, and re-run the INSTALL script, to no avail, but with no errors reported.  On bootup  I get the folowing:

 

error:/lib/modules/2.6.25.16-0.1-default/kernel/natinst/nipal/nipalk.ko not found

 

and in fact the only directory under natinst there is nikal.  An rpm -q on the 5 packages shows them all to be installed.  I'm also attaching output from niSystemReport


Well, that is the problem!  You are missing several kernel modules.  The rpms install the unversioned modules for example:

 

/usr/local/natinst/nipal/src/objects/nipalk-unversioned.o

 

and post install scripts link them under:

 

/usr/local/natinst/nikal/etc/clientkdb

for example:

 

/usr/local/natinst/nikal/etc/clientkdb/nipal/nipalk-unversioned.o -> /usr/local/natinst/nipal/src/objects/nipalk-unversioned.o

 

updateNIDrivers then versions these modules for your current kernel and installs them.  I'm guessing on your system that clientkdb folder is empty.  I'm not sure how this happened, but the easiest way to fix it is probably run the UNINSTALL script for NI-488.2 then run INSTALL again.  You have to uninstall first because the INSTALL script sees the rpms are installed and thinks it is done.

 

Shawn Bohrer

National Instruments

Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 18 of 28
(4,017 Views)

Shawn,

 

Thanks so much for your help, it all seems to work now!  Previously I had uninstalled everything and reinstalled, and still had problems.  I'm not sure what was different this last time, unless it was perhaps the order of installation.  I don't remember if I did this previously, but I installed NIKAL first, and then everything else, and that seemed to make everyone happy.  Thanks again. 

0 Kudos
Message 19 of 28
(3,997 Views)

Hi Shawn,

 

Previously you wrote: "For example you can create a RSS feed like this one."

I cannot figure out how to create a new thread.

Could you send me a clue?

 

Ali

0 Kudos
Message 20 of 28
(3,992 Views)