home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.windows.x:20369 comp.windows.open-look:4867
- Newsgroups: comp.windows.x,comp.windows.open-look
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!uwm.edu!linac!uchinews!msuinfo!lacey
- From: lacey@egr.msu.edu (Mark M. Lacey)
- Subject: Re: Need help linking applications under X
- Message-ID: <1992Dec18.093122.28600@msuinfo.cl.msu.edu>
- Sender: news@msuinfo.cl.msu.edu
- Organization: Michigan State University
- References: <1992Dec17.190414.4806@njitgw.njit.edu>
- Distribution: usa
- Date: Fri, 18 Dec 92 09:31:22 GMT
- Lines: 28
-
- 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?
-
- I had the same problem on a large application I am working on. After
- several hours of trying to find out what the problem was, I finally
- mailed the sys-admins here who installed the libraries. I don't know
- if they ever figured out exactly why it was occuring, but 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. As a side note,
- if though the linker produced these messages, the application still
- seemed to run fine all the time --- I never experienced any strangeness
- from the executable (although I bet there is probably some way to cause
- it to crash with absolute magnificance ;-).
-
- Mark M. Lacey
- lacey@egr.msu.edu
-