Re: compiling problem

I had the same problem.  Supposedly you can copy the system interrupt file
into the comedi tree (I've heard but not tried this).  What worked cleanly
for me was checing out the CVS tree and compiling that.

I think all you have to do then, is

autogen.sh
make
make install

-B


> I have a mandrake 9.2 and I have tried to install the comedi-0.7.67 
> package to make acquisition under linux but I obtain errors .I have 
> tried also to compile the comedi version 0.7.61 and the 0.7.65  but 
> always I obtain errors .I have follow  the INSTALL instructions but I 
> don't understand why these errors .
> Thank you
> 
> [root_at_136-119-dhcp comedi-0.7.67]# make
> make  all-recursive
> make[1]: Entering directory 
> `/home/giorgio/test_measure/comedi/comedi-0.7.67'
> Making all in comedi
> make[2]: Entering directory 
> `/home/giorgio/test_measure/comedi/comedi-0.7.67/comedi'
> Making all in kcomedilib
> make[3]: Entering directory 
> `/home/giorgio/test_measure/comedi/comedi-0.7.67/comedi/kcomedilib'
> if gcc -DHAVE_CONFIG_H -I. -I. -I../..    -I../../include/ -D__KERNEL__ 
> -I/usr/src/linux-2.4.22-10mdk/include -Wall -Wstrict-prototypes 
> -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe 
> -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include 
> /usr/src/linux-2.4.22-10mdk/include/linux/modversions.h -g -O2 -MT 
> kcomedilib_ko-data.o -MD -MP -MF ".deps/kcomedilib_ko-data.Tpo" \
>   -c -o kcomedilib_ko-data.o `test -f 'data.c' || echo './'`data.c; \
> then mv -f ".deps/kcomedilib_ko-data.Tpo" ".deps/kcomedilib_ko-data.Po"; \
> else rm -f ".deps/kcomedilib_ko-data.Tpo"; exit 1; \
> fi
> In file included from ../../include/linux/interrupt.h:31,
>                  from ../../include/linux/comedidev.h:40,
>                  from data.c:26:
> /usr/src/linux-2.4.22-10mdk/include/linux/interrupt.h:16: error: 
> redefinition of `irqreturn_t'
> ../../include/linux/interrupt.h:25: error: `irqreturn_t' previously 
> declared here
> In file included from ../../include/linux/interrupt.h:31,
>                  from ../../include/linux/comedidev.h:40,
>                  from data.c:26:
> /usr/src/linux-2.4.22-10mdk/include/linux/interrupt.h:19:1: warning: 
> "IRQ_RETVAL" redefined
> In file included from ../../include/linux/comedidev.h:40,
>                  from data.c:26:
> ../../include/linux/interrupt.h:28:1: warning: this is the location of 
> the previous definition
> make[3]: *** [kcomedilib_ko-data.o] Error 1
> make[3]: Leaving directory 
> `/home/giorgio/test_measure/comedi/comedi-0.7.67/comedi/kcomedilib'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory 
> `/home/giorgio/test_measure/comedi/comedi-0.7.67/comedi'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/giorgio/test_measure/comedi/comedi-0.7.67'
> make: *** [all] Error 2
> 
> 
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi

Received on 2004-01-16Z17:26:08