problem cross compiling rtems

Joel Sherrill joel.sherrill at
Fri Apr 26 11:23:27 UTC 2002

Jack Cawkwell wrote:
> Hi,
> I am trying to cross compile rtems (under Linux on i386)
> so that I can run it under gdb. But I get problems
> with time.h, something like parse error before clock_id
> and timer)id. I did some investigating, but it the
> typedef seems to be defined, at least for some paths thru
> the compilation.
> I must be doing something wrong, I started with m68k
> and then tried powerPC, but go the same problem?

You are using a newlib that corresponds to the 4.5 branch
and trying to compile a more recent snapshot (or vice-versa).

Update your tools.  Feel free to grab the snapshot RPMs.

> Jack

Joel Sherrill, Ph.D.             Director of Research & Development
joel at                 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