public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jerome Pinot <ngc891@gmail.com>
To: Adrian Bunk <bunk@stusta.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [KCONFIG] Can't compile 2.6.12 without Gettext
Date: Sun, 28 Aug 2005 00:23:38 +0900	[thread overview]
Message-ID: <88ee31b7050827082345a393bd@mail.gmail.com> (raw)
In-Reply-To: <20050827124751.GK6471@stusta.de>

On 8/27/05, Adrian Bunk <bunk@stusta.de> wrote:
[...]
> are you using an ftp.kernel.org 2.6.12 kernel or a vendor kernel?

That's a vanilla 2.6.12.5 from kernel.org
For obvious reasons, I only do bugreports on lkml for vanilla kernel.

> If it's an ftp.kernel.org kernel, please send the exact error messages
> you are seeing.
[...]

---- snip ----
ngc891@comet:/usr/src/linux-2.6.12.5$ make V=1 menuconfig
make -f scripts/Makefile.build obj=scripts/basic
  gcc -Wp,-MD,scripts/basic/.fixdep.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer        -o scripts/basic/fixdep
scripts/basic/fixdep.c
  gcc -Wp,-MD,scripts/basic/.split-include.d -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer        -o scripts/basic/split-include
scripts/basic/split-include.c
  gcc -Wp,-MD,scripts/basic/.docproc.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer        -o scripts/basic/docproc
scripts/basic/docproc.c
if test ! /usr/src/linux-2.6.12.5 -ef /usr/src/linux-2.6.12.5; then \
/bin/sh /usr/src/linux-2.6.12.5/scripts/mkmakefile              \
    /usr/src/linux-2.6.12.5 /usr/src/linux-2.6.12.5 2 6         \
    > /usr/src/linux-2.6.12.5/Makefile;                                 \
    echo '  GEN    /usr/src/linux-2.6.12.5/Makefile';                   \
fi
make -f scripts/Makefile.build obj=scripts/kconfig menuconfig
  cat scripts/kconfig/zconf.tab.h_shipped > scripts/kconfig/zconf.tab.h
  gcc -Wp,-MD,scripts/kconfig/.conf.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer       -c -o scripts/kconfig/conf.o
scripts/kconfig/conf.c
In file included from scripts/kconfig/conf.c:14:
scripts/kconfig/lkc.h:11:21: libintl.h: No such file or directory
scripts/kconfig/conf.c: In function `check_stdin':
scripts/kconfig/conf.c:59: warning: implicit declaration of function `gettext'
make[1]: *** [scripts/kconfig/conf.o] Error 1
make: *** [menuconfig] Error 2
---- 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.

So I just wonder what Roman Zippel think about this.

Regards,

-- 
Jerome Pinot
ftp://ngc891.blogdns.net/pub

  reply	other threads:[~2005-08-27 15:23 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 [this message]
2005-08-27 17:49     ` Adrian Bunk
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=88ee31b7050827082345a393bd@mail.gmail.com \
    --to=ngc891@gmail.com \
    --cc=bunk@stusta.de \
    --cc=linux-kernel@vger.kernel.org \
    /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