public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] Problem with libintl.h
@ 2005-10-23 13:05 Carsten Salveter
  2005-10-24 12:31 ` Natanael Copa
  2005-10-24 14:41 ` Thierry Carrez
  0 siblings, 2 replies; 5+ messages in thread
From: Carsten Salveter @ 2005-10-23 13:05 UTC (permalink / raw
  To: gentoo-embedded

Hello!

I tried to build a small linuxsystem for my SBC with the howto from 
Heath Holcomb. But I've a problem to build the kernel. Make config oder 
make menuconfig doesn't work. The includefile "libintl.h" is missing. 
Has someone any ideas what can I do to solve the problem?

regards
Carsten


Here is my error output.

skipper linux # make menuconfig
   HOSTCC  scripts/basic/fixdep
   HOSTCC  scripts/basic/split-include
   HOSTCC  scripts/basic/docproc
   SHIPPED scripts/kconfig/zconf.tab.h
   HOSTCC  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'
scripts/kconfig/conf.c:59: warning: passing arg 1 of `printf' makes 
pointer from integer without a cast
scripts/kconfig/conf.c:60: warning: passing arg 1 of `printf' makes 
pointer from integer without a cast
scripts/kconfig/conf.c:61: warning: passing arg 1 of `printf' makes 
pointer from integer without a cast

-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-embedded] Problem with libintl.h
  2005-10-23 13:05 [gentoo-embedded] Problem with libintl.h Carsten Salveter
@ 2005-10-24 12:31 ` Natanael Copa
  2005-10-24 14:41 ` Thierry Carrez
  1 sibling, 0 replies; 5+ messages in thread
From: Natanael Copa @ 2005-10-24 12:31 UTC (permalink / raw
  To: gentoo-embedded

On søn, 2005-10-23 at 15:05 +0200, Carsten Salveter wrote:
> Hello!
> 
> I tried to build a small linuxsystem for my SBC with the howto from 
> Heath Holcomb. But I've a problem to build the kernel. Make config oder 
> make menuconfig doesn't work. The includefile "libintl.h" is missing. 
> Has someone any ideas what can I do to solve the problem?

Try something like this:

--- linux-2.6.13-gentoo-r3.orig/scripts/kconfig/lkc.h   2005-10-10 11:53:03 +0000
+++ linux-2.6.13-gentoo-r3/scripts/kconfig/lkc.h        2005-10-10 11:54:10 +0000
@@ -8,7 +8,7 @@

 #include "expr.h"

-#include <libintl.h>
+//#include <libintl.h>

 #ifdef __cplusplus
 extern "C" {
@@ -28,7 +28,7 @@
 #define PACKAGE "linux"
 #define LOCALEDIR "/usr/share/locale"

-#define _(text) gettext(text)
+#define _(text) (text)
 #define N_(text) (text)

 int zconfparse(void);


--
Natanael Copa


-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-embedded] Problem with libintl.h
  2005-10-23 13:05 [gentoo-embedded] Problem with libintl.h Carsten Salveter
  2005-10-24 12:31 ` Natanael Copa
@ 2005-10-24 14:41 ` Thierry Carrez
  2005-10-25  0:43   ` Kumba
  1 sibling, 1 reply; 5+ messages in thread
From: Thierry Carrez @ 2005-10-24 14:41 UTC (permalink / raw
  To: gentoo-embedded

Carsten Salveter wrote:

> I tried to build a small linuxsystem for my SBC with the howto from
> Heath Holcomb. But I've a problem to build the kernel. Make config oder
> make menuconfig doesn't work. The includefile "libintl.h" is missing.
> Has someone any ideas what can I do to solve the problem?

This is bug 99810 [1].
It's blocking the build of >=2.6.12 kernels with the uclibc profiles...

[1] https://bugs.gentoo.org/show_bug.cgi?id=99810

-- 
Koon
-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-embedded] Problem with libintl.h
  2005-10-24 14:41 ` Thierry Carrez
@ 2005-10-25  0:43   ` Kumba
  2005-10-27 20:08     ` Carsten Salveter
  0 siblings, 1 reply; 5+ messages in thread
From: Kumba @ 2005-10-25  0:43 UTC (permalink / raw
  To: gentoo-embedded

Thierry Carrez wrote:
> Carsten Salveter wrote:
> 
> 
>>I tried to build a small linuxsystem for my SBC with the howto from
>>Heath Holcomb. But I've a problem to build the kernel. Make config oder
>>make menuconfig doesn't work. The includefile "libintl.h" is missing.
>>Has someone any ideas what can I do to solve the problem?
> 
> 
> This is bug 99810 [1].
> It's blocking the build of >=2.6.12 kernels with the uclibc profiles...
> 
> [1] https://bugs.gentoo.org/show_bug.cgi?id=99810

I just attached two patches used in mips-sources that address this.  They're 
more proper than the ones already attached, as they're reversals of the actual 
upstream patch that caused all of this.


--Kumba

-- 
Gentoo/MIPS Team Lead
Gentoo Foundation Board of Trustees

"Such is oft the course of deeds that move the wheels of the world: small hands 
do them because they must, while the eyes of the great are elsewhere."  --Elrond
-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-embedded] Problem with libintl.h
  2005-10-25  0:43   ` Kumba
@ 2005-10-27 20:08     ` Carsten Salveter
  0 siblings, 0 replies; 5+ messages in thread
From: Carsten Salveter @ 2005-10-27 20:08 UTC (permalink / raw
  To: gentoo-embedded

Thanks for help!
Now it's working.

Carsten

-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-10-27 20:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-23 13:05 [gentoo-embedded] Problem with libintl.h Carsten Salveter
2005-10-24 12:31 ` Natanael Copa
2005-10-24 14:41 ` Thierry Carrez
2005-10-25  0:43   ` Kumba
2005-10-27 20:08     ` Carsten Salveter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox