delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/18/16:44:16

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3AB52BDD.8E5412C5@yahoo.com>
Date: Sun, 18 Mar 2001 16:42:53 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
CC: "Jari Aalto+tpu.misc" <posting-list AT MailAndNews DOT com>,
cygwin AT sourceware DOT cygnus DOT com
Subject: Re: fetchmail compile trouble __imp__gettext
References: <wksnka7tdy DOT fsf AT blue DOT sea DOT net> <3AB52829 DOT F0F5F0FD AT ece DOT gatech DOT edu>

Charles Wilson wrote:
> 
> "Jari Aalto+tpu.misc" wrote:
> >
> >     Would anyone have clue what is this missing _imp__gettext ?
> >
> >     Jari
> 
> You are compiling with the gettext header files in /usr/include, but are
> linking against the gettext static library (libintl.a) that is
> distributed as part of fetchmail source tarball.  Because so many
> projects include gettext within their own code (a BAD practice, IMO),
> fixing this The Right Way is hard.
> 
> The easy way:
>   Add -DGETTEXT_STATIC to your CFLAGS before compiling.  This will make
> the /usr/include gettext headers "right" for static libs.  Or rename
> "gettext.h" in /usr/include, which forces fetchmail to use its own
> internal gettext headers.
> 

Or add the appropriate -I switch to pick the headers from the fetchmail
source.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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