fix building with locales

Carmelo AMOROSO carmelo.amoroso at st.com
Wed Oct 8 15:58:49 UTC 2008


Bernhard Reutner-Fischer wrote:
> 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
> 
Hi Bernhard,
I'll try the path (not immediately anyway, too busy in other stuff),
but I don't have problem in compiling with locale (except for -j2).

I have some changes in my branch in Makefile regarding headers target,
that at this point are doing the difference. I'll check them too.

Carmelo



More information about the uClibc mailing list