home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / 20663 < prev    next >
Encoding:
Text File  |  1992-12-31  |  2.2 KB  |  60 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!wupost!usc!elroy.jpl.nasa.gov!earle
  3. From: earle@elroy.jpl.nasa.gov (Greg Earle - Gainfully Unemployed)
  4. Subject: Re: xmail fails on compilation: get_wmShellWidgetClass error - Help
  5. Message-ID: <1992Dec31.085819.2817@elroy.jpl.nasa.gov>
  6. Followup-To: comp.windows.x
  7. Keywords: _get_wmShellWidgetClass, _get_applicationShellWidgetClass
  8. Sender: isolar!earle@elroy.JPL.NASA.GOV
  9. Organization: Gainfully unemployed
  10. References: <1992Dec30.222431.1694@sol.ctr.columbia.edu>
  11. Date: Thu, 31 Dec 1992 08:58:19 GMT
  12. Lines: 46
  13.  
  14. In article <1992Dec30.222431.1694@sol.ctr.columbia.edu> hiren@teknetix.com(Hiren Shah) writes:
  15. >I am trying to compile xmail on a Sun SPARCstation IPX.
  16. >I am running version X11R4.
  17. >I received the source files via ftp, and used xmkmf to create the makefile.
  18. >
  19. >make
  20. ...
  21. >rm -f xmail
  22. >cc -o xmail Mailwatch.o HelpText.o actions.o callMail.o callbacks.o confirm.o\
  23. >directory.o environs.o
  24. >handler.o mail.o parser.o  utils.o windows.o xmail.o -O   -lXaw -lXmu -lXt\
  25. >-lXext -lX11 -lm
  26. >ld: Undefined symbol
  27. >   _get_wmShellWidgetClass
  28. >   _get_applicationShellWidgetClass
  29. >*** Error code 2
  30. >make: Fatal error: Command failed for target `xmail'
  31. ...
  32. >I tried to change the position of libXmu on the compile line, but that doesn't
  33. >help.
  34.  
  35. Canonical answer:
  36.  
  37. (1) If you have MIT X11 R4, you'll probably need to recompile your libraries.
  38.     Advise immediate upgrade to R5 pl 21 (-:
  39.  
  40. (2) If you are using OpenWindows 3.0/3.0.1, you'll need to get two patches
  41.     from Sun, I think they are 100512 and 100573.  One supplies a new libXt
  42.     and the other supplies a new libXmu which work around the problem caused
  43.     by the new (4.1.1+patches/4.1.2/4.1.3) SunOS 4.1.x linker.
  44.  
  45. (3) Quick-fix workaround:  Change
  46.  
  47.     " ... -lXaw -lXmu -lXt" to " ... -lXaw -Bstatic -lXmu -Bdynamic -lXt"
  48.  
  49.     and recompile/re-link.
  50.  
  51.     Using "-Bstatic" before "-lXmu" will get you the 2 symbols you found in
  52.     the statically-linked libXmu.a library.
  53.  
  54. --
  55.     - Greg Earle                | Disclaimer: These are my
  56.       Itinerant Sun Consultant        | opinions only, and not those
  57.       isolar!earle@elroy.JPL.NASA.GOV    | of JPL - they only let me
  58.       (818) 353-8695            | post news through them ...
  59.