building problems with gcc 3.2 relating to libstdc..

Phil Edwards phil@jaj.com
Fri Nov 1 13:34:00 GMT 2002


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



More information about the Libstdc++ mailing list