From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

VXI and VME

cancel
Showing results for 
Search instead for 
Did you mean: 

nivxi will not compile with Redhat 7.3 kernel 2.4.20-18.7

I am unable to compile nivxi after upgrading RedHat 7.3 kernel to 2.4.20-18.7. I get the following error message:

kgcc -o vxi.o -DVXI_MAJOR=0 -c -O2 -Wall -D__KERNEL__ -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-18.7/build/include/linux/modversions.h -I/lib/modules/2.4.20-18.7/build/include vxi.c
vxi.c: In function `vxi_mmap':
vxi.c:220: warning: passing arg 1 of `remap_page_range_R323728a8' makes pointer from integer without a cast
vxi.c:220: incompatible type for argument 4 of `remap_page_range_R323728a8'
vxi.c:220: too few arguments to function `remap_page_range_R323728a8'
make: *** [vxi.o] Error 1


It is my understanding that RedHat 7.3 is supported. Which kernels are supported?
0 Kudos
Message 1 of 2
(5,961 Views)
Aaron,

In this release of the Linux Kernel 2.4.20-18.7, RedHat changed the interface of remap_page_range. Please contact National Instruments at 1-866-275-6964 and enter the service request we discussed earlier on the phone and I will help you get started. Thanks!

Anthony Bacak
National Instruments
Applications Engineering
Message 2 of 2
(5,961 Views)