This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: fetchmail compile trouble __imp__gettext


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]