Re: problems installing comedi

I followed all the steps in the RTAI&Comedi install guide of Roberto 
Bucher, and didn't have this problem. Did you follow these steps too? 
You can find the guide here:

http://www.dti.supsi.ch/~bucher/scilab-howto.pdf

Kind regards,
Arno.

Jesse Gohl wrote:
> I'm having problems installing comedi.  The error occurs during the
> "make" command.  The full results are shown below.
> 
> My configuration:
> 1. Centos-4.2
> 2. RTAI-3.3-test4
> 3. linux 2.6.10 kernel
> 4. Comedi checked out of cvs today.
> 5. gcc - 3.4.4
> 6. linux 2.6.10 kernel
> 7. configure command: ./configure
> --with-linuxdir=/usr/src/kernels/linux-2.6.10-rtai
> --with-rtaidir=/usr/realtime
> 
> The last few lines of the returned results from "make" are shown below. 
> Does anyone have any hints as to what I'm doing wrong?  It seems like
> the problem is that it doesn't include the path to
> "/usr/realtime/include" but I've included the
> "--with-rtaidir=/usr/realtime" in the "configure" command.  Thanks for
> any help.
> 
> 
> 
> ----------------------------------------------------------
> make[3]: Leaving directory `/usr/share/comedi/comedi/kcomedilib'
> Making all in drivers
> make[3]: Entering directory `/usr/share/comedi/comedi/drivers'
> Making all in addi-data
> make[4]: Entering directory `/usr/share/comedi/comedi/drivers/addi-data'
> if gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -I../../../include/
> -DKBUILD_MODNAME=addi_common -DKBUILD_BASENAME=addi_common -Wall
> -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2
> -fomit-frame-pointer -g -pipe -msoft-float -mpreferred-stack-boundary=2
> -fno-unit-at-a-time -march=i686
> -I/usr/src/kernels/linux-2.6.10-rtai/include/asm-i386/mach-default
> -Wdeclaration-after-statement -D__KERNEL__
> -I/usr/src/kernels/linux-2.6.10-rtai/include  -DMODULE -g -O2 -MT
> addi_common.o -MD -MP -MF ".deps/addi_common.Tpo" -c -o addi_common.o
> addi_common.c; \
> then mv -f ".deps/addi_common.Tpo" ".deps/addi_common.Po"; else rm -f
> ".deps/addi_common.Tpo"; exit 1; fi
> In file included from ../../../include/linux/comedidev.h:395,
>                  from addi_common.c:65:
> ../../../include/linux/comedi_rt.h:42:18: rtai.h: No such file or directory
> ../../../include/linux/comedi_rt.h:43:24: rtai_sched.h: No such file or
> directory
> In file included from ../../../include/linux/comedidev.h:395,
>                  from addi_common.c:65:
> ../../../include/linux/comedi_rt.h: In function
> `__comedi_spin_lock_irqsave':
> ../../../include/linux/comedi_rt.h:97: warning: implicit declaration of
> function `rt_spin_lock_irqsave'
> ../../../include/linux/comedi_rt.h: In function
> `comedi_spin_unlock_irqrestore':
> ../../../include/linux/comedi_rt.h:119: warning: implicit declaration of
> function `rt_spin_unlock_irqrestore'
> ../../../include/linux/comedi_rt.h: In function `comedi_udelay':
> ../../../include/linux/comedi_rt.h:140: warning: implicit declaration of
> function `rt_busy_sleep'
> In file included from addi_common.h:61,
>                  from addi_common.c:70:
> addi_amcc_s5933.h: In function `i_find_free_pci_card_by_position':
> addi_amcc_s5933.h:374: warning: implicit declaration of function `rt_printk'
> make[4]: *** [addi_common.o] Error 1
> make[4]: Leaving directory `/usr/share/comedi/comedi/drivers/addi-data'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/share/comedi/comedi/drivers'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/share/comedi/comedi'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/share/comedi'
> make: *** [all] Error 2
> -----------------------------------------------------------------------------------------------
> 
> 
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi

-- 
   ____
  /  |_| <<< IR. ARNO H.A. STIENEN >>>
|_ O  | Biomechanical Engineering | http://www.bw.ctw.utwente.nl
|_|__/  a.h.a.stienen_at_utwente.nl  | +31-(0)53-489-4778
UTwente "There are alternatives: Firefox, Thunderbird & OpenOffice!"

Received on 2006-01-26Z08:13:37