Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

install nidaqmxbase-3.4.0 error

Hi,

I want to install nidaqmxbase-3.4.0.iso to my linux machine.
My machine is OpenSuse 10.3 with new linux kernel linux-2.6.34.7 from kernel.org
To by pass the error from no kernel source and autoconfig.h
I added these ln:
1) ln -s /usr/src/linux-2.6.34.7  /lib/modules/2.6.34.7-default/build
2) ln -s /usr/src/linux-2.6.34.7  /lib/modules/2.6.34.7-default/source
3) ln -s /usr/src/linux-2.6.34.7/include/generated/autoconf.h  /usr/src/linux-2.6.34.7/include/linux/autoconf.h
4) zcat /proc/config.gz > /usr/src/linux-2.6.34.7/.config
5) /usr/src/linux-2.6.34.7/make modules_prepare
6) /usr/src/linux-2.6.34.7/make modules  to generate Module.symvers
7) run the INSTALL script for nidaqmxbase-3.4.0

everything install OK without error.


But when I run lsdaq I got these errors:
Detecting National Instruments DAQ Devices
Found the following DAQ Devices:
libnipalu.so failed to initialize
Perhaps you need to run updateNIDrivers
/usr/local/bin/lsdaq: line 7: 14648 Aborted                 /etc/natinst/nidaqmxbase/bin/daqmxbase_listdevices

When I run ./nipal start I got these errors:
WARNING: Error inserting nikal (/lib/modules/2.6.34.7-default/kernel/natinst/nikal/nikal.ko): Invalid module format
FATAL: Error inserting nipalk (/lib/modules/2.6.34.7-default/kernel/natinst/nipal/nipalk.ko): Invalid module format

error: nipalk failed to load
possible causes:
   nipalk was not versioned for this kernel (2.6.34.7-default)
   modules are not enabled for this kernel (CONFIG_MODULES)
   unresolved symbols
possible solution:
   if you recently installed a new kernel or have rebooted to
   a different kernel then you were previously running then run
   /usr/local/bin/updateNIDrivers
   to version your NI drivers for kernel 2.6.34.7-default

And the kernel log give these messages:
Mar  8 09:55:01  kernel: nikal: no symbol version for module_layout
Mar  8 09:55:01  kernel: nipalk: no symbol version for module_layout

These error still appear after I run updateNIDrivers

When I switch back to old kernel linux-2.6.22.5-31 and reinstall nidaqmxbase-3.4.0
then everything work fine. But when I go back to the new kernel and run the updateNIDrivers
or reinstall nidaqmxbase-3.4.0, the error appear again.
So how I can fix the error?

Thanks,

John



0 Kudos
Message 1 of 2
(2,873 Views)

John,

 

What was the initial error that you were seeing that required you to get the new kernel and make those changes to get through the installation?

 

DAQmx Base 3.4 is only supported for OpenSuse 11.1 or 11.2. DAQmx Base 3.3 lists support for 10.2 and 10.3. Had you tried the 3.3 version of the drivers or do you need 3.4 for a specific reason?

Timothy S.
Senior Technical Support Engineer
0 Kudos
Message 2 of 2
(2,835 Views)