From: Adrian Bunk <bunk@stusta.de>
To: Jerome Pinot <ngc891@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [KCONFIG] Can't compile 2.6.12 without Gettext
Date: Sat, 27 Aug 2005 19:49:34 +0200 [thread overview]
Message-ID: <20050827174934.GL6471@stusta.de> (raw)
In-Reply-To: <88ee31b7050827082345a393bd@mail.gmail.com>
On Sun, Aug 28, 2005 at 12:23:38AM +0900, Jerome Pinot wrote:
>...
> ---- snip ----
>...
> In file included from scripts/kconfig/conf.c:14:
> scripts/kconfig/lkc.h:11:21: libintl.h: No such file or directory
>...
> ---- snip ----
>
> Actually, adding libintl.h in /usr/include didn't solve the issue in
> my case. My gettext implementation is not exactly complete. Anyway the
> script shouldn't failed at this step.
>
> Segher Boessenkool, who had the same problem, sent me a way to compile
> the kernel by modifying a bit the lkc.h and mconf.c files. I suggested
> him to send this to lkml too.
>
> The fix to do is really small but it needs to define a policy about
> how kconfig should decide about using gettext or not. It could use a
> configure script or a parameter from command line to choose whether or
> not to look for a gettext implementation (something like "make NLS=0
> menuconfig" maybe). This should be define prior to any patch attempt.
>...
You said "full gettext" was required and that the presence of "gettext
binaries" should be checked what surprised me. It seems this is not the
problem. Under Linux, libintl.h is not shipped with gettext but with the
C library if you are using glibc or dietlibc.
I do not question your point that "uClibc is widely used", but it's
widely used to _run_ a Linux kernel.
You said you are "thinking about small or embedded system with specific
toolchain". If a system is so limited that you run uClibc on it, is this
really the right system to _compile_ a kernel on? Where's the problem
with cross-compiling the kernel for such a system?
> Regards,
> Jerome Pinot
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next prev parent reply other threads:[~2005-08-27 17:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-25 4:30 [KCONFIG] Can't compile 2.6.12 without Gettext Jerome Pinot
2005-08-27 12:47 ` Adrian Bunk
2005-08-27 15:23 ` Jerome Pinot
2005-08-27 17:49 ` Adrian Bunk [this message]
2005-08-28 1:19 ` Jerome Pinot
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=20050827174934.GL6471@stusta.de \
--to=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
--cc=ngc891@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox