Linux 2.4.9 and RTAI compilation problem

lange92 at 2067.resnet.uni.edu lange92 at 2067.resnet.uni.edu
Mon Sep 3 19:45:34 UTC 2001


Joel,
  My understanding is that RH 7.x ships with a broken GCC, according to
the guys on the linux kernel devel mailing list. It might help to simply
install a fresh gcc that is standard and stable (like 2.95.2) for handling
the compilations.
DanL

On Mon, 3 Sep 2001, Joel Sherrill wrote:

>
> 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