[uClibc] buildroot locale support doesn't compile

Manuel Novoa III mjn3 at codepoet.org
Wed Feb 25 16:29:23 UTC 2004


On Wed, Feb 25, 2004 at 05:43:28PM +0800, Selwyn Tang wrote:
> The current cvs buildroot with locale enabled doesn't compile. Here are
> the details (settings changed from cvs version):
> 
>   top level Makefile:
>     ARCH:=i386
>     USE_UCLIBC_SNAPSHOT:=false
>     ENABLE_LOCALE:=true
>     TARGETS+=linux (which is a custom 2.4.25-epia1 kernel)
>     TARGETS+=zlib openssl openssh
> 
>   sources/busybox.config
>     CONFIG_LOCALE_SUPPORT=y
> 
> The problem is when compiling collate_members.lo in
> toolchain_build_i386/gcc-3.3-final/i386-linux-uclibc/libstdc++-v3/src,
> it fails with 'wcsftime_l' not defined in the scope of
> c++locale_internal.h. See the attached log for the exact error.

I added stub wcsftime/wcsftime_l stub code right after the 0.9.26
release.  Currently it always fails.  I had planned to implement
them this month but got sidetracked on other projects.

http://uclibc.org/cgi-bin/cvsweb/uClibc/libc/misc/time/time.c?r1=1.19&r2=1.20
http://uclibc.org/cgi-bin/cvsweb/uClibc/include/wchar.h?r1=1.5&r2=1.6

The above 2 changes should be all that's necessary to get things
building.

> Is it related to uClibc 0.9.26? I will try the snapshot anyway. And how
> about the locale support in busybox?

Locale support in busybox is limited.  Also, I'll be reworking uClibc
locale support in March.

Manuel



More information about the uClibc mailing list