Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <3E525FF3.7030007@rfk.com> Date: Tue, 18 Feb 2003 11:31:47 -0500 From: "Larry Hall (RFK Partners, Inc.)" Reply-To: lhall AT rfk DOT 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" CC: "'cygwin AT cygwin DOT com'" Subject: Re: g++ and "undefined reference to `libintl_gettext'" References: <31C3BDC47886D511916D00508B2C391FDF7B1B AT deuhbsms02 DOT hbs DOT deu DOT xerox DOT com> In-Reply-To: <31C3BDC47886D511916D00508B2C391FDF7B1B@deuhbsms02.hbs.deu.xerox.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reimann, Peter wrote: > Hallo, > > I use cygwin (cygwin1.dll -> 1.3.20) with win2000professionell, gettext and > libintl2 0.11.5-1, g++ (GCC) 3.2 20020927 (prerelease). > If I try to compile a little program (below class DCError is a part of it) > that use localizations I get errors for all dgettext, bindtextdomain an so > on. > > DCError.o(.text+0x25d8):DCError.cc: undefined reference to > `libintl_dgettext' > > I tried several options like > --disable-nls > --with-included-gettext > -static > -mno-cygwin > > but always it is the same error. What is my fault? The same code works fine > on solaris! > > Thanks for your help. You forgot to include any real information that would allow someone to offer you help. At least the command line you use to generate the above complaint would be useful. Also, see . -- Larry Hall lhall AT rfk DOT 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/