msdos_conv_utf8.c:(.text+0x3c0): undefined reference to `iconv'

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Aug 14 06:04:20 UTC 2013


On 2013-08-14 07:28, ruizx wrote:
> On Monday, August 12, 2013 3:24 PM Sebastian Huber wrote:
>
>> Hello,
>>
>> the UTF-8 support is only available for the latest Git master.  On
>> RTEMS 4.10
>> it is not available.
>>
>> In Newlib you have to enable the specific language support, e.g.
>>
>> iconv_encodings=big5,cp775,cp850,cp852,cp855,\
>> cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
>> iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
>> iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
>> iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
>> ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
>> utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
>> win_1253,win_1254,win_1255,win_1256,win_1257,win_1258
>>
>> "$source_dir/configure" \
>> [...]
>> --enable-newlib-iconv \
>> --enable-newlib-iconv-encodings=$iconv_encodings \
>
> Is this options of newlib building?

It is for the GCC configure which will pass it to the Newlib configure.

> Or in other word, I need to rebuild powerpc-rtems4.10-gcc with the rebuilded newlib?
>

As I said already, the UTF-8 support is not available in RTEMS 4.10.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list