problem to build busybox in cygwin

Fearnside Systems kevin.morfitt at fearnsidesystems.co.uk
Wed Jul 4 09:17:16 UTC 2007


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
> busybox at busybox.net
> http://busybox.net/cgi-bin/mailman/listinfo/busybox
> 




More information about the busybox mailing list