Hi, I need some help on installing DAQ drivers for labview.
I've downloaded edaq-0.9.5.tar.gz from http://www.ni.com/linux/daq_eseriesdl.htm
I have a PC
my OS is Red Hat Linux release 7.1 (Seawolf), 2.4.9-12
and i want to run labview (installed; labview-6i-1.i586) with two NI E-series PCI-DAQ boards, PCI-6025E and PCI-6713
so in this tar.gz file I connot compile the make file.
joined the make output
thanks
David
for i in driver lib; do cd "$i"; make; cd ..; done
make[1]: Entering directory `/home/lojacono/DRIVERS/edaq-0.9.5/driver'
gcc -Wall -pipe -O -I . -DMODULE -D__KERNEL__ -ffast-math -fexpensive-optimizations -DINTERRUPT_MODE -c daq_driver.c
In file included from daq_driver.h:17,
from daq_driver.c:2:
kal.h:38:2: #error "This version of the Linux kernel isn't recognized."
In file included from daq_driver.h:18,
from daq_driver.c:2:
ai.h:28: parse error before `DEFINE_LOCK'
ai.h:28: warning: no semicolon at end of struct or union
ai.h:58: parse error before `}'
ai.h:58: warning: type defaults to `int' in declaration of `ai_private_data'
ai.h:58: warning: data definition has no type or storage class
In file included from daq_driver.h:19,
from daq_driver.c:2:
ao.h:10: parse error before `DEFINE_LOCK'
ao.h:10: warning: no semicolon at end of struct or union
ao.h:16: parse error before `}'
ao.h:16: warning: type defaults to `int' in declaration of `ao_private_data'
ao.h:16: warning: data definition has no type or storage class
In file included from daq_driver.h:20,
from daq_driver.c:2:
dio.h:8: parse error before `DEFINE_LOCK'
dio.h:8: warning: no semicolon at end of struct or union
dio.h:13: parse error before `}'
dio.h:13: warning: type defaults to `int' in declaration of `dio_private_data'
dio.h:13: warning: data definition has no type or storage class
In file included from daq_driver.h:21,
from daq_driver.c:2:
gpct.h:10: parse error before `DEFINE_LOCK'
gpct.h:10: warning: no semicolon at end of struct or union
gpct.h:13: conflicting types for `buff'
ao.h:14: previous declaration of `buff'
gpct.h:14: conflicting types for `buff_size'
ao.h:15: previous declaration of `buff_size'
gpct.h:18: parse error before `}'
gpct.h:18: warning: type defaults to `int' in declaration of `gpct_private_data'gpct.h:18: warning: data definition has no type or storage class
In file included from daq_driver.c:2:
daq_driver.h:43: parse error before `ai_private_data'
daq_driver.h:43: warning: no semicolon at end of struct or union
daq_driver.h:44: warning: type defaults to `int' in declaration of `ao'
daq_driver.h:44: warning: data definition has no type or storage class
daq_driver.h:45: parse error before `dio'
daq_driver.h:45: warning: type defaults to `int' in declaration of `dio'
daq_driver.h:45: warning: data definition has no type or storage class
daq_driver.h:46: parse error before `gc'
daq_driver.h:46: warning: type defaults to `int' in declaration of `gc'
daq_driver.h:46: warning: data definition has no type or storage class
daq_driver.h:47: parse error before `}'
daq_driver.h:47: warning: type defaults to `int' in declaration of `ni_private_data'
daq_driver.h:47: warning: type defaults to `int' in declaration of `pd'
daq_driver.h:47: warning: data definition has no type or storage class
daq_driver.h:49: parse error before `ni_pd'
daq_driver.h:49: warning: type defaults to `int' in declaration of `ni_pd'
daq_driver.h:49: warning: data definition has no type or storage class
daq_driver.h:51: parse error before `dev'
daq_driver.h:52: parse error before `dev'
daq_driver.h:53: parse error before `dev'
daq_driver.h:54: parse error before `dev'
daq_driver.h:56: parse error before `dev'
daq_driver.h:57: parse error before `dev'
daq_driver.h:59: parse error before `dev'
daq_driver.h:60: parse error before `dev'
daq_driver.h:62: parse error before `dev'
daq_driver.h:63: parse error before `dev'
daq_driver.h:65: parse error before `dev'
daq_driver.h:70: parse error before `pd'
daq_driver.h:72: parse error before `dev'
daq_driver.h:73: parse error before `dev'
daq_driver.h:74: parse error before `dev'
daq_driver.h:75: parse error before `dev'
daq_driver.h:76: parse error before `dev'
daq_driver.h:77: parse error before `dev'
daq_driver.h:78: parse error before `dev'
daq_driver.h:79: parse error before `dev'
In file included from daq_driver.c:3:
misc.h:1: parse error before `dev'
misc.h:2: parse error before `dev'
misc.h:3: parse error before `dev'
daq_driver.c:13: parse error before `dev'
daq_driver.c:15: parse error before `pd'
daq_driver.c: In function `init_device':
daq_driver.c:22: `dev' undeclared (first use in this function)
daq_driver.c:22: (Each undeclared identifier is reported only once
daq_driver.c:22: for each function it appears in.)
daq_driver.c:31: `brd' undeclared (first use in this function)
daq_driver.c: At top level:
daq_driver.c:80: parse error before `dev'
daq_driver.c: In function `eser_A_interrupt':
daq_driver.c:84: `dev' undeclared (first use in this function)
daq_driver.c: At top level:
daq_driver.c:112: parse error before `dev'
daq_driver.c: In function `eser_B_interrupt':
daq_driver.c:114: `dev' undeclared (first use in this function)
daq_driver.c: In function `eser_daq_interrupt':
daq_driver.c:122: parse error before `dev'
daq_driver.c:126: `dev' undeclared (first use in this function)
daq_driver.c: At top level:
daq_driver.h:49: warning: array `ni_pd' assumed to have one element
make[1]: *** [daq_driver.o] Error 1
make[1]: Leaving directory `/home/lojacono/DRIVERS/edaq-0.9.5/driver'
make[1]: Entering directory `/home/lojacono/DRIVERS/edaq-0.9.5/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/lojacono/DRIVERS/edaq-0.9.5/lib