Locale support

Ned Ludd solar at gentoo.org
Wed Aug 1 05:14:04 UTC 2007


Locales are an incomplete WIP that will probably never be finished.. For
now it's best to simply forget about them..



On Mon, 2007-06-18 at 15:30 +0200, Marcin Głogowski wrote:
> Hi,
> I must compile the uClibc library with locale support.
> When I enable the locale compiler says that:
> 
> CC libc/misc/locale/setlocale.os
> In file included from libc/misc/locale/locale.c:103,
>                  from libc/misc/locale/setlocale.c:8:
> ./include/bits/uClibc_locale.h:332:2: warning: #warning need thread
> version of CUR_LOCALE!
> In file included from libc/misc/locale/setlocale.c:8:
> libc/misc/locale/locale.c:179:2: #error locales enabled, but not data
> other than for C locale!
> In file included from libc/misc/locale/setlocale.c:8:
> libc/misc/locale/locale.c: In function `update_hr_locale':
> libc/misc/locale/locale.c:229: error: `__locale_mmap' undeclared (first
> use in this function)
> libc/misc/locale/locale.c:229: error: (Each undeclared identifier is
> reported only once
> libc/misc/locale/locale.c:229: error: for each function it appears in.)
> libc/misc/locale/locale.c:230: error: `__LOCALE_DATA_WIDTH_LOCALES'
> undeclared (first use in this function)
> make[1]: *** [libc/misc/locale/setlocale.os] Error 1
> 
> I tried to modify the source files by attaching the
> extra/locale/locale_data.c to libc/misc/locale/locale.c but it produced
> only much more errors.
> Is there any patch?
> Best regards,
> Marcin
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
> 




More information about the uClibc mailing list