[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Build fails for linux-x-mingw32
From: |
J. Ali Harlow |
Subject: |
Build fails for linux-x-mingw32 |
Date: |
Tue, 9 Mar 2004 14:47:25 +0000 |
Hi,
When attempting to build version 0.14.1 of gettext with a
linux-x-mingw32 cross-compiler,
it fails with the following error:
/bin/sh ../libtool --mode=link mingw32-gcc -no-undefined -o
msgcmp.exe msgcmp-msgcmp.o libgettextsrc.la mingw32-gcc -o
.libs/msgcmp.exe msgcmp-msgcmp.o ./.libs/libgettextsrc.dll.a
/files0/home/avrc/external/gettext/build/mingw32/gettext-tools/lib/.libs/libgettextlib.dll.a
-L/home/support/vers/libiconv/mingw32/lib
/files0/home/avrc/external/gettext/build/mingw32/gettext-tools/intl/.libs/libintl.dll.a
/home/support/vers/libiconv/mingw32/lib/libiconv-2.dll -Wl,--rpath
-Wl,/home/support/vers/gettext/mingw32/lib -Wl,--rpath
-Wl,/home/support/vers/libiconv/mingw32/lib
/usr/local/cross-tools/lib/gcc-lib/mingw32/3.3.1/../../../../mingw32/lib/libmingwex.a(getopt.o)(.text+0x90d):getopt.c:
multiple definition of `getopt_long'
/files0/home/avrc/external/gettext/build/mingw32/gettext-tools/lib/.libs/libgettextlib.dll.a(d000073.o)(.text+0x0):
first defined here
Info: resolving _error_print_progname by linking to
__imp__error_print_progname (auto-import)
Info: resolving _gram_max_allowed_errors by linking to
__imp__gram_max_allowed_errors (auto-import)
Info: resolving _input_syntax by linking to __imp__input_syntax
(auto-import)
Info: resolving _program_name by linking to __imp__program_name
(auto-import)
Info: resolving _error_with_progname by linking to
__imp__error_with_progname (auto-import)
Info: resolving _error_message_count by linking to
__imp__error_message_count (auto-import)
make[4]: *** [msgcmp.exe] Error 1
Configuration:
gettext version 0.14.1
libiconv version 1.9.2
binutils version redhat-2.11.90.0.8-9
gcc version redhat-2.96-98
glibc version redhat-2.2.4-19.3
mingw32-binutils version 2.14.90-20030807-1
mingw32-gcc version 3.3.1-20030804-1
mingw32-runtime version 3.0
mingw32-w32api version 2.3
pkg-config version 0.15.0
The attached patch fixes all the issues I have found.
Let me know if there is any further information I can give you.
Cheers,
Ali.
gettext-0.14.1-mingw32.patch
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Build fails for linux-x-mingw32,
J. Ali Harlow <=