Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Warning: nikali post installation failed! /tmp/nikaliPostInstall.log follows

Hi,

        I'm currently trying to install drivers for NI-DAQmx Based
for linux (OpenSUSE 11.2). The version of the driver software that I'm
using is 3.3.



When I attemtp to install NIVISA (which I gather you must install
first) I get the following errror message during that installation.
Please note that I have followed all instructions in the README file
relating to an openSUSE installation. Kernal source and sys files are
installed. Make config and make modules_prepare has also been run in
the linux src directory.



Post Installation .
Warning: nikali post installation failed! /tmp/nikaliPostInstall.log follows:


Configuring for linux kernel version 2.6.31.5-0.1-desktop.

********************************* NOTE *********************************
Using kernel headers found in /lib/modules/2.6.31.5-0.1-desktop/source.
If this does not correspond to the location of the 2.6.31.5-0.1-desktop headers,
then define KERNELHEADERS in your environment to point to the location
of the kernel headers, define KERNELTARGET as the version of the
kernel for which to compile, and then rerun ./configure.
********************************* NOTE *********************************



Kernel has reparent_to_init(): no
Number of arguments for do_munmap(): 3
pte_offset function: pte_offset_kernel()
Levels in page table: 4
Kernel has remap_pfn_range: yes
USB altsetting name: cur_altsetting
Kernel has usb_get_intf(): yes
Kernel has intf_cache member in usb_host_config: yes
Kernel has ep[] members in usb_device: yes
Kernel exports usb_set_configuration(): no
Units of USB_CTRL_GET_TIMEOUT: msec
Kernel has owner member in usb_driver: no
Kernel has put_page_testzero(): yes
Kernel has mutex method: yes
Kernel has kthread: yes
Kernel has config.h: no
Kernel has ioctl32.h: no
IRQ handlers have pt_regs: no
Kernel has work_struct and delayed_work: yes
Kernel supports fault method in vm_operations_struct: yes

Storing configuration in Makefile.in
If the values stored are incorrect they can be changed before running make.

./uninstall.sh: line 13: .: Makefile.in: file not found
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.31.5-0.1-desktop/source
SUBDIRS=/usr/local/natinst/nikal/src/objects modules
make[1]: Entering directory `/usr/src/linux-2.6.31.5-0.1'

 WARNING: Symbol version dump /usr/src/linux-2.6.31.5-0.1/Module.symvers
          is missing; modules will have no dependencies and modversions.

 CC [M]  /usr/local/natinst/nikal/src/objects/nikal.o
/usr/local/natinst/nikal/src/objects/nikal.c: In function
‘nNIKAL100_initDriver’:
/usr/local/natinst/nikal/src/objects/nikal.c:875: error: ‘max_mapnr’
undeclared (first use in this function)
/usr/local/natinst/nikal/src/objects/nikal.c:875: error: (Each
undeclared identifier is reported only once
/usr/local/natinst/nikal/src/objects/nikal.c:875: error: for each
function it appears in.)
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.31.5-0.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.

 

 


 

I would really appreciate any help you can give me with this. 

0 Kudos
Message 1 of 3
(3,517 Views)

Hi ted, I sent you an email but i'm posting on this for if any other users get this same issue.

 

SUSE 11.2 is not supported, you will need to revert to an older distribution of Linux like openSUSE 11.0. 

 

Regard,

Rico P
Smiley Very Happy
0 Kudos
Message 2 of 3
(3,487 Views)
The reason for this is that there are non-trivial changes in the newer Linux kernels that prevent NI components from compiling and inserting:

Installing NI VISA on Mandriva Spring 2009.1
http://decibel.ni.com/content/message/7407#7407
Joe Friedchicken
NI Configuration Based Software
Get with your fellow OS users
[ Linux ] [ macOS ]
Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
0 Kudos
Message 3 of 3
(3,482 Views)