Re: redhat 8.0 and comedi 0.7.66

On Wed, 5 Feb 2003, David Schleef wrote:

> On Wed, Feb 05, 2003 at 05:33:17PM -0500, Rachid Ayad wrote:
> > 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 says:
>
> "You will also need
> write permission to the kernel source directory the first time you
> run comedi's 'make config', so you might want to unpack the kernel
> source into a directory you own."

 Yes I read this but I was not sure if /usr/src/linux is good idea to be
owned by me, but I think you are wright /usr/src/linux directory is used
only by comedi at this time so I should only issue a  "chown" command to
change the owner.

>
> > It works for me only there is a multiple
> >  definition error for comedi_debug in comedidev.h:
>
> This is a known problem that can be solved by enabling debugging.

 Justly, before sending my first email I enabled debugging in "make
config" but the error still there, I will check again .

 You mean I can set comedi_debug=0 after "extern int comedi_debug" in my
 application program if I do not want to print debug messages to not
 charge a lot /var/log/messages file.

 Is comedi_debug recognized by both user and kernel spaces?

 Finally we should find a better way to solve this problem rather than
 setting comedi_debug during comedi installation .

 Regards, Rachid .


>
>
>
> dave...
>
>

Received on 2003-02-06Z13:47:15