- From: Everett X. Wang <everteq_at_sbcglobal.net>
- Date: Sun, 22 Feb 2004 12:33:57 -0800
Hi All,
Thanks for the suggestions. I need more help to make it work.
I have installed the linux kernal 2.4.24 with RTAI 3.0r2 compiled
and installed on a pentium 3 machine. They are working well. (I intend
to move the software to a PC104 P3 900mhz machine with compactflash
disk later.)
Try 1: CVS current comedi
1) edit autogen.sh, removal -1.4 from aclocal and -1.7 from automake
I am using automake 1.6.3. I know that suggested version is 1.7. Where to
get it?
2) ./autogen.sh here is the output:
[everett_at_localhost comedi]$ ./autogen.sh
configure.ac: installing `./install-sh'
configure.ac: installing `./mkinstalldirs'
configure.ac: installing `./missing'
Makefile.am: required file `./NEWS' not found
Makefile.am: required file `./AUTHORS' not found
Makefile.am: required file `./ChangeLog' not found
comedi/Makefile.am: installing `./compile'
comedi/Makefile.am: installing `./depcomp'
comedi/drivers/Makefile.am:45: CONFIG_USB does not appear in AM_CONDITIONAL
comedi/drivers/Makefile.am:45: CONFIG_USB does not appear in AM_CONDITIONAL
configure: error: cannot run /bin/sh ./config.sub
No configure is produced. What should I do here?
Try 2: released comedi 0.7.67
1) ./configure
runs fine
2) make
[everett_at_localhost comedi-0.7.67]$ make
make all-recursive
make[1]: Entering directory `/home/everett/embedded/comedi/comedi-0.7.67'
Making all in comedi
make[2]: Entering directory
`/home/everett/embedded/comedi/comedi-0.7.67/comedi'Making all in kcomedilib
make[3]: Entering directory
`/home/everett/embedded/comedi/comedi-0.7.67/comedi/kcomedilib'
source='data.c' object='kcomedilib_ko-data.o' libtool=no \
depfile='.deps/kcomedilib_ko-data.Po'
tmpdepfile='.deps/kcomedilib_ko-data.TPo'
\
depmode=gcc /bin/sh ../../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/ -D__KERNEL__ -I/home
/everett/embedded/kernel/linux-2.4.24/include -Wall -Wstrict-prototypes -Wno
-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -
mpreferred-stack-boundary=2 -march=i686 -DMODULE -g -O2 -c -o
kcomedilib_ko-data.o `test -f
'data.c' || echo './'`data.c
In file included from ../../include/linux/interrupt.h:31,
from
/home/everett/embedded/kernel/linux-2.4.24/include/asm/highmem.h:25,
from
/home/everett/embedded/kernel/linux-2.4.24/include/linux/highmem.h:11,
from ../../include/linux/highmem.h:13,
from
/home/everett/embedded/kernel/linux-2.4.24/include/linux/vmalloc.h:8,
from ../../include/linux/vmalloc.h:14,
from ../../include/linux/comedidev.h:38,
from data.c:26:
/home/everett/embedded/kernel/linux-2.4.24/include/linux/interrupt.h:19:
warning: `IRQ_RETVAL' redefined
../../include/linux/interrupt.h:28: warning: this is the location of the
previous definition
In file included from ../../include/linux/interrupt.h:31,
from
/home/everett/embedded/kernel/linux-2.4.24/include/asm/highmem.h:25,
from
/home/everett/embedded/kernel/linux-2.4.24/include/linux/highmem.h:11,
from ../../include/linux/highmem.h:13,
from
/home/everett/embedded/kernel/linux-2.4.24/include/linux/vmalloc.h:8,
from ../../include/linux/vmalloc.h:14,
from ../../include/linux/comedidev.h:38,
from data.c:26:
/home/everett/embedded/kernel/linux-2.4.24/include/linux/interrupt.h:16:
redefinition of `irqreturn_t'
../../include/linux/interrupt.h:25: `irqreturn_t' previously declared here
make[3]: *** [kcomedilib_ko-data.o] Error 1
make[3]: Leaving directory
`/home/everett/embedded/comedi/comedi-0.7.67/comedi/kcomedilib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/everett/embedded/comedi/comedi-0.7.67/comedi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/everett/embedded/comedi/comedi-0.7.67'
make: *** [all] Error 2
[everett_at_localhost comedi-0.7.67]$
Any idea how to preceed from here?
Thanks
Everett
-----Original Message-----
From: comedi-admin_at_comedi.org [mailto:comedi-admin_at_comedi.org]On Behalf
Of Frank Mori Hess
Sent: Sunday, February 22, 2004 7:18 AM
To: Herman Bruyninckx; Everett X. Wang
Cc: comedi_at_comedi.org
Subject: Re: Newbie needs suggestions to select linux, rtai and comedi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday 22 February 2004 05:03 am, Herman Bruyninckx wrote:
> On Sat, 21 Feb 2004, Everett X. Wang wrote:
> > I am working on a robot project that needs comedi, RTAI and linux. I
> > am thinking using the newest release of comedi + rtai-3r2 and linux
> > 2.4.24. Is this a workable combination? If it is not, can any one
> > suggestion something to me?
>
> We use this for our orocos.org robotics project. It seems to have
> stabilized, at least on i386.
You must be using a more recent cvs checkout than the 0.7.67 release
though? 0.7.67 didn't have the --with-rtaidir configure option.
- --
Frank
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQFAOMg35vihyNWuA4URAuB8AKDnyvVijaZw9RL4cJ6D22G0XFblyQCguoq7
gXNLoIyPvRCQnqshV+vQW8U=
=ohIC
-----END PGP SIGNATURE-----
_______________________________________________
comedi mailing list
comedi_at_comedi.org
https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
Received on 2004-02-22Z20:33:57