[lkml]   [2005]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [KCONFIG] Can't compile 2.6.12 without Gettext
On 8/27/05, Adrian Bunk <> wrote:
> are you using an 2.6.12 kernel or a vendor kernel?

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

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

---- snip ----
ngc891@comet:/usr/src/linux-$ make V=1 menuconfig
make -f scripts/ obj=scripts/basic
gcc -Wp,-MD,scripts/basic/.fixdep.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -o scripts/basic/fixdep
gcc -Wp,-MD,scripts/basic/.split-include.d -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -o scripts/basic/split-include
gcc -Wp,-MD,scripts/basic/.docproc.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -o scripts/basic/docproc
if test ! /usr/src/linux- -ef /usr/src/linux-; then \
/bin/sh /usr/src/linux- \
/usr/src/linux- /usr/src/linux- 2 6 \
> /usr/src/linux-; \
echo ' GEN /usr/src/linux-'; \
make -f scripts/ obj=scripts/kconfig menuconfig
cat scripts/kconfig/ > scripts/kconfig/
gcc -Wp,-MD,scripts/kconfig/.conf.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -c -o scripts/kconfig/conf.o
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.


Jerome Pinot
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-08-27 17:32    [W:0.035 / U:0.392 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site