You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by Jeremy Dean <de...@roguewave.com> on 2006/05/17 17:25:18 UTC
Problem building Standard library
I am having a problem building Standard Library.
I am running on RedHat Advanced Server 4 update 3, but have put the support
compiler /binutils on the machine
GNU 3.4.4-2
Binutils 2.15.92.0.2-15
When I try to build an optimized build, the localedef hangs and never
returns. I was told to then try building a debug version, and the debug
version of the library fails to compile with the following error:
gcc -D_RWCONFIG=11s -I./../../../include -I./../../../include/ansi
-I./../../.. -I/roguewave/SourcePro/Ed9/source/stdlib -I. -D_RWBUILD_std
-Wcast-align -Wcast-qual -Wwrite-strings -g --pedantic -Wall -W
-Wno-long-long -c /roguewave/SourcePro/Ed9/source/stdlib/codecvt.cpp
In file included from /roguewave/SourcePro/Ed9/source/stdlib/codecvt.cpp:58:
/roguewave/SourcePro/Ed9/source/stdlib/setlocale.h:45: error:
`_RWSTD_LC_ALL' was not declared in this scope
Jeremy Dean
Rogue Wave Software,
A QUOVADX(tm) division
Technical Support
Phone: 303-545-3205 -- 1-800-404-4767
E-mail: support@roguewave.com <ma...@roguewave.com>
Web: http://www.roguewave.com/support <http://www.roguewave.com/support>
Knowledge Base entries:
http://www.roguewave.com/kbdocs/search.html
<http://www.roguewave.com/kbdocs/search.html>
View issues online at:
http://www.roguewave.com/youraccount/login/
<http://www.roguewave.com/youraccount/login/>
Re: Problem building Standard library
Posted by Martin Sebor <se...@roguewave.com>.
Jeremy Dean wrote:
> I am having a problem building Standard Library.
[...]
> When I try to build an optimized build, the localedef hangs and never
> returns.
Have you searched the bug database for similar problems? The
configuration issue below causes similar symptoms in locale:
http://issues.apache.org/jira/browse/STDCXX-140. It's been
fixed on the trunk.
> I was told to then try building a debug version, and the debug
> version of the library fails to compile with the following error:
[...]
> /roguewave/SourcePro/Ed9/source/stdlib/setlocale.h:45: error:
> `_RWSTD_LC_ALL' was not declared in this scope
That's an obvious configuration issue. You need to find out
why the test that's supposed to define the macro is failing.
IIRC, the name of the test is LOCALE_NAME_FORMAT.cpp. Look
at the log file to see what went wrong.
Martin