X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_50,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: From: "Sisyphus" To: "Winderson Martins de Souza" , References: <1dbb5dd90906251156v6fec5ffbx749d7d0ce7914b07 AT mail DOT gmail DOT com> <1dbb5dd90906260632k41825ae6u4981f89348408728 AT mail DOT gmail DOT com> In-Reply-To: <1dbb5dd90906260632k41825ae6u4981f89348408728@mail.gmail.com> Subject: Re: undefined reference Date: Sat, 27 Jun 2009 10:07:20 +1000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 ----- Original Message ----- From: "Winderson Martins de Souza" To: ; Sent: Friday, June 26, 2009 11:32 PM Subject: Fwd: undefined reference > 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 [snip] > msgcat-c++msgcat.o:c++msgcat.cc:(.text+0x701): undefined reference to > `__imp__color_test_mode' The '__imp' prefix signifies a shared library - so, if (as I suspect) this symbol is supposed to be resolved by the gettext library, then the message that you've got a *static* library hasn't "got through". It may, in fact, be simpler to build a shared library. What 'undefined reference' did you strike when you tried that ? Cheers, Rob -- 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