build error: error: '_U' was not declared in this scope

M R Swami Reddy MR.Swami.Reddy@nsc.com
Mon Oct 20 08:20:00 GMT 2008


Hello,

I am building the libstdc++-v3 for cr16-elf traget. During the build process, 
the below error displayed:
===
/local/user/swami/cpp-cr16/src/CR_R_2007-08-24_11-34-56/b-native-gcc-4.1.2/cr16-elf/libstdc++-v3/include/cr16-elf/bits/ctype_base.h:47: 
error: '_L' was not declared in this scope
/local/user/swami/cpp-cr16/src/CR_R_2007-08-24_11-34-56/b-native-gcc-4.1.2/cr16-elf/libstdc++-v3/include/cr16-elf/bits/ctype_base.h:48: 
error: '_U' was not declared in this scope
/local/user/swami/cpp-cr16/src/CR_R_2007-08-24_11-34-56/b-native-gcc-4.1.2/cr16-elf/libstdc++-v3/include/cr16-elf/bits/ctype_base.h:48: 
error: '_L' was not declared in this scope
/local/user/swami/cpp-cr16/src/CR_R_2007-08-24_11-34-56/b-native-gcc-4.1.2/cr16-elf/libstdc++-v3/include/cr16-elf/bits/ctype_base.h:49: 
error: '_N' was not declared in this scope
/local/user/swami/cpp-cr16/src/CR_R_2007-08-24_11-34-56/b-native-gcc-4.1.2/cr16-elf/libstdc++-v3/include/cr16-elf/bits/ctype_base.h:50: 
error: '_X' was not declared in this scope
/local/user/swami/cpp-cr16/src/CR_R_2007-08-24_11-34-56/b-native-gcc-4.1.2/cr16-elf/libstdc++-v3/include/cr16-elf/bits/ctype_base.h:50: 
error: '_N' was not decl
===

Configure options are:
====
--disable-libssp --enable-languages=c,c++  --enable-locale=gnu   --with-gnu-as 
--with-gnu-ld --disable-nls --with-system-zlib --enable-sjlj-exceptions 
--host=i686-pc-linux-gnu --disable-shared --enable-cxx-flags='-fexceptions 
-frtti' --with-included-gettext --oldincludedir=/usr/include --with-newlib 
--libdir=/local/user/swami/sitel/download/tools/rel/cr16-linux-uclibc/usr/lib
===

Could you please advise on this error? Thank you.

Thanks
Swami



More information about the Gcc-help mailing list