How to make sure it linked with g++ library instead of gcc

panx at seas.upenn.edu panx at seas.upenn.edu
Fri Jun 22 21:45:34 UTC 2012


Hello,

I have attached the Makefile.
The following are the error messages:
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/include/c++/sparc-rtems4.11/bits/ctype_base.h:46:35: error: '_U' was not declared in this  
scope
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/include/c++/sparc-rtems4.11/bits/ctype_base.h:47:32: error: '_L' was not declared in this  
scope
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/include/c++/sparc-rtems4.11/bits/ctype_base.h:48:32: error: '_U' was not declared in this  
scope
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/include/c++/sparc-rtems4.11/bits/ctype_base.h:48:37: error: '_L' was not declared in this  
scope
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/include/c++/sparc-rtems4.11/bits/ctype_base.h:49:32: error: '_N' was not declared in this  
scope
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/include/c++/sparc-rtems4.11/bits/ctype_base.h:50:33: error: '_X' was not declared in this  
scope
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/include/c++/sparc-rtems4.11/bits/ctype_base.h:50:38: error: '_N' was not declared in this  
scope
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/include/c++/sparc-rtems4.11/bits/ctype_base.h:51:32: error: '_S' was not declared in this  
scope
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/include/c++/sparc-rtems4.11/bits/ctype_base.h:52:32: error: '_P' was not declared in this  
scope
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/include/c++/sparc-rtems4.11/bits/ctype_base.h:52:37: error: '_U' was not declared in this  
scope
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/include/c++/sparc-rtems4.11/bits/ctype_base.h:52:42: error: '_L' was not declared in this  
scope
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/include/c++/sparc-rtems4.11/bits/ctype_base.h:52:47: error: '_N' was not declared in this  
scope
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/include/c++/sparc-rtems4.11/bits/ctype_base.h:52:52: error: '_B' was not declared in this  
scope
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/include/c++/sparc-rtems4.11/bits/ctype_base.h:53:32: error: '_P' was not declared in this  
scope
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/include/c++/sparc-rtems4.11/bits/ctype_base.h:53:37: error: '_U' was not declared in this  
scope
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/include/c++/sparc-rtems4.11/bits/ctype_base.h:53:42: error: '_L' was not declared in this  
scope
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/include/c++/sparc-rtems4.11/bits/ctype_base.h:53:47: error: '_N' was not declared in this  
scope
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/include/c++/sparc-rtems4.11/bits/ctype_base.h:54:32: error: '_C' was not declared in this  
scope
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/include/c++/sparc-rtems4.11/bits/ctype_base.h:55:32: error: '_P' was not declared in this  
scope
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/include/c++/sparc-rtems4.11/bits/ctype_base.h:56:32: error: '_U' was not declared in this  
scope
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/include/c++/sparc-rtems4.11/bits/ctype_base.h:56:37: error: '_L' was not declared in this  
scope
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/include/c++/sparc-rtems4.11/bits/ctype_base.h:56:42: error: '_N' was not declared in this  
scope

 From the above error message, it seems to have used the gcc library.  
I don't know which part went wrong.

Thank you,
xiaochen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 423 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20120622/cc4e58b0/attachment.obj>


More information about the devel mailing list