ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

libnipalu.so failed to initialize

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.
0 Kudos
Message 1 of 7
(3,048 Views)

Do you have a question and how does it relate to LabVIEW? (Maybe you can find a better community section and have the moderator move your thread)

0 Kudos
Message 2 of 7
(3,041 Views)

how does it relate to LabVIEW?  visa driver can not run properly,  it is not about labview problem ?

0 Kudos
Message 3 of 7
(2,993 Views)

Your post is almost impossible to read (No punctuation or sentence structure), but the problem seems to be with a driver under linux, not LabVIEW. Maybe the visa forum might be more appropriate?

0 Kudos
Message 4 of 7
(2,965 Views)

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 ?

 

1603793228(1).png

0 Kudos
Message 5 of 7
(2,949 Views)

i post it agian and need your help

0 Kudos
Message 6 of 7
(2,920 Views)

@8259 wrote:

i post it agian and need your help


Good luck. Hopefully somebody reads this and can guess what's wrong. I cannot help you with this.

0 Kudos
Message 7 of 7
(2,913 Views)