home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / fj / maillis / xwindow / 19026 < prev    next >
Encoding:
Internet Message Format  |  1992-12-31  |  2.3 KB

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