- From: David Schleef <ds_at_schleef.org>
- Date: Mon, 21 Jun 2004 10:41:31 -0700
On Mon, Jun 21, 2004 at 09:39:58AM +0800, ??? wrote: > > Hi: > > what is the relation between comedi-0.7.60/include/linux/comedilib.h and /usr/comedilib.h ? > > I use comedi-0.7.60 in my rtlinux(3.2) modules, if my include file is /usr/comedilib.h > > some compile problome come out: The file in /usr/include is a user-space header, like every other file in /usr/include. The header file that is part of Comedi is a kernel space header. Since there's no decent place to install kernel headers, it's not installed, and you have to copy it wherever it is needed. > if my include file is comedi-0.7.60/include/linux/comedilib.h,no wrong message,but comedi_dio_write() > > return -22,(comedi_open() is right!) what is the matter for this? -22 is -EINVAL, "Invalid argument". See /usr/include/asm/errno.h. dave...
Received on 2004-06-21Z16:41:31