Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15926.53978.570697.36716@honolulu.ilog.fr> Date: Tue, 28 Jan 2003 19:58:34 +0100 (CET) From: Bruno Haible To: EChiang AT unicacorp DOT com Cc: bug-gnu-gettext AT gnu DOT org Cc: cygwin AT cygwin DOT com Subject: Re: compilation errors In-Reply-To: References: Hi, EChiang AT unicacorp DOT com writes: > While compiling gettext (0.11.5) under windows 2000 with cygwin > (1.3.19.1), gcc (version 3.2 20020927), and GNU make (version 3.79.1), I > ran into the following error messages: > > ===================== > gcc -g -O2 -o .libs/msgcmp.exe msgcmp.o > .libs/libimp-cyggettextsrc-0-11-5.a .libs/libimp-cyggettextlib-0-11-5.a > .libs/libimp-cygintl-2.a .libs/libimp-cygiconv- > 2.a -Wl,--rpath -Wl,/usr/local/lib > fu000001.o(.idata$3+0xc): undefined reference to > `__libs_libimp_cyggettextsrc_0_11_5_a_iname' > fu000002.o(.idata$3+0xc): undefined reference to > `__libs_libimp_cyggettextsrc_0_11_5_a_iname' > fu000003.o(.idata$3+0xc): undefined reference to > `__libs_libimp_cyggettextsrc_0_11_5_a_iname' > fu000004.o(.idata$3+0xc): undefined reference to > `__libs_libimp_cyggettextsrc_0_11_5_a_iname' > fu000005.o(.idata$3+0xc): undefined reference to > `__libs_libimp_cyggettextsrc_0_11_5_a_iname' > fu000006.o(.idata$3+0xc): more undefined references to > `__libs_libimp_cyggettextsrc_0_11_5_a_iname' follow > nmth000000.o(.idata$4+0x0): undefined reference to > `__nm__gram_max_allowed_errors' > Info: resolving _gram_max_allowed_errors by linking to > __imp__gram_max_allowed_errors (auto-import) > collect2: ld returned 1 exit status > make[3]: *** [msgcmp.exe] Error 1 According to http://www.cygwin.com/ml/cygwin/2002-05/msg01222.html you need to use the CVS version of libtool, rather than libtool-1.4.[23], with which gettext 0.11.5 is shipped. As a workaround, you can compile gettext without support for shared libraries: configure --disable-shared --enable-static. Bruno -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/