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: AW: g++ and "undefined reference to `libintl_gettext'"


Reimann, Peter wrote:
Sorry. Here is the command line:

g++     -static -mno-cygwin -o docucalc.exe DCMessage.o DCMessageItemList.o
DCInputMessage.o DCOutputMessage.o DCModel.o DCCalculator.o DCPa
rameterRules.o  docucalc.o DCError.o DCErrorMessage.o DCCLIInterface.o
DCModelTool.o DCCPModel.o DCExternArticleList.o

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

make: *** [docucalc.exe] Error 1

OK, I think you got your answer already in this thread.  You didn't
provide the library (-lintl) with the symbol that you need.  You have
to do that.  This really isn't a Cygwin issue so if you have more
troubles like this, you might want to consult some gcc/binutils
usage information.


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