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

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

problems building GNU gettext 0.18.1.1 on MinGW / MSYS


From: Erik Faye-Lund
Subject: problems building GNU gettext 0.18.1.1 on MinGW / MSYS
Date: Tue, 28 Sep 2010 01:52:37 +0200

I'm working on building gettext for the msysGit project, so we can
have a localized Git for Windows. I've tried to build GNU gettext the
following way:

$ ./configure --prefix=/mingw --enable-threads=win32
--enable-relocatable && make

The configure script completes (config.log attached), and make starts
running. After a while the build errors out with the following output:

/bin/sh ../libtool  --tag=CC   --mode=link gcc -std=gnu99  -g -O2 `:
/mingw/bin` -Wl,--disable-auto-import -o msgcmp.exe msgcmp-msgcmp.o
msgcmp-msgl-fsearch.o libgettextsrc.la   gettext.res
libtool: link: gcc -std=gnu99 -g -O2 -Wl,--disable-auto-import -o
.libs/msgcmp.exe msgcmp-msgcmp.o msgcmp-msgl-fsearch.o gettext.res
./.libs/libgettextsrc.a -L/mingw/lib
/src/gettext/gettext-0.18.1.1/gettext-tools/gnulib-lib/.libs/libgettextlib.a
/src/gettext/gettext-0.18.1.1/gettext-tools/intl/.libs/libintl.a
/mingw/lib/libiconv.dll.a -L/mingw/lib
msgcmp-msgcmp.o: In function `compare':
C:\msysgit\src\gettext\gettext-0.18.1.1\gettext-tools\src/msgcmp.c:478:
undefined reference to `_imp__po_charset_ascii'
msgcmp-msgcmp.o: In function `main':
C:\msysgit\src\gettext\gettext-0.18.1.1\gettext-tools\src/msgcmp.c:97:
undefined reference to `_imp__input_format_po'
C:\msysgit\src\gettext\gettext-0.18.1.1\gettext-tools\src/msgcmp.c:102:
undefined reference to `_imp__gram_max_allowed_errors'
C:\msysgit\src\gettext\gettext-0.18.1.1\gettext-tools\src/msgcmp.c:143:
undefined reference to `_imp__input_format_properties'
C:\msysgit\src\gettext\gettext-0.18.1.1\gettext-tools\src/msgcmp.c:151:
undefined reference to `_imp__input_format_stringtable'
./.libs/libgettextsrc.a(read-catalog.o): In function `read_catalog_stream':
C:\msysgit\src\gettext\gettext-0.18.1.1\gettext-tools\src/read-catalog.c:490:
undefined reference to `_imp__po_charset_utf8'
./.libs/libgettextsrc.a(read-catalog.o): In function `default_add_message':
C:\msysgit\src\gettext\gettext-0.18.1.1\gettext-tools\src/read-catalog.c:375:
undefined reference to `_imp__po_xerror2'
./.libs/libgettextsrc.a(read-catalog.o): In function `default_set_domain':
C:\msysgit\src\gettext\gettext-0.18.1.1\gettext-tools\src/read-catalog.c:331:
undefined reference to `_imp__gram_pos'
./.libs/libgettextsrc.a(po-lex.o): In function `mb_width':
C:\msysgit\src\gettext\gettext-0.18.1.1\gettext-tools\src/po-lex.c:267:
undefined reference to `_imp__po_lex_iconv'
C:\msysgit\src\gettext\gettext-0.18.1.1\gettext-tools\src/po-lex.c:267:
undefined reference to `_imp__po_lex_charset'
./.libs/libgettextsrc.a(po-lex.o): In function `po_gram_error_at_line':
<etc>

The error occurs in gettext-0.18.1.1/gettext-tools/src

gettext-0.18.1.1/gettext-tools/src/.libs/libgettextsrc.a contains
_po_charset_ascii, but not __imp__po_charset_ascii:

$ nm ./.libs/libgettextsrc.a | grep po_charset_ascii
00000000 D _po_charset_ascii
000004f8 T _po_charset_ascii_compatible
         U __imp__po_charset_ascii
         U __imp__po_charset_ascii
         U __imp__po_charset_ascii
         U _po_charset_ascii_compatible

Any clues on what to try next?

Attachment: config.log
Description: Binary data


reply via email to

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