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]
Other format: [Raw text]

Re: g++ and "undefined reference to `libintl_gettext'"


Reimann, Peter wrote:
Hallo,

I use cygwin (cygwin1.dll -> 1.3.20) with win2000professionell, gettext and
libintl2 0.11.5-1, g++ (GCC) 3.2 20020927 (prerelease).
If I try to compile a little program (below class DCError is a part of it)
that use localizations I get errors for all dgettext, bindtextdomain an so
on.

DCError.o(.text+0x25d8):DCError.cc: undefined reference to
`libintl_dgettext'

I tried several options like --disable-nls --with-included-gettext -static -mno-cygwin

but always it is the same error. What is my fault? The same code works fine
on solaris!

Thanks for your help.
You forgot to include any real information that would allow someone to
offer you help.  At least the command line you use to generate the above
complaint would be useful.  Also, see <cygwin.com/bugs.html>.


--
Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
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/


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