Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Apparently-From: Message-ID: <3AB52BDD.8E5412C5@yahoo.com> Date: Sun, 18 Mar 2001 16:42:53 -0500 From: Earnie Boyd 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 CC: "Jari Aalto+tpu.misc" , cygwin AT sourceware DOT cygnus DOT com Subject: Re: fetchmail compile trouble __imp__gettext References: <3AB52829 DOT F0F5F0FD AT ece DOT gatech DOT edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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