This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: fetchmail compile trouble __imp__gettext
- To: Charles Wilson <cwilson at ece dot gatech dot edu>
- Subject: Re: fetchmail compile trouble __imp__gettext
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Sun, 18 Mar 2001 16:42:53 -0500
- CC: "Jari Aalto+tpu.misc" <posting-list at MailAndNews dot com>, cygwin at sourceware dot cygnus dot com
- References: <wksnka7tdy.fsf@blue.sea.net> <3AB52829.F0F5F0FD@ece.gatech.edu>
- Reply-To: cygwin at sourceware dot cygnus dot com
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