redhat 8.0 and comedi 0.7.66

On Wed, 5 Feb 2003, David Schleef wrote:

> On Wed, Feb 05, 2003 at 06:03:10PM -0000, sriram  panchagnula wrote:
> >
> >   Hello all,
> >
> >   During comedi 0.7.66 installation, using redhat 8.0, the "make'
> > rpoduces a lot of compilation errors: missing header files and C
> > errors in comedi_fops.c. (look at below output message) . Is
> > comedi-0.7.66 stable now? Someone used it ?
>
> Read INSTALL.

 I agree a little with Sriram, The INSTALL file should be modified:
 " The make should be as root, else the first step fails to not have
 permission to create a file". It works for me only there is a multiple
 definition error for comedi_debug in comedidev.h:

*********
#ifdef CONFIG_COMEDI_DEBUG
extern int comedi_debug;
#else
const int comedi_debug = 0;
#endif
**************
 from the last five code lines it should be only problem if it is defined
 as: "const int comedi_debug = 0;" in case of
 CONFIG_COMEDI_DEBUG is not defined, but setting it during "make config"
 will not solve the problem, so I changed  the five lines to only one
line:
**********
extern int comedi_debug;
*********
which solve the multiple definition error .

 Regards, Rachid .


>
>
>
> dave...
>
>
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
>

Received on 2003-02-05Z22:33:17