I tried to compile nigpib-0.8.2 linux driver on redhat 8.0, and it didn't work. The errors it got are:
********************************
# ./INSTALL
NI-488.2 GPIB Driver for Linux/x86 (Beta Release 0.8,2)
Copyright (C) 1999-2001 National Instruments Corporation.
Supports AT-GPIB/TNT, AT-GPIB/TNT PnP, and PCI-GPIB cards ONLY.
Note that PCII/a and PCMCIA cards are NOT supported; see README for more info.
This driver requires a stable Linux 2.0.x, 2.2.x, or 2.4.x series kernel with
loadable modules and module versioning enabled.
Your kernel appears to be configured properly to build NI-GPIB for Linux.
Do you want to proceed? [yn]
gcc -c -O2 -D__KERNEL__ -I/lib/modules/2.4.18-17.8.0/build/include -DMODULE -DMODVER
SIONS -include /lib/modules/2.4.18-17.8.0/build/include/linux/modversions.h
-D__GPIBDRIVER__ -o ib_linux-2.4.18-17.8.0.o ib_linux.c
In file included from ib_linux.c:35:
/lib/modules/2.4.18-17.8.0/build/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
make: *** [ib_linux-2.4.18-17.8.0.o] Error 1
Couldn't build driver.
#
********************************
Can anyone help?
Thanks.