X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_73,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <1dbb5dd90906251156v6fec5ffbx749d7d0ce7914b07@mail.gmail.com> References: <1dbb5dd90906251156v6fec5ffbx749d7d0ce7914b07 AT mail DOT gmail DOT com> Date: Fri, 26 Jun 2009 08:32:20 -0500 Message-ID: <1dbb5dd90906260632k41825ae6u4981f89348408728@mail.gmail.com> Subject: Fwd: undefined reference From: Winderson Martins de Souza To: cygwin AT cygwin DOT com, cygwin-sc AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Hello, I'm trying to compile gettext on cygwin, but I'm getting an undefined reference error, could anyone help?? I'm running configure without shared library, as with it I was getting another undefined error, then I'm stuck here rts/branches/cygwin-1.5/devel/gettext/gettext-0.17-2/build/gettext-tools/in= tl/.libs/libintl.dll.a /usr/lib/libiconv .dll.a g++ -DLOCALEDIR=3D\"/usr/share/locale\" -DBISON_LOCALEDIR=3D\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=3D\"/usr/shar e/locale:/usr/local/share/locale:/usr/share/X11/locale\" -DUSEJEXE=3D0 -DGETTEXTJEXEDIR=3D\"/usr/lib/gettext\" -DGETTEX TJAR=3D\"/usr/share/gettext/gettext.jar\" -DLIBDIR=3D\"/usr/lib\" -DGETTEXTDATADIR=3D\"/usr/share/gettext\" -DPROJECTSDIR =3D\"/usr/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I/home/Winmat/cygwin-ports/ports/branches/cygwin-1.5/devel/ge ttext/gettext-0.17-2/src/gettext-0.17/gettext-tools/src -I.. =A0-I. -I/home/Winmat/cygwin-ports/ports/branches/cygwin -1.5/devel/gettext/gettext-0.17-2/src/gettext-0.17/gettext-tools/src -I.. -I/home/Winmat/cygwin-ports/ports/branche s/cygwin-1.5/devel/gettext/gettext-0.17-2/src/gettext-0.17/gettext-tools -I/home/Winmat/cygwin-ports/ports/branches /cygwin-1.5/devel/gettext/gettext-0.17-2/src/gettext-0.17/gettext-tools/lib= grep -I../gnulib-lib -I/home/Winmat/cygw in-ports/ports/branches/cygwin-1.5/devel/gettext/gettext-0.17-2/src/gettext= -0.17/gettext-tools/gnulib-lib -I../intl =A0-I/home/Winmat/cygwin-ports/ports/branches/cygwin-1.5/devel/gettext/gett= ext-0.17-2/src/gettext-0.17/gettext-tools/ ../gettext-runtime/intl -DINSTALLDIR=3D\"/usr/bin\" -D__STDC_LIMIT_MACROS -O2 -pipe =A0-c -o msgcat-c++msgcat.o `test -f '../woe32dll/c++msgcat.cc' || echo '/home/Winmat/cygwin-ports/ports/branches/cygwin-1.5/devel/gettext/gettext-= 0. 17-2/src/gettext-0.17/gettext-tools/src/'`../woe32dll/c++msgcat.cc /bin/sh ../libtool --tag=3DCXX =A0 --mode=3Dlink g++ -D__STDC_LIMIT_MACROS -O2 -pipe =A0 -Wl,--disable-auto-import -o msgca t.exe msgcat-c++msgcat.o libgettextsrc.la =A0gettext.res libtool: ignoring unknown tag CXX libtool: link: g++ -D__STDC_LIMIT_MACROS -O2 -pipe -Wl,--disable-auto-import -o .libs/msgcat.exe msgcat-c++msgcat.o =A0gettext.res =A0./.libs/libgettextsrc.a -L/usr/lib /home/Winmat/cygwin-ports/ports/branches/cygwin-1.5/devel/gettext/ gettext-0.17-2/build/gettext-tools/gnulib-lib/.libs/libgettextlib.a -lncurses /home/Winmat/cygwin-ports/ports/branc hes/cygwin-1.5/devel/gettext/gettext-0.17-2/build/gettext-tools/intl/.libs/= libintl.dll.a /usr/lib/libiconv.dll.a msgcat-c++msgcat.o:c++msgcat.cc:(.text+0x701): undefined reference to `__imp__color_test_mode' collect2: ld returned 1 exit status make[4]: *** [msgcat.exe] Error 1 make[4]: Leaving directory `/home/Winmat/cygwin-ports/ports/branches/cygwin-1.5/devel/gettext/gettext-= 0.17-2/build/ gettext-tools/src' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/Winmat/cygwin-ports/ports/branches/cygwin-1.5/devel/gettext/gettext-= 0.17-2/build/ gettext-tools/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/Winmat/cygwin-ports/ports/branches/cygwin-1.5/devel/gettext/gettext-= 0.17-2/build/ gettext-tools' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/Winmat/cygwin-ports/ports/branches/cygwin-1.5/devel/gettext/gettext-= 0.17-2/build/ gettext-tools' make: *** [all-recursive] Error 1 *** ERROR: make failed -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple