This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: building problems with gcc 3.2 relating to libstdc..
- From: Phil Edwards <phil at jaj dot com>
- To: "Rettenbeck, Richard" <richard dot rettenbeck at hp dot com>
- Cc: Benjamin Kosnik <bkoz at redhat dot com>, libstdc++ at gcc dot gnu dot org
- Date: Fri, 1 Nov 2002 16:33:56 -0500
- Subject: Re: building problems with gcc 3.2 relating to libstdc..
- References: <DDEC3F1E5A03EC49A7191E6A2D44B29502D4C7BF@SNOEXC02.asiapacific.cpqcorp.net>
On Thu, Oct 17, 2002 at 08:45:13AM +1000, Rettenbeck, Richard wrote:
> Hi Phil,
>
> Thanks for the help, i've got the error message..
>
> /root/gccsource/gcc-3.2/libstdc++-v3/src/globals.cc -fPIC -DPIC -o .libs/globals.o
> In file included from /root/gccbuild/alpha-unknown-linux-gnu/libstdc++-v3/include/bits/fpos.h:45,
> from /root/gccbuild/alpha-unknown-linux-gnu/libstdc++-v3/include/iosfwd:46,
> from /root/gccbuild/alpha-unknown-linux-gnu/libstdc++-v3/include/ios:44,
> from /root/gccbuild/alpha-unknown-linux-gnu/libstdc++-v3/include/istream:44,
> from /root/gccbuild/alpha-unknown-linux-gnu/libstdc++-v3/include/fstream:45,
> from /root/gccsource/gcc-3.2/libstdc++-v3/src/globals.cc:30:
> /root/gccbuild/alpha-unknown-linux-gnu/libstdc++-v3/include/cwchar:138: `fgetwc
> ' not declared
[...]
> /root/gccbuild/alpha-unknown-linux-gnu/libstdc++-v3/include/cwchar:187: `wscanf
> ' not declared
> make[4]: *** [globals.lo] Error 1
> make[4]: Leaving directory `/root/gccbuild/alpha-unknown-linux-gnu/libstdc++-v3/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/root/gccbuild/alpha-unknown-linux-gnu/libstdc++-v3'
> make[2]: *** [all-recursive-am] Error 2
> make[2]: Leaving directory `/root/gccbuild/alpha-unknown-linux-gnu/libstdc++-v3'
> make[1]: *** [all-target-libstdc++-v3] Error 2
> make[1]: Leaving directory `/root/gccbuild'
> make: *** [bootstrap-lean] Error 2
>
> Any idea on what I'm doing wrong?
None, sorry. I'm not familiar with the alpha-linux-gnu target. You might
check whether GLIBCPP_USE_WCHAR_T is defined in include/bits/c++config.h
in your build directory.
I think Benjamin just fixed some problems relating to this, so you might
grab the source from the 3.2 branch and try again.
Phil
--
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
- Edsger Dijkstra, 1930-2002