fix building with locales

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Oct 8 15:49:03 UTC 2008


Hi,

Currently locales are broken when you have:

$ grep LOCALE .config
UCLIBC_HAS_LOCALE=y
UCLIBC_PREGENERATED_LOCALE_DATA=y (or =n)
UCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=y (or =n)
UCLIBC_HAS_XLOCALE=y (doesn't matter)

A couple of headers are not found, most notably uClibc_ctype.h, and
extra/locale/* falls apart in various funny ways.

In an attempt to cure this, i'm proposing something like the
attached patchlet (which is untested).

So i'm asking anybody who uses locale to try the attached patch and to
let me know if it builds fine now (with -j1; I'm pretty sure that -j
will not work yet, we can fix that later).

TIA,
Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uClibc.locale-stuff.00.patch
Type: text/x-diff
Size: 6393 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20081008/3193574a/attachment.bin 


More information about the uClibc mailing list