problem building program: undef ref _imp__gettext
Charles Wilson
cwilson@ece.gatech.edu
Mon Aug 27 10:42:00 GMT 2001
Mark Paulus wrote:
> Hi,
>
> I'm trying to compile/link a program, and I'm getting the following
> undefined reference: _imp__gettext.
>
> Is there some Environment variable, or something special I need to
> do to enable gettext??
add -lintl to your link command.
>(BTW, where is the '_imp_' getting
> pre-pended to the name anyway??)
That's the way shared libraries on windows (DLLs) work.
--Chuck
--
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/
More information about the Cygwin
mailing list