[Buildroot] Need iconv(): fatal error: iconv.h: No such file or directory
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Jan 6 08:28:36 UTC 2015
Dear Williams Jr., Ernest L.,
On Tue, 6 Jan 2015 06:17:26 +0000, Williams Jr., Ernest L. wrote:
> I am working with a package that needs iconv()
>
> How can I get this in buildroot?
>
> Here is my error:
> fatal error: iconv.h: No such file or directory
iconv is either provided by your toolchain (if it has locale support),
or by libiconv. So, your package should do in its Config.in file:
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
and in the .mk file:
ifeq ($(BR2_PACKAGE_LIBICONV),y)
<pkg>_DEPENDENCIES += libiconv
endif
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list