I am attempting to install NI488.2-17.0.0 on a RHEL7.5 machine with the 3.10.0-862.3.2.el7.x86_64 kernel. Makefile for nikal fails. I included NULL in do_munmap() in nikal.c as indicated in other threads on this site, to eliminate that error. National Instruments explicitly declares support for RHEL...so what is this all about? I have also tried NI488.2 15.1.1 with NIKAL 15.1. No dice there either. Am I missing something? Any help would be greatly appreciated.
[lab1@s1012047 nikal]$ sudo make CC [M] /var/lib/nikal/3.10.0-862.3.2.el7.x86_64/nikal/nikal.o /var/lib/nikal/3.10.0-862.3.2.el7.x86_64/nikal/nikal.c:2023:10: error: ‘GENL_ID_GENERATE’ undeclared here (not in a function) .id = GENL_ID_GENERATE, ^ /var/lib/nikal/3.10.0-862.3.2.el7.x86_64/nikal/nikal.c: In function ‘nNIKAL100_initDriver’: /var/lib/nikal/3.10.0-862.3.2.el7.x86_64/nikal/nikal.c:2063:4: error: implicit declaration of function ‘genl_register_family_with_ops’ [-Werror=implicit-function-declaration] if ((status = genl_register_family_with_ops(&nikal_netlink_family, nikal_netlink_ops, 1))) return status; ^ cc1: some warnings being treated as errors make: *** [/var/lib/nikal/3.10.0-862.3.2.el7.x86_64/nikal/nikal.o] Error 1 make: *** [_module_/var/lib/nikal/3.10.0-862.3.2.el7.x86_64/nikal] Error 2 make: *** [nikal.ko] Error 2
Solved! Go to Solution.