home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!asuvax!ncar!noao!amethyst!organpipe.uug.arizona.edu!NSMA.AriZonA.EdU!michael
- From: michael@NSMA.AriZonA.EdU (Michael S. Williams)
- Newsgroups: comp.windows.open-look
- Subject: Re: Need help linking applications under X
- Message-ID: <1992Dec23.023623.2114@organpipe.uug.arizona.edu>
- Date: 23 Dec 92 02:36:23 GMT
- Sender: news@organpipe.uug.arizona.edu
- Reply-To: michael@NSMA.AriZonA.EdU (Michael S. Williams)
- Organization: Center for Neural Systems, Memory, and Aging
- Lines: 45
-
- lacey@egr.msu.edu (Mark M. Lacey) writes:
- : mxd8131@hertz.njit.edu (Marceline D'souza (cis)) writes:
- :
- : >While building several applications that run under X, I have been
- : >receiving errors from the linker reporting two undefined symbols:
- : > _get_wmShellWidgetClass
- : > _get_applicationShellWidgetClass
- :
- : >I have checked the local documentation and header files, but cannot
- : >determine which library contains their definitions. I am working under
- : >openwindows 3.0 and linking the following libraries:
- : > X11, Xaw, Xmu, Xt, Xext
- :
- : >Does anyone know which library I am missing?
- :
- : [...]
- : linking with
- : the -static flag "solves" the problem. If anybody has more information,
- : and knows exactly what the problem is (missing patch? libraries at
- : different versions?) I'd be interested in knowing.
- : [...]
- : Mark M. Lacey
- : lacey@egr.msu.edu
-
- From what I remember about this:
-
- The X11 libraries are either static (linked into the executable), or
- are dynamic (loaded by the exectuable at runtime), with the dynamic
- libraries being the default. Oftentimes the upgrade of the libraries
- will only result in new static libraries, leaving the dynamic libraries
- out in the cold and unable to supply the new routines. Hence, the
- static libraries have to be specified.
-
-
- Hope that's right, but if not, this is somebody else pretending to be me.
-
- -Michael
-
- <><-><--><---><----><-----><------><======><------><-----><----><---><--><-><>
- Michael Williams, michael@nsma.arizona.edu
- University of Arizona's Division of Neural Systems, Memory & Aging
- 344 Life Sciences Bldg, North
- Tucson, AZ 85724
- (602)626-2611
- <><-><--><---><----><-----><------><======><------><-----><----><---><--><-><>
-