From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9107 invoked by alias); 27 Jun 2009 00:08:43 -0000 Received: (qmail 9100 invoked by uid 22791); 27 Jun 2009 00:08:43 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_50,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail03.syd.optusnet.com.au (HELO mail03.syd.optusnet.com.au) (211.29.132.184) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 27 Jun 2009 00:08:36 +0000 Received: from desktop2 ([203.202.164.190]) (authenticated sender sisyphus1) by mail03.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n5R08KT3004333; Sat, 27 Jun 2009 10:08:28 +1000 Message-ID: From: "Sisyphus" To: "Winderson Martins de Souza" , References: <1dbb5dd90906251156v6fec5ffbx749d7d0ce7914b07@mail.gmail.com> <1dbb5dd90906260632k41825ae6u4981f89348408728@mail.gmail.com> In-Reply-To: <1dbb5dd90906260632k41825ae6u4981f89348408728@mail.gmail.com> Subject: Re: undefined reference Date: Sat, 27 Jun 2009 01:20:00 -0000 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@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2009-06/txt/msg00998.txt.bz2 ----- 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