Re: addi-data and current cvs-version

On Thu, 02 Feb 2006 11:07:47 +0100, Andreas Leuner wrote:

>> 2) I'm running the linux-2.6.10-kernel patched with
>> adeos-linux-2.6.10-i386-r9.patch. Unfortunately the latest cvs-sources of
>> comedi stop compiling at the addi-data stuff, complaining about:
>>
>> #######################
>> + /lib/modules/2.6.10-adeos/build/scripts/mod/modpost -o .mods/comedi.
>> o.symvers.tmp -i .mods/symvers.tmp .mods/comedi.o
>> *** Warning: "rt_release_irq" [.mods/comedi.ko] undefined!
>> #######################
>>
>> and
>>
>> ##################
>> 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
>> ##################
>>
>> mmmm, I'm a bit clueless ...... :(
> 
> the file comedi/comedi/drivers/addi-data/Makefile.am in the comedi
> distribution misses the CFLAGS for rtai. So try adding "$RTAI_CFLAGS" to
> the line
> AM_CFLAGS = $(COMEDI_CFLAGS) $(LINUX_CFLAGS)
> then re-run autogen.sh, reconfigure and recompile comedi.
> 
> However, the problem you described might not be the only one. When I
> corrected it at my place I ran straight into the next one. I didn't look
> into that any further because I don't need the stuff in that directory.
> 
> Please post back to the list with further questions.
> 
> Andreas Leuner

Dear Andreas,

thanks for effort digging into this matter. One hour later to my first
posting, i've found a solution, which is quite simple :)
Details in the above postings ....

No Makefile.am hacking, what was my first try to ....

Cheers*
Nico

Received on 2006-02-02Z10:26:35