home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / x / 20805 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  2.5 KB

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