delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/26/20:08:55

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: <BA6A3DC000B248E79A9CDA3096084CFF@desktop2>
From: "Sisyphus" <sisyphus1 AT optusnet DOT com DOT au>
To: "Winderson Martins de Souza" <bugman DOT os AT ig DOT com DOT br>, <cygwin AT cygwin DOT com>
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
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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" <bugman DOT os AT ig DOT com DOT br>
To: <cygwin AT cygwin DOT com>; <cygwin-sc AT cygwin DOT com>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019