centos 7 64bit, first, use ./INSTALL to install lv2017pro-linux, then use ./INSTALL to install NI-VISA-17.0.0
when run visa function in labview , tips " libnipalu.so failed to initialize Perhaps you need to run updateNIDrivers
Aborted (core dumped) " , the labview auto quit . what should i do to correct this ?
// cmd line
root@localhost bin]# visaconf
libnipalu.so failed to initialize
Perhaps you need to run updateNIDrivers
Aborted (core dumped)
[root@localhost bin]# updateNIDrivers
Configuring NI-KAL for kernel version 3.10.0-1127.19.1.el7.x86_64...
Building module nikal...
nikal: CC [M] /var/lib/nikal/3.10.0-1127.19.1.el7.x86_64/nikal/nikal.o
nikal: /var/lib/nikal/3.10.0-1127.19.1.el7.x86_64/nikal/nikal.c:2043:10: error: ‘GENL_ID_GENERATE’ undeclared here (not in a function)
nikal: .id = GENL_ID_GENERATE,
nikal: ^
nikal: /var/lib/nikal/3.10.0-1127.19.1.el7.x86_64/nikal/nikal.c: In function ‘nNIKAL100_initDriver’:
nikal: /var/lib/nikal/3.10.0-1127.19.1.el7.x86_64/nikal/nikal.c:2083:4: error: implicit declaration of function ‘genl_register_family_with_ops’ [-Werror=implicit-function-declaration]
nikal: if ((status = genl_register_family_with_ops(&nikal_netlink_family, nikal_netlink_ops, 1))) return status;
nikal: ^
nikal: /var/lib/nikal/3.10.0-1127.19.1.el7.x86_64/nikal/nikal.c: In function ‘nNIKAL240_do_munmap’:
nikal: /var/lib/nikal/3.10.0-1127.19.1.el7.x86_64/nikal/nikal.c:3723:4: error: too few arguments to function ‘do_munmap’
nikal: return do_munmap(mm, addr, len);
nikal: ^
nikal: In file included from /var/lib/nikal/3.10.0-1127.19.1.el7.x86_64/nikal/nikal.c:61:0:
nikal: include/linux/mm.h:2089:12: note: declared here
nikal: extern int do_munmap(struct mm_struct *, unsigned long, size_t,
nikal: ^
nikal: cc1: some warnings being treated as errors
nikal: make[2]: *** [/var/lib/nikal/3.10.0-1127.19.1.el7.x86_64/nikal/nikal.o] Error 1
nikal: make[1]: *** [_module_/var/lib/nikal/3.10.0-1127.19.1.el7.x86_64/nikal] Error 2
nikal: make: *** [nikal.ko] Error 2
nikal: ERROR: failed to build nikal
nikal: ERROR: NI-KAL update failed.
nikal: ERROR: make of nikal kernel module failed, not installing kernel module.
nikal: ERROR: updateNIDrivers should be called again after fixing the problem.
nikal: ERROR: Update of National Instruments drivers failed.