Getting reacquainted -- Cygwin/powerpc-rtems Build Error
Joel Sherrill <joel@OARcorp.com>
joel.sherrill at OARcorp.com
Fri Dec 31 02:17:38 UTC 2004
Mills, John M. wrote:
> 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:
Nice to see you back. Haven't heard from you in a while. :)
Sicne you are using gcc 3.3.5, there aren't any "official" 4.6.2 gcc
3.3.5 RTEMS patches. We are using 3.3.5 for the CVS trunk though. Are
you using a newlib 1.11.0 patch? If so, is it the one from the 4.6
side of things?
Any other patches?
> ============================================================================
> ===========
> 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
--
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