- From: Bhojani, Komel (IE03x) <"Bhojani,>
- Date: Thu, 19 Feb 2004 14:22:28 +0530
I am trying to install comedi-0.7.67 on 2.4.24 kernel patched with RTAI.
There are following doubts:
1. The INSTALL instructions say that u need to compile kernel with RTAI
first---DOne with no probs
Secondly it says RTAI must be installed with comedilib support.
problem:: How is it possible to install RTAI pkg without having 'kcomedilib'
in place(i mean comedi installed)
2. INSTALL also says to configure comedi with 'make' but it did not work
untill I did ./configure
3.After I ran 'make' from comedi dir following errors come---
-------------------
make all-recursive
make[1]: Entering directory `/usr/src/comedi-0.7.67'
Making all in comedi
make[2]: Entering directory `/usr/src/comedi-0.7.67/comedi'
Making all in kcomedilib
make[3]: Entering directory `/usr/src/comedi-0.7.67/comedi/kcomedilib'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/ -D__KERNEL__
-I/usr/src/linux-2.4.24/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -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.24/include/linux/interrupt.h:16: redefinition of
`irqreturn_t'
../../include/linux/interrupt.h:25: `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.24/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 `/usr/src/comedi-0.7.67/comedi/kcomedilib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/comedi-0.7.67/comedi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/comedi-0.7.67'
make: *** [all] Error 2
---------------------------------------
Please guide me how do i install comedi with my RTAI patched kernel 2.4.24
(note: I tried installing and using RTAI without comedi...works just fine)
Thanx and regards,
Komel B.
Tata Honeywell.
Received on 2004-02-19Z08:52:28