home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!bcstec!bcsaic!sundry!sdc!cek
- From: cek@sdc.boeing.com (Conrad Kimball)
- Newsgroups: comp.windows.x
- Subject: Re: xmail fails on compilation: get_wmShellWidgetClass error - Help
- Keywords: _get_wmShellWidgetClass, _get_applicationShellWidgetClass
- Message-ID: <7724@fury.BOEING.COM>
- Date: 5 Jan 93 20:17:53 GMT
- References: <1992Dec30.222431.1694@sol.ctr.columbia.edu> <1992Dec31.085819.2817@elroy.jpl.nasa.gov>
- Sender: news@sdc.boeing.com
- Organization: Boeing Computer Services, Seattle, WA
- Lines: 50
- Nntp-Posting-Host: zulu
-
- In article <1992Dec31.085819.2817@elroy.jpl.nasa.gov>, earle@elroy.jpl.nasa.gov (Greg Earle - Gainfully Unemployed) writes:
- |> In article <1992Dec30.222431.1694@sol.ctr.columbia.edu> hiren@teknetix.com(Hiren Shah) writes:
- |> >I am trying to compile xmail on a Sun SPARCstation IPX.
- |> >
- |> >I am running version X11R4.
- |> >I received the source files via ftp, and used xmkmf to create the makefile.
- |> >
- |> >make
- |> ...
- |> >rm -f xmail
- |> >cc -o xmail Mailwatch.o HelpText.o actions.o callMail.o callbacks.o confirm.o\
- |> >directory.o environs.o
- |> >handler.o mail.o parser.o utils.o windows.o xmail.o -O -lXaw -lXmu -lXt\
- |> >-lXext -lX11 -lm
- |> >ld: Undefined symbol
- |> > _get_wmShellWidgetClass
- |> > _get_applicationShellWidgetClass
- |> >*** Error code 2
- |> >make: Fatal error: Command failed for target `xmail'
- |> ...
- |> >I tried to change the position of libXmu on the compile line, but that doesn't
- |> >help.
- |>
- |> Canonical answer:
- |>
- |> (1) If you have MIT X11 R4, you'll probably need to recompile your libraries.
- |> Advise immediate upgrade to R5 pl 21 (-:
-
- Good advice, but if for some reason you need/want to stay with MIT X11 R4,
- get file "contrib/X11R4_sunos4.1.2_patch_version3.Z" from export.lcs.mit.edu,
- which retrofits R5 library build changes into R4.
-
- |> (2) If you are using OpenWindows 3.0/3.0.1, you'll need to get two patches
- |> from Sun, I think they are 100512 and 100573. One supplies a new libXt
- |> and the other supplies a new libXmu which work around the problem caused
- |> by the new (4.1.1+patches/4.1.2/4.1.3) SunOS 4.1.x linker.
- |>
- |> (3) Quick-fix workaround: Change
- |>
- |> " ... -lXaw -lXmu -lXt" to " ... -lXaw -Bstatic -lXmu -Bdynamic -lXt"
- |>
- |> and recompile/re-link.
- |>
- |> Using "-Bstatic" before "-lXmu" will get you the 2 symbols you found in
- |> the statically-linked libXmu.a library.
-
- --
- Conrad Kimball | Client Server Tech Services, Boeing Computer Services
- cek@sdc.boeing.com | P.O. Box 24346, MS 7A-35
- (206) 865-6410 | Seattle, WA 98124-0346
-