From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Need iconv(): fatal error: iconv.h: No such file or directory
Date: Tue, 6 Jan 2015 09:28:36 +0100 [thread overview]
Message-ID: <20150106092836.134b13fb@free-electrons.com> (raw)
In-Reply-To: <3f160793d89243dd860bee8dd5e7acc4@exch13-mail05.win.slac.stanford.edu>
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
next prev parent reply other threads:[~2015-01-06 8:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-06 6:17 [Buildroot] Need iconv(): fatal error: iconv.h: No such file or directory Williams
2015-01-06 8:28 ` Thomas Petazzoni [this message]
2015-01-06 15:39 ` Williams
2015-01-06 15:46 ` Thomas Petazzoni
2015-01-06 15:55 ` Williams
2015-01-06 16:05 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150106092836.134b13fb@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.