NI-KAL Returns Fatal Error During Install of NI-488.2 15.1.1 on CentOS 7

Updated Mar 16, 2023

Issue Details

I am trying to install and work with version 15.1.1 of NI-488.2 on a system running CentOS 7. The installation failed, and returned a warning notifying me to check the file /tmp/niSystemReport.out. When I check that file, I see output which includes the following error message: 

Mar 29 02:54:30 rhel7dev nikal: FATAL: modpost: GPL-incompatible module nikal.ko uses GPL-only symbol '__cachemode2pte_tbl' 
Mar 29 02:54:30 rhel7dev nikal: make[2]: *** [__modpost] Error 1
Mar 29 02:54:30 rhel7dev nikal: make[1]: *** [modules] Error 2
Mar 29 02:54:30 rhel7dev nikal: make: *** [nikal.ko] Error 2
Mar 29 02:54:30 rhel7dev nikal: ERROR:  failed to build nikal
Mar 29 02:54:30 rhel7dev nikal: ERROR:  NI-KAL update failed. 
Mar 29 02:54:30 rhel7dev nikal: ERROR:  make of nikal kernel module failed, not installing kernel module. 


Why is this error being returned, and how can I resolve it so that I can successfully install NI-488.2 on my CentOS system?

Solution

This error can occur as a result of a known issue with NI-KAL, a framework that NI-488.2 depends on. The issue was fixed in NI-KAL 15.1, which is compatible with NI-488.2 15.1.1. Therefore, you can resolve this error message by first installing NI-KAL 15.1, and then installing NI-488.2 15.1.1. After doing so, you should reboot your system and then run the script 'updateNIDrivers' which is included with NI-KAL 15.1, and installs to /usr/local/bin/. This script will update NI-488.2 15.1.1 to be compatible with NI-KAL 15.1. 

Please refer to the 'Related Links' section below to find a downloadable version of NI-KAL 15.1.