Re: Loading comedi.o fails

-----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-13Z22:22:15