Help wanted for installing comedi under RTAI

Hi All,
   
  I have been using comedi and RTAI for a while. But I have some difficulty install current comedi under RTAI 3.5. I can install RTAI 3.5 fine and it works for its testsuite. Configure and compile is fine for comedi. When I try to make install, it generate warning messages that it can find rt_printk, rt_busy_sleep etc. dmsg also showed unknown module.
   
  I am using kernel 2.6.17.6, RTAI 3.5, cvs comedi (I also tried comedi-0.7.73 with the same result). My procesdure is like this:
   
  1) get the kernel, patch it with RTAI hal, compile and install it
  2) setup symbolic links for RTAI: ln  -s Mycomedi /usr/local
                                                  ln -s mycomedi/include/linux /usr/local/linux
  If I don't put the links, RTAI will not compile
  3) configure, compile and install RTAI, 
  RTAI seems installed fine since RTAI testsuite runs fine.
  4) Compile comedi:
  for cvs comedi, i first run ./autogen.sh; ./configure --with-rtaidir=/usr/realtime, make
  The trouble begin to do make install, 
  make install complains that rt_printk when it trys to do this steps:
  ...
  make -f scripts/Makefile.build obj=/home/everett/Opcon/comedi/comedi/comedi/kcomedilib
  Building modules, stage 2.
  make -f /home/everett/Opcon/kernel/linux-2.6.19/scripts/Makefile.modpost
    scripts/mod/modpost   -i /home/everett/Opcon/kernel/linux-2.6.19/Module.symvers -I /home/everett/Opcon/comedi/comedi/comedi/Module.symvers -o /home/everett/Opcon/comedi/comedi/comedi/Module.symvers -w vmlinux /home/everett/Opcon/comedi/comedi/comedi/comedi.o 
  /home/everett/Opcon/comedi/comedi/comedi/drivers/8255.o 
  /home/everett/Opcon/comedi/comedi/comedi/drivers/acl7225b.o ....
   
  It complains again for this step:
  
      if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map 2.6.19-ipipe; fi
      WARNING: /lib/modules/2.6.19-ipipe/comedi/kcomedilib/kcomedilib.ko needs unknown symbol rt_busy_sleep
....
   
  dmesg also shows problem
  ....
  comedi: Unknown symbol rt_request_srq
comedi: Unknown symbol rt_shutdown_irq
comedi: Unknown symbol rt_enable_irq
comedi: Unknown symbol rt_printk
comedi: Unknown symbol rt_pend_linux_srq
comedi: Unknown symbol rt_startup_irq
comedi: Unknown symbol rt_free_srq
comedi: Unknown symbol rt_request_irq
comedi: Unknown symbol rt_release_irq
comedi_fc: Unknown symbol comedi_buf_read_free
comedi_fc: Unknown symbol comedi_buf_write_alloc
comedi_fc: Unknown symbol rt_printk
comedi_fc: Unknown symbol comedi_event
comedi_fc: Unknown symbol comedi_buf_write_free
comedi_fc: Unknown symbol comedi_buf_read_n_available
comedi_fc: Unknown symbol comedi_buf_memcpy_to
comedi_fc: Unknown symbol comedi_buf_memcpy_from
s626: Unknown symbol cfc_write_array_to_buffer
s626: Unknown symbol comedi_error
s626: Unknown symbol rt_busy_sleep
s626: Unknown symbol comedi_request_irq
s626: Unknown symbol range_unknown
s626: Unknown symbol comedi_event
s626: Unknown symbol range_unipolar5
s626: Unknown symbol comedi_driver_unregister
s626: Unknown symbol range_bipolar10
s626: Unknown symbol comedi_driver_register
s626: Unknown symbol comedi_free_irq
...
   
   
  Any suggestions? 
   
  Thanks in advanced.
   
  Everett
   
   
   

Received on 2007-03-14Z20:38:00