Comedi installation with allsoft RTAI fails?

	Hello all,
	I'm not having better luck Comedi 0.7.65 with RTAI 24.1.10 and 
allsoft-patched 2.4.19. Now it fails doing make as follows:
...
proc.o(.rodata+0x0): multiple definition of `comedi_debug'
comedi_fops.o(.rodata+0x0): first defined here
range.o(.rodata+0x0): multiple definition of `comedi_debug'
comedi_fops.o(.rodata+0x0): first defined here
drivers.o(.rodata+0x0): multiple definition of `comedi_debug'
comedi_fops.o(.rodata+0x0): first defined here
comedi_ksyms.o(.rodata+0x0): multiple definition of `comedi_debug'
comedi_fops.o(.rodata+0x0): first defined here
rt_pend_tq.o(.rodata+0x0): multiple definition of `comedi_debug'
comedi_fops.o(.rodata+0x0): first defined here
rt.o(.rodata+0x0): multiple definition of `comedi_debug'
comedi_fops.o(.rodata+0x0): first defined here
make[1]: *** [comedi.o] Error 1
make[1]: Leaving directory `/usr/local/src/comedi-0.7.65/comedi'
make: *** [_mod_comedi] Error 2
...
	I noticed file "comedi_fops.c" starts with "#undef DEBUG", but later it uses 
the conditional "#ifdef CONFIG_COMEDI_DEBUG". Some inconsistency with the 
labels?. It looks like I fixed the problem by changing the first one to 
"#undef CONFIG_COMEDI_DEBUG", but now I have problems in "make install":
...
depmod: *** Unresolved symbols in 
/lib/modules/2.4.19-allsoft1a/rtai/rtai_sched_ext.o
depmod:         rt_bits_wait_timed
depmod:         rt_bits_reset
depmod:         rt_bits_wait
depmod:         rt_get_bits
depmod:         rt_bits_wait_if
depmod:         rt_bits_wait_until
depmod:         rt_bits_signal
depmod:         rt_bits_init
depmod:         rt_bits_delete
make: *** [modules_install] Error 1
...
	I wonder if anyone managed to intall Comedi-0.7.65 with RTAI 24.1.10 and 
2.4.19 kernel with any of the patches, or I should use older versions...
	Ivan

Received on 2002-10-24Z08:29:02