Sorry, wrong patch! This is the one I use to build busybox in cygwin.

diff -rup busybox-orig/scripts/kconfig/Makefile 
busybox/scripts/kconfig/Makefile
--- busybox-orig/scripts/kconfig/Makefile 2007-06-16 02:42:59.562500000 
+0100
+++ busybox/scripts/kconfig/Makefile 2007-06-16 02:43:41.562500000 +0100
@@ -136,6 +136,11 @@ HOSTCXXFLAGS_qconf.o = $(KC_QT_CFLAGS) -
 HOSTLOADLIBES_gconf = `pkg-config --libs gtk+-2.0 gmodule-2.0 libglade-2.0`
 HOSTCFLAGS_gconf.o = `pkg-config --cflags gtk+-2.0 gmodule-2.0 
libglade-2.0` \
                           -D LKC_DIRECT_LINK
+HOST_OS := $(shell uname -o)
+ifeq ($(HOST_OS),Cygwin)
+HOSTLOADLIBES_mconf = -lintl
+HOSTLOADLIBES_conf = -lintl
+endif

 $(obj)/qconf.o: $(obj)/.tmp_qtcheck

>I use this patch to build 2.6.14 in cygwin. I'm not sure what kernel you're
> building but you could probably adapt the patch to suit.
>
> diff -rup linux-2.6.14-orig/scripts/kconfig/Makefile
> linux-2.6.14/scripts/kconfig/Makefile
> --- linux-2.6.14-orig/scripts/kconfig/Makefile 2005-10-28 
> 01:02:08.000000000
> +0100
> +++ linux-2.6.14/scripts/kconfig/Makefile 2007-06-21 15:25:05.281250000
> +0100
> @@ -127,6 +127,12 @@ HOSTLOADLIBES_gconf = `pkg-config gtk+-2
> HOSTCFLAGS_gconf.o = `pkg-config gtk+-2.0 gmodule-2.0
> libglade-2.0 --cflags` \
>                           -D LKC_DIRECT_LINK
>
> +HOST_OS := $(shell uname -o)
> +ifeq ($(HOST_OS),Cygwin)
> +HOSTLOADLIBES_mconf = -lintl
> +HOSTLOADLIBES_conf = -lintl
> +endif
> +
> $(obj)/conf.o $(obj)/mconf.o $(obj)/qconf.o $(obj)/gconf.o
> $(obj)/kxgettext: $(obj)/zconf.tab.h
>
> $(obj)/zconf.tab.h: $(src)/zconf.tab.h_shipped
>
>
>
>> On Wednesday 04 July 2007 10:30:57 hamid khateb wrote:
>>> libintl_gettext
>>
>> Maybe google for libintl_gettext ;-) ?
>> The search yields 10 pages of results....
>> This one of the first.
>>
>> Your linker can't find the symbols in gettext's library - make sure 
>> you're
>> linking to it with the proper -l options. Read the info pages for info :)
>>
>> $ info gettext
>>
>> $ gcc -o main main.c -lintl
>>
>> So maybe adding -lintl could help....
>>
>> Ciao,
>> Tito
>> _______________________________________________
>> busybox mailing list
>> [email protected]
>> http://busybox.net/cgi-bin/mailman/listinfo/busybox
>>
>
> _______________________________________________
> busybox mailing list
> [email protected]
> http://busybox.net/cgi-bin/mailman/listinfo/busybox
> 

_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to