Problem building RTEMS4.10

Shah, Viral viral.ashah at
Mon Mar 7 09:20:10 UTC 2011

Hi All,

I am trying to build RTEMS 4.10 for m68k target. Below are the details of the tool chain

1)       gcc-4.4.5.tar.bz2
2)       binutils-2.20.1.tar.bz2 with patch binutils-2.20.1-rtems4.10-20100826.diff
3)       newlib-1.18.0.tar.gz with patch newlib-1.18.0-rtems4.10-20110114.diff

I have configured the rtems with following options which works correctly.

../rtems-4.10.0/configure --target=m68k-rtems4.10 --disable-posix --disable-itron --enable-rtemsbsp=m5484FireEngine --prefix=/opt/rtems-4.10

When I do make all, I get error `Configuration_POSIX_API' undeclared (first use in this fun
ction). Has anyone faced similar problem? Can someone tell me what causes to give this error?

Please see the logs below..

../.././m5484FireEngine/lib/include   -mcfv4e -Wa,-memac -O2 -g -fomit-frame-poi
nter  -Wall -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs
 -MT bspstart.o -MD -MP -MF .deps/bspstart.Tpo -c -o bspstart.o `test -f 'startu
p/bspstart.c' || echo '../../../../../../../../rtems-4.10.0/c/src/lib/libbsp/m68
pstart.c: In function `bsp_start':
pstart.c:277: error: `Configuration_POSIX_API' undeclared (first use in this fun
pstart.c:277: error: (Each undeclared identifier is reported only once
pstart.c:277: error: for each function it appears in.)
make[6]: *** [bspstart.o] Error 1
make[6]: Leaving directory `/cygdrive/e/RTEMS_10/tools/build-rtems/m68k-rtems4.1
make[5]: *** [all-recursive] Error 1
make[4]: Leaving directory `/cygdrive/e/RTEMS_10/tools/build-rtems/m68k-rtems4.1
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/cygdrive/e/RTEMS_10/tools/build-rtems/m68k-rtems4.1
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/e/RTEMS_10/tools/build-rtems/m68k-rtems4.1
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/e/RTEMS_10/tools/build-rtems/m68k-rtems4.1
make: *** [all-recursive] Error 1

Thanks & Regards,

Viral Shah
Specialist(Software) - Product Engineering Services,
Patni Computer Systems Ltd,
IT1/IT2 Patni Knowledge Park (PKP),
Block C, 2nd Floor, Wing A (C2A),
Thane Belapur Road, Airoli,
Navi Mumbai 400 708.
Tel: +91 22 3917 2000 Ext 4203
Tel (Direct): +91 22 3917 4203
Patni Link Line: 9-625-4403

Information contained and transmitted by this e-mail is confidential and proprietary to Patni Computer Systems Ltd and its affiliates (hitherto referred as Patni Computers) and is intended for use only by the recipient. If you are not the intended recipient , you are hereby notified that any dissemination, distribution, copying or use of this e-mail is strictly prohibited and you are requested to delete this e-mail immediately and notify the originator or netadmin at Patni Computers does not enter into any agreement with any party by e-mail. Any views expressed by an individual do not necessarily reflect the view of Patni Computers. Patni Computers is not responsible for the consequences of any actions taken on the basis of information provided, through this email. The contents of an attachment to this e-mail may contain software viruses, which could damage your own computer system. While Patni Computers has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening an attachment. To know more about Patni Computers please visit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list