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?
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