Compiling from CVS failed

Hi everyone,

I manually removed the three lines from rt.c, which enabled me to
compile and load comedi.o! So that's nice. I did get some messages about
rt_*** functions, so I checked out the CVS as I noticed that my version
was rather old. I ran into a autogen.sh problem. Am I stupid or is
something else going on? I removed the version-numbers in the script:

[root_at_g4-confocal comedi]# more autogen.sh
#!/bin/sh
 
aclocal -I m4
autoheader
autoconf
automake --add-missing --copy
 
rm -f config.cache
 
./configure --enable-maintainer-mode $*


[root_at_g4-confocal comedi]# ./autogen.sh
configure.ac:4: `automake requires `AM_CONFIG_HEADER', not
`AC_CONFIG_HEADER'
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


Any help would be great!

Teun de Boer


On Wed, 2004-04-14 at 01:22, Frank Mori Hess wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Tuesday 13 April 2004 03:55 am, Teun de Boer wrote:
> > Hi everyone,
> >
> > I'm trying to use comedi 0.7.68 with RTAI 3.0r3 on a Power Mac G4. By
> > now I've got RTAI to work properly and am now busy with comedi.
> > Compilation went okay, but when I load comedi.o I get a unresolved
> > symbol :
> > rt_request_global_irq_arg. I loaded the modules rtai_hal, rtai_up and
> > rtai_fifos by hand, should I load more? Thanks in advance,
> >
> > Teun de Boer
> > Dept. Medical Physiology
> > Utrecht University
> > The Netherlands.
> 
> Here is a patch (it's against cvs, but you get the idea):
> 
> Index: comedi/rt.c
> ===================================================================
> RCS file: /var/cvs/comedi/comedi/rt.c,v
> retrieving revision 1.27
> diff -u -r1.27 rt.c
> - --- comedi/rt.c	22 Mar 2004 21:05:26 -0000	1.27
> +++ comedi/rt.c	13 Apr 2004 23:19:36 -0000
> _at__at_ -258,9 +258,6 _at__at_
>  /* RTAI section */
>  #ifdef CONFIG_COMEDI_RTAI
>  
> - -#ifdef CONFIG_PPC
> - -#define HAVE_RT_REQUEST_IRQ_WITH_ARG
> - -#endif
>  #ifndef HAVE_RT_REQUEST_IRQ_WITH_ARG
>  #define DECLARE_VOID_IRQ(irq) \
>  static void handle_void_irq_ ## irq (void){ handle_void_irq(irq);}
> 
> - -- 
> Frank
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iD8DBQFAfHYn5vihyNWuA4URAleIAKCDSSFQ0ApHTYeIJZV2Defjz95IKACfQBAe
> Ss72r7iKBHGN7ESxf9IlPgM=
> =mIhM
> -----END PGP SIGNATURE-----

Received on 2004-04-14Z08:07:18