Getting reacquainted -- Cygwin/powerpc-rtems Build Error

Mills, John M. Mills.J at ems-t.com
Thu Dec 30 21:56:53 UTC 2004


Hello -

Returning to RTEMS, I'm trying to build RTEMS-4.6.2 for the powerpc-rtems
targets, under Cygwin in a MsWinXPPro environment. I built a fresh set of
cross-tools based on binutils-2.15, gcc-3.3.5 and newlib-1.11.0 with RTEMS
patches applied and tried a configure/build with "--target=powerpc-rtems
--enable-cxx --enable-tests". Configuration appears to run through, but all
the BSP's builds crash on a 'pthread.h' problem with error reports as
follows:
============================================================================
===========
powerpc-rtems-gcc --pipe -DHAVE_CONFIG_H   -isystem
../../../../dmv177/lib/include -D__RTEMS_INSIDE__     -mcpu=603e
-D_OLD_EXCEPTIONS -Dppc603e  -O4 -fno-keep-inline-functions -g -Wall -ansi
-fasm  -o o-optimize/posixapi.o -c
/usr/src/rtems-4.6.2/c/src/../../cpukit/sapi/src/posixapi.c
In file included from ../../../../dmv177/lib/include/sched.h:21,
                 from /usr/local/powerpc-rtems/sys-include/pthread.h:15,
                 from
../../../../dmv177/lib/include/rtems/posix/cond.inl:19,
                 from ../../../../dmv177/lib/include/rtems/posix/cond.h:158,
                 from /usr/src/rtems-4.6.2/cpukit/sapi/src/posixapi.c:32:
/usr/local/powerpc-rtems/sys-include/pthread.h:168: error: parse error
before '*' token
 [... same error repeated over next 9 lines ...]
/usr/local/powerpc-rtems/sys-include/pthread.h:179: error: parse error
before '*' token
make[4]: *** [o-optimize/posixapi.o] Error 1
============================================================================
===========

There appears to be a circular inclusion path here - does it look familiar
to anyone?

Any suggestions welcome.

Thanks.

John M. Mills
Staff Engineer
EMS Technologies
660 Engineering Drive
Norcross, GA 30092
770.263.9200 ext4882



More information about the users mailing list