[Buildroot] Need iconv(): fatal error: iconv.h: No such file or directory

Williams Jr., Ernest L. ernesto at slac.stanford.edu
Tue Jan 6 15:55:19 UTC 2015


________________________________________
From: Thomas Petazzoni [thomas.petazzoni at free-electrons.com]
Sent: Tuesday, January 6, 2015 7:46 AM
To: Williams Jr., Ernest L.
Cc: buildroot at busybox.net
Subject: Re: [Buildroot] Need iconv(): fatal error: iconv.h: No such file or directory

Dear Williams Jr., Ernest L.,

On Tue, 6 Jan 2015 15:39:47 +0000, Williams Jr., Ernest L. wrote:

> In this case my package/application is external to buildroot.
>
> I have set the following  in my  ".config"   using  make xconfig:
> BR2_TOOLCHAIN_BUILDROOT_LOCALE
>
> Like so,
> BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
>
> After typing make, I expect to see  "iconv.h"  in ${STAGING_DIR}/usr/include
> But it is not, there.  :(
>
> Must, I rebuild everything from scratch ?

Yes.

See http://buildroot.org/downloads/manual/manual.html#full-rebuild:

"""
When the toolchain configuration is changed, a complete rebuild
generally is needed. Changing the toolchain configuration often
involves changing the compiler version, the type of C library or its
configuration, or some other fundamental configuration item, and these
changes have an impact on the entire system.
"""


Okay, let the rebuild commence as I head to "Starbucks"  :)

Cheers,
Ernesto


Best regards,

Thomas Petazzoni
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list