home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!wupost!usc!elroy.jpl.nasa.gov!earle
- From: earle@elroy.jpl.nasa.gov (Greg Earle - Gainfully Unemployed)
- Subject: Re: xmail fails on compilation: get_wmShellWidgetClass error - Help
- Message-ID: <1992Dec31.085819.2817@elroy.jpl.nasa.gov>
- Followup-To: comp.windows.x
- Keywords: _get_wmShellWidgetClass, _get_applicationShellWidgetClass
- Sender: isolar!earle@elroy.JPL.NASA.GOV
- Organization: Gainfully unemployed
- References: <1992Dec30.222431.1694@sol.ctr.columbia.edu>
- Date: Thu, 31 Dec 1992 08:58:19 GMT
- Lines: 46
-
- 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 (-:
-
- (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.
-
- --
- - Greg Earle | Disclaimer: These are my
- Itinerant Sun Consultant | opinions only, and not those
- isolar!earle@elroy.JPL.NASA.GOV | of JPL - they only let me
- (818) 353-8695 | post news through them ...
-