[Buildroot] uclibc compilation w/ locale not supported?
rafael2k
rafael at riseup.net
Mon May 21 13:35:55 UTC 2007
:
> >w/ this patch i got locale:
>
> You did set BR2_ENABLE_LOCALE, didn't you?
yes.
I discovered the problem.
without my patch to uclibc.mk[1], look at my uclibc .config and the
uclibc .config generated by buildroot:
-# UCLIBC_HAS_XLOCALE is not set
+UCLIBC_HAS_XLOCALE=y
this code cannot be correct, as I compiled the system without XLOCALE (w/ my
patch):
at uclibc.mk line 191:
ifeq ($(BR2_ENABLE_LOCALE),y)
$(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=y\nUCLIBC_PREGENERATE
D_LOCALE_DATA=y\nUCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=y\nUCLIBC_HAS_XLOCALE=
y\nUCLIBC_HAS_GLIBC_DIGIT_GROUPING=n\n,g' $(UCLIBC_DIR)/.config
else
$(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=n,g'
$(UCLIBC_DIR)/.c
onfig
endif
[1] - http://gnuden.sarava.org/Patch-uclibcmk/Diff
thanks for greeeat tool!
<= starting one more time a full port of slack w/ uclibc
--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Eng. da Computação @ Unicamp
Rádio Muda, radiolivre.org, TV Piolho, tvlivre.org, www.midiaindependente.org
Chave PGP: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x2FF86098
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20070521/32314487/attachment-0001.asc>
More information about the buildroot
mailing list