bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make fails in intl when trying to cross-compile for mingw32


From: Bruno Haible
Subject: Re: make fails in intl when trying to cross-compile for mingw32
Date: Wed, 24 Oct 2007 00:42:43 +0200
User-agent: KMail/1.5.4

Hello,

David Bruce wrote:
> I'm trying to add i18n support to a linux-based project that I also 
> crossbuild 
> for Windows using the mingw32 cross-tools in Debian.  I ran gettextize --intl 
> (v. 0.16.1) to add the intl dir to the project.  When I try to build for 
> Windows, make fails in intl as follows:
> 
> 
> Making all in intl
> make[2]: Entering directory `/home/dbruce/tux4kids/tuxmath/trunk/intl'
> i586-mingw32msvc-gcc -c 
> -DLOCALEDIR=\"/usr/local/cross-tools/i586-mingw32msvc/share/locale\" 
> -DLOCALE_ALIAS_PATH=\"/usr/local/cross-tools/i586-mingw32msvc/share/locale\" 
> -DLIBDIR=\"/usr/local/cross-tools/i586-mingw32msvc/lib\" -DBUILDING_LIBINTL 
> -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY 
> -DINSTALLDIR=\"/usr/local/cross-tools/i586-mingw32msvc/lib\" -DNO_XMALLOC 
> -Dset_relocation_prefix=libintl_set_relocation_prefix 
> -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. 
> -I.. -I/usr/local/cross-tools/i586-mingw32msvc/include -idirafter 
> /usr/local/cross-tools/i586-mingw32msvc/include/glibc -g -O2 
> -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__GW32__ 
> -fvisibility=hidden  
> localename.c
> localename.c: In function ‘_nl_locale_name_default’:
> localename.c:1145: error: duplicate case value
> localename.c:1144: error: previously used here
> localename.c:1359: error: duplicate case value
> localename.c:1358: error: previously used here
> localename.c:1367: error: duplicate case value
> localename.c:1366: error: previously used here
> make[2]: *** [localename.o] Error 1
> make[2]: Leaving directory `/home/dbruce/tux4kids/tuxmath/trunk/intl'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/dbruce/tux4kids/tuxmath/trunk'
> make: *** [all] Error 2

Thanks for reporting this. You can use the patch from [1].

Bruno


[1] http://lists.gnu.org/archive/html/bug-texinfo/2006-12/msg00023.html





reply via email to

[Prev in Thread] Current Thread [Next in Thread]