problems with comedi0.7.70, comedilib0.7.22, rtai3.2 and linux2.4.20

hi,all

recently, i try to build a system which is:

1: comedi0.7.70

2: comedilib0.7.22

3: rtai3.2

4: kernel2.4.20

5: DAQ card is pci9118dg

I have successfully installed rtai3.2 based on linux 2.4.20, but when i try comedi and comedilib, :-(

1: for comedi0.7.70, when i use make after ./configure, the error of redefination of "irqreturn_t" appear, i found following lines in the file  ./include/linux/interrupt.h

#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 23)
typedef void irqreturn_t;

i disable these two lines of that file, then i can make and install successfully, am i right?

2: after successfully installed comedi, i use modprobe adl_pci9118.o, but it failed.

3: for comedilib0.7.22, the error is about: " can't find the file carrays.i", i try to rename carrays.i to carray.i, but some new errors appear, i can't resolve them at all, then i 

go on compiling and install comedilib despite of those errors. then test with "modprobe adl_pci9118.o", obviously i failed again.

hope your help, thank you

regards,

wicky

Received on 2005-10-06Z12:54:34