[uClibc]Build problems on "stable" 0.9.19

Manuel Novoa III mjn3 at codepoet.org
Wed Apr 9 13:11:46 UTC 2003


Hello,

On Wed, Apr 09, 2003 at 08:57:46AM +0200, Jarl Friis wrote:
> 3) Create a locales.txt file to select the locales you want to support.
>    You can copy and edit the LOCALES file for example.  Other locales could
>    added provided you've included the appropriate codesets in step 2.
>    NOTE: You have to have the approprite locales available for glibc!
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> And this for locales.txt (comments removed):
> 
> @euro e
> @cyrillic c
> UTF-8 yes
> 8-BIT yes
> da_DK ISO-8859-1
> da_DK.UTF-8 UTF-8
> fi_FI ISO-8859-1
> fi_FI.UTF-8 UTF-8
> fi_FI.UTF-8 at euro UTF-8
  ^^^^^^^^^^^^^^^^^^^^^^
> fi_FI at euro ISO-8859-15
> sv_FI ISO-8859-1
> sv_FI.UTF-8 UTF-8
> sv_FI.UTF-8 at euro UTF-8
  ^^^^^^^^^^^^^^^^^^^^^^
> sv_FI at euro ISO-8859-15
> sv_SE ISO-8859-1
> sv_SE.UTF-8 UTF-8


> @mapping: "@euro" to 'e'
> @mapping: "@cyrillic" to 'c'
> UTF-8 locales are enabled
> 8-BIT locales are enabled
> setlocale(LC_ALL,fi_FI.UTF-8 at euro) failed!
> setlocale(LC_ALL,sv_FI.UTF-8 at euro) failed!

> gen_collate.c:3228: warning: `print_starter_all_node' defined but not used
> grep COL_IDX_ locale_tables.h | sed -e "s/^.*COL_IDX_\([^, ]*\).*$/\1/" | sort | uniq | xargs ./gen_collate
> ignoring C locale
> Base:     iso14651_t1  1154 weights       0 der      0 reor      0 starter - 0 new stubs
> Warning: adding UNDEFINED entry for sv_SE
>  Der:           sv_SE    20 weights       5 der     15 reor      0 starter - 10 new stubs
> range pre = 1174  after = 22076
> iso14651_t1:   1139 invariant      15 varying       5 derived    1159 total   22076 max weight     940 wcs2
> NOT adding special derived for iso14651_t1
> Error: no UNDEFINED definition for sv_SE
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> make: *** [locale_collate.h] Error 123

So, you either need to generate fi_FI.UTF-8 at euro and sv_FI.UTF-8 at euro
locales for glibc first, or remove them from your locales.txt file.

Manuel


More information about the uClibc mailing list