I had the same problem when I tried to install the nigpib-0.8.2 driver with redhat 8.0.
At first, it complains that malloc.h is deprecated, fixed that by simply changing: #include to: #include , in file ib_linux.c.
Then, it compiles the module, but insmod can't load it, complaining that it was compiled with gcc version 2 instead of 3, which the kernel was compiled with. (the module was compiled with gcc 3.2 so i don't know why it's complaining).
The workaround is to force insmod to load the module:
insmod -f nigpib
to have the module be loaded automatically at reboot,
put line: insmod -f nigpib, in /etc/rc.d/rc.local
Remember, after you run ./ibconf, you'll need to reload the updated module again.
Hope there will be a
n udpate to nigpib where these issues are addressed.