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

Sebastian Huber sebastian.huber at
Mon Aug 12 07:24:45 UTC 2013


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.


"$source_dir/configure" \
	--enable-newlib-iconv \
	--enable-newlib-iconv-encodings=$iconv_encodings \

On 2013-08-12 03:33, ruizx wrote:
> Hi all,
> I want RTEMS dos file system  support Chinese language,
> the git resposity code now is supporting UTF-8, I apply the newest patchs.
> But when I compling the application,
> the error"msdos_conv_utf8.c:(.text+0x3c0): undefined reference to `iconv'" appeared.
> The commit message write "Iconv support must be activated during the build of the tool chain for these conversion methods".
> Is that means I should rebuild my cross compiler?
> My cross comipler configuration is the above:
> [ruizx at localhost hello]$ powerpc-rtems4.10-gcc -v
> Configured with: ../gcc-4.4.7/configure --prefix=/opt/rtems-4.10 --bindir=/opt/rtems-4.10/bin --exec_prefix=/opt/rtems-4.10 --includedir=/opt/rtems-4.10/include --libdir=/opt/rtems-4.10/lib --libexecdir=/opt/rtems-4.10/libexec --mandir=/opt/rtems-4.10/share/man --infodir=/opt/rtems-4.10/share/info --datadir=/opt/rtems-4.10/share --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=powerpc-rtems4.10 --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --verbose --with-newlib --with-system-zlib --disable-nls --without-included-gettext --disable-win32-registry --enable-version-specific-runtime-libs --enable-threads --disable-lto --disable-plugin --enable-newlib-io-c99-formats --enable-languages=c,c++
> Thanks & Best regards,
> Rui Zhengxin
> _______________________________________________
> rtems-users mailing list
> rtems-users at

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
PGP     : Public key available on request.

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

More information about the users mailing list