- From: Nick Torenvliet <torenvliet_at_ica.net>
- Date: Wed, 20 Nov 2002 10:57:45 -0500
Hi all, so I've narrowed my problem down a little, I am trying to write
an rtai module that uses
I am trying to hack the /usr/src/rtai/examples/preempt example so that
it does something using ni_pcimio.
I can compile and run the preempt example just fine.
When I add the line "#include <comedilib.h>" to the rt_process.c file
and then try a make I get a bunch of warnings culminating in the
following error
/usr/include/sys/select.h:49: warning: redefinition of `suseconds_t'
/usr/src/linux-2.4.18/include/linux/types.h:22: warning: `suseconds_t'
previously declared here
/usr/include/sys/select.h:74: conflicting types for `fd_set'
/usr/src/linux-2.4.18/include/linux/types.h:13: previous declaration of
`fd_set'In file included from /usr/include/fcntl.h:33,
from /usr/include/comedilib.h:30,
from ex_preempt.c:28:
/usr/include/bits/fcntl.h:137: redefinition of `struct flock'
make[2]: *** [ex_preempt.o] Error 1
make[2]: Leaving directory `/usr/src/rtai-24.1.10/examples/preempt'
make[1]: *** [_mod_examples/preempt] Error 2
make[1]: Leaving directory `/usr/src/rtai-24.1.10'
make: *** [all] Error 2
Can anyone help me out here, I am quit new to command line programming
and make files, etc. so I am not
quite sure how to blast through this one.
Received on 2002-11-20Z15:57:45