Linux 2.4.9 and RTAI compilation problem

Joel Sherrill joel.sherrill at OARcorp.com
Tue Sep 4 00:46:27 UTC 2001


Everyone seems to have commented on everything but my immediate
stumbling block. :)

I am sure someone has used this configuration before and has
advice. Thanks in advance.

Joel Sherrill wrote:
> 
>   + Linux 2.4.9 kernel and rtai-24.1.6  on a Redhat 7.1 box.
>     This seemed to be working out OK  as I managed to reboot
>     the new kernel with RTAI patches but can't compile completely.
>     I get these warnings (they start at #1) ..
> 
> arch/i386/rtai.c:298:45: warning: pasting "(" and "29" does not give a
> valid preprocessing token
> arch/i386/rtai.c:299:1: warning: pasting "(" and "30" does not give a
> valid preprocessing token
> arch/i386/rtai.c:299:23: warning: pasting "(" and "31" does not give a
> valid preprocessing token
> 
>   and the build fails later with this:
> 
> ../../include/rtai_lxrt.h:325: impossible register constraint in `asm'
> ../../include/rtai_lxrt.h:325: impossible register constraint in `asm'
> ../tasklets.h:190: confused by earlier errors, bailing out
> 
> This has to be a common problem.  DO I have a bad compiler version
> with Redhat 7.1 for using RTAI?
> 
-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985



More information about the users mailing list