Re: Comedi_examples

On 19/07/06 16:00, Jordi Vendrell wrote:
> I downloaded comedi_examples.tar.gz  but could not find any
> documentation with the file. Any of you knows if such docs exist?

I've no idea what comedi_examples is for.  I suggest you ignore it and
use the examples provided with comedilib.

> Besides, when I compile I get this (again :S)

[error output snipped, mostly realtime stuff]

> I have tried with gcc-2.95 and gcc-3.3 but there was no difference.

When you compile comedilib it will be best to use a similar version of
gcc as the rest of the system libraries (glibc etc.), though it doesn't
matter very much for C code libraries such as comedilib.  (It matters a
lot for C++ code though.)  This does not have to match the gcc version
used to compile the comedi modules (which should match the gcc version
used to compile the kernel).  In general, the compiler versions used in
user space and kernel space can be completely different as long as the
sizes and layout of C data types used in ioctl calls (and other system
calls) stays the same.

-- 
-=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-

Received on 2006-07-20Z09:53:59