Re: kcomedilib - where's the header file for this

OK - I solved my problem.

After hours spent on this problem and my recent careful analysis of
the output of make in comedi/kcomedilib directory I've found out that
I have two different comedilib.h files present in my system. One of
them comes from comedilib and is located in /usr/local/include (this
is the one I've been including in my project) and the other is in
comedi source directory. After changing compiler's -I flag
accordingly, all seems to compile smoothly.

Thanks and sorry,

Stanislaw Raczynski

05-10-09, Jan Gukelberger <g.u.g.i_at_gmx.de> napisał(a):
> On Sun, 2005-10-09 at 12:17 +0200, Stanisław Raczyński wrote:
> > Hello,
> > I would like to use kcomedlib inside of my RTAI realtime task
> > (compiled as a kernel module). However, I don't know which header file
> > should I include. When I include comedilib.h, all I get is a bunch of
> > errors and warnings about symbol redefinition.
>
> I do include this in my kernel module:
>         #include <linux/comedilib.h>
>
> Regards,
> Jan

Received on 2005-10-09Z11:36:32