[uClibc] `snprintf' is not a member of `std'

Robert Connolly robert at linuxfromscratch.org
Thu Jan 13 03:11:30 UTC 2005


This was due to lack of wide char support.

On December 29, 2004 01:38 am, Robert Connolly wrote:
> Hello. I can't shake this error when building g++ 3.4.3 with a uClibc
> snapshot (20041227):
>
> In file included
> from
> /sources/gcc-build/i686-tools-linux-uclibc/libstdc++-v3/include/iosfwd:46,
> from
> /sources/gcc-build/i686-tools-linux-uclibc/libstdc++-v3/include/bits/stl_al
>gobase.h:70, from
> /sources/gcc-build/i686-tools-linux-uclibc/libstdc++-v3/include/memory:54,
> from ../../../../gcc-3.4.3/libstdc++-v3/src/allocator.cc:35:
> /sources/gcc-build/i686-tools-linux-uclibc/libstdc++-v3/include/i686-tools-
>linux-uclibc/bits/c++locale.h: In function `int std::__convert_from_v(char*,
> int, const char*, _Tv, int* const&, int)':
> /sources/gcc-build/i686-tools-linux-uclibc/libstdc++-v3/include/i686-tools-
>linux-uclibc/bits/c++locale.h:103: error: `snprintf' is not a member of
> `std'
> make[3]: *** [allocator.lo] Error 1
> make[3]: Leaving directory
> `/sources/gcc-build/i686-tools-linux-uclibc/libstdc++-v3/src'
>
> I'm using three GCC patches for uClibc:
> 100-uclibc-conf.patch
> 200-uclibc-locale.patch
> 300-libstdc++-pic.patch
>
> Everything was fine when I did this a month ago, but there have been some
> changes since then. Can someone clue me in onto what's going on here?
>
> robert



More information about the uClibc mailing list