From: leb@Hypatia.gsfc.nasa.gov (Lee E. Brotzman)
Subject: Problem linking OSF/Motif code -- Missing "I18n" functions
Date: Fri, 9 Oct 1992 16:30:41 GMT [thread overview]
Message-ID: <leb.718648241@Hypatia> (raw)
Greetings,
I have a new DECstation 5000/125 which came with DEC OSF/Motif release 1.1.3.
My problem is pretty simple, none of the Motif code I have tried to compile
will link correctly. I have tried several packages, and the response from ld
is always the same (cc command edited for readability):
-------------------------------------------------------------------------------
cc -o mxqwais global.o main.o mocode.o waisq.o qread.o question.o document.o\
util.o source.o utils.o ../bin/inv.a ../bin/wais.a\
-lXm -lDXm -lXt -lX11 -lm
ld:
Undefined:
I18nGetLocaleString
I18nGetLocaleCharset
I18nGetLocaleCharsets
I18nCreateDefaultFontList
I18nHasSubstring
I18nCSConstructInit
I18nCSConstructEnd
I18nCSConstructSegment
I18nCSConstructLine
I18nCvtCStoFCInit
I18nCvtCStoFCEnd
I18nCvtCStoFCSegment
I18nCvtCStoFCLine
I18nCvtCStoOSInit
I18nCvtCStoOSEnd
I18nCvtCStoOSSegment
I18nCvtCStoOSLine
I18nCvtFCtoCS
I18nCvtOStoCS
_XtAddPDDestroyCallback
_Xt_LoadQueryFont
_XtAddCallbackForOtherWidget
*** Error code 1
-------------------------------------------------------------------------------
After grepping my way through the include directories, I found that the "I18n"
routines have to do with internationalization. I have run 'nm' on all of the
libraries I have, and have indeed found undefined references to these routines
in /usr/lib/libDXm.a and /usr/lib/libXm.a. No library has the routines defined
as local text. Where the last three routines from the Xtoolkit are, I have no
idea. I have tried several variations on the ordering of the libraries with no
luck. I have tried putting additional libraries in the path with no luck. I
think that I am simply missing a library or that one of the libraries that DEC
*thinks* I have isn't the right one (I did a full load from the CD-ROM marked,
"ULTRIX DECwindows for OSF/Motif V1.1.3", AG-PPJ3A-RE).
Am I missing something simple here? Could it be that I just not linking the
things right? That's my hope anyway. If I *am* missing a library, where can I
get it?
Any and all help will be greatly appreciated.
--
-- Lee E. Brotzman Internet: leb@hypatia.gsfc.nasa.gov
-- Hughes STX DECNET: NDADSA::BROTZMAN
-- National Space Science Data Center BITNET: ZMLEB@GIBBS
-- NASA Goddard Space Flight Center
next reply other threads:[~1992-10-09 16:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-10-09 16:30 Lee E. Brotzman [this message]
1992-10-09 20:07 ` Problem linking OSF/Motif code -- Missing "I18n" functions Paul Tatarsky
1992-10-10 3:36 ` Lee E. Brotzman
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox