AnsweredAssumed Answered

[2011R1-RC3] Error compiling STLport-5.2.1

Question asked by Winfried on Feb 14, 2012
Latest reply on Feb 15, 2012 by Winfried

Hello

 

I used the latest stable releases (2011R1-RC4) of the toolchain and the uClibc full library to compile the latest stable release of uClinux-dist (2011R1-RC3), but it fails compiling STLport-5.2.1. I searched this forum, but it didn't return any hit:

 

make single

...

bfin-uclinux-gcc -pthread  -fPIC -O2 -fvisibility=hidden -pipe -Wall -g -O2 -mcpu=bf532-0.5 -DEMBED -D__uClinux__ -I/usr/src/blackfin-linux-dist.2011R1-RC3 -mcpu=bf532-0.5 -D_STLP_NO_CWCHAR -D_STLP_NO_NATIVE_WIDE_FUNCTIONS -D_STLP_NO_NATIVE_WIDE_STREAMS  -D_GNU_SOURCE -I../../stlport  -c -o obj/bfin-uclinux-gcc/so/c_locale.o ../../src/c_locale.c

In file included from ../../src/c_locale.c:21:

../../src/c_locale.h:210: error: expected declaration specifiers or ‘...’ before ‘wint_t’

../../src/c_locale.h:211: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_WLocale_tolower’

../../src/c_locale.h:212: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_WLocale_toupper’

...

../../src/c_locale_dummy/c_locale_dummy.c:477: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

make[7]: *** [obj/bfin-uclinux-gcc/so/c_locale.o] Error 1

make[7]: Leaving directory `/usr/src/blackfin-linux-dist.2011R1-RC3/lib/STLport/STLport-5.2.1/build/lib'

 

Any idea why the build fails?

 

Thank you.

Outcomes