Re: newbie build question - errors building against 2.6.15.6

OKey, so, first, be sure to download the right tarball :
http://www.comedi.org/cgi-bin/viewcvs.cgi/comedi.tar.gz?view=tar
When you click on CVS repository on comedi.org>download, it is no the good
tarball in fact.
Extract everything in /usr/local/comedi-0.7.70
Then Edit the Makefile.am <http://makefile.am/> in comedi>drivers>
And comment the first line which is something with ADDI-COMMON.
Then run
autoconf.sh or ./configure --with-linuxdir=/usr/src/linux
--with-rtaidir=/usr/realtime
make
make install
make dev
depmod -a
And that all.
It work with kernel 2.6.15.3.
Good luck.

Charles Combes


>
>
> 2006/3/24, Bill Christie < b.christie_at_linkeng.com>:
>
> > OK - now I really feel "newbie-ish" (and stupid).  I went to the CVS
> > site, downloaded the comedi.tar.gz file, unpacked it into the
> > comedi-0.7.70 directory.  I ran autogen.sh, but I still get the same
> > errors when trying to build.  Obviously I'm missing the point
> > somewhere!
> >
> > Would anyone be so kind as to help a poor newbie with a few simple steps
> > on how to get the CVS version to build?  Is there a HOWTO
> > somewhere?
> >
> > Any help is greatly appreciated!
> >
> > -bill
> >
> >
> > > -----Original Message-----
> > > From: Ian Abbott [mailto:abbotti_at_mev.co.uk]
> > > Sent: Thursday, March 23, 2006 6:17 AM
> > > To: Bill Christie
> > > Cc: comedi_at_comedi.org
> > > Subject: Re: newbie build question - errors building against 2.6.15.6
> > >
> > > On 22/03/2006 18:03, Bill Christie wrote:
> > > > Please excuse this if it's been answered before, but I can't seem to
> > get
> > > > past the build errors (see below) while trying to build
> > comedi-0.7.70
> > > >
> > > > Here the background:
> > > >
> > > > 1) The base distro is VectorLinux 5.1 (distro uses 2.6.12)
> > > >
> > > > 2) Installed plain vanilla 2.6.15.6 kernel from kernel.org
> > > >
> > > > 3) Patched kernel with RTAI-3.3 patch
> > > > (/base/arch/i386/patches/hal-linux-2.6.15-i386-1.2-00.patch)
> > > >
> > > > 4) Kernel builds ok, RTAI builds ok, and comedilib builds ok
> > > >
> > > > . but I get the following errors when trying to build comedi-0.7.70:
> > >
> > > (snip errors)
> > >
> > > > Am I missing a patch? Is there some intermediate step I missed?
> > >
> > > I think comedi-0.7.70 only supports up to kernel 2.6.10 (possibly
> > 2.6.11
> > > - memory fails).  The CVS version currently supports up to kernel
> > > 2.6.15.x.  The Linux kernel API keeps changing with each release and
> > the
> > > Comedi drivers have to change to keep up with it (with various hacks
> > to
> > > remain compatible with earlier 2.6.x and 2.4.x kernels).
> > >
> > > --
> > > -=( Ian Abbott _at_ MEV Ltd.    E-mail: < abbotti_at_mev.co.uk>        )=-
> > > -=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-
> > > ---
> > > [This E-mail scanned for viruses by Link Engineering]
> >
> >
> > ---
> > [This E-mail scanned for viruses by Link Engineering]
> >
> >
> > _______________________________________________
> > comedi mailing list
> > comedi_at_comedi.org
> > https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
> >
>
>

Received on 2006-03-27Z12:32:54