- From: Jonathan Bettencourt <jbetten_at_bu.edu>
- Date: Wed, 18 Jun 2003 15:52:22 -0400 (EDT)
My experience has been that you should actually use the header files from the comedi package, not the comedilib package. -Jonathan On Wed, 18 Jun 2003, Xiaoyu Duan wrote: > Dear all, > > I just got a problem when I trying to compile my test program with > comedilib.h as head file in it. I'm using debian, comedi0.7.44 and > rtlinux3.0. I Millions of warnings and one conflicting error occured when > compiling and the last several lines of errors are as following: > > In file included from /usr/include/sys/ioctl.h:30 > from /usr/src/comedilib/include/comdelib.h:29 > from testrt.c:13 > /usr/include/bits/ioctl-types.h:29:redefinition of 'struct winsize' > /usr/include/bits/ioctl-types.h:38:redefinition of 'struct termio' > In file included from /usr/src/comedilib/include/comdelib.h:29 > from tesrrt.c:13: > /usr/include/sys/ioctl.h:42conflictiong types for 'ioctl' > /usr/src/rtlinux/include/posix/unistd.h:25:previous declaration of 'ioctl' > > testrt is my testing program. > > Anyone can help me? > > Many thanks, > > Xiaoyu Duan > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > > _______________________________________________ > comedi mailing list > comedi_at_comedi.org > https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi >
Received on 2003-06-18Z18:52:22