Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3E5268FB.3040608@rfk.com>
Date: Tue, 18 Feb 2003 12:10:19 -0500
From: "Larry Hall (RFK Partners, Inc.)" <lhall@rfk.com>
Reply-To: lhall@rfk.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Reimann, Peter" <Peter.Reimann@deu.xerox.com>, cygwin@cygwin.com
Subject: Re: AW: g++ and "undefined reference to `libintl_gettext'"
References: <31C3BDC47886D511916D00508B2C391FDF7B1C@deuhbsms02.hbs.deu.xerox.com>
In-Reply-To: <31C3BDC47886D511916D00508B2C391FDF7B1C@deuhbsms02.hbs.deu.xerox.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Reimann, Peter wrote:
> Sorry. Here is the command line:
> 
> g++     -static -mno-cygwin -o docucalc.exe DCMessage.o DCMessageItemList.o
> DCInputMessage.o DCOutputMessage.o DCModel.o DCCalculator.o DCPa
> rameterRules.o  docucalc.o DCError.o DCErrorMessage.o DCCLIInterface.o
> DCModelTool.o DCCPModel.o DCExternArticleList.o
> 
> DCError.o(.text+0x25d8):DCError.cc: undefined reference to `libintl_gettext'
> 
> make: *** [docucalc.exe] Error 1
> 

OK, I think you got your answer already in this thread.  You didn't
provide the library (-lintl) with the symbol that you need.  You have
to do that.  This really isn't a Cygwin issue so if you have more
troubles like this, you might want to consult some gcc/binutils
usage information.


-- 
Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
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/

