Locale support

Marcin Głogowski m.glogowski at autoguard.pl
Mon Jun 18 13:30:02 UTC 2007


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



More information about the uClibc mailing list