home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / windows / x / 16048 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  1.4 KB

  1. Path: sparky!uunet!gatech!concert!duke!news.duke.edu!bal1!ndd
  2. From: ndd@sunbar.mc.duke.edu (Ned Danieley)
  3. Newsgroups: comp.windows.x
  4. Subject: X11R5 and gcc 2.1 on a sun3
  5. Message-ID: <5045@news.duke.edu>
  6. Date: 2 Sep 92 14:44:42 GMT
  7. Sender: news@news.duke.edu
  8. Organization: Basic Arrhythmia Laboratory, Duke Univ. Med. Center, Durham, N.C.
  9. Lines: 36
  10. Nntp-Posting-Host: bal1.mc.duke.edu
  11. Originator: ndd@bal1
  12.  
  13. I finally got around to trying X11R5 on a sun3 with gcc 2.1, and
  14. I've run into the same problem that someone else had back in May:
  15. when trying to run applications that use Xmu and don't link in
  16. Xt, I get
  17.  
  18. ld.so: Undefined symbol: _XtMalloc
  19.  
  20. errors. a couple of solutions were offered: applying some SunOS
  21. patches
  22.  
  23. ld.jumbo.100170-06
  24. libc.100266-06
  25. ld.so.100257-03
  26.  
  27. and using the SunPost411FCSLd flag in Project.tmpl, or just linking
  28. against Xt everywhere:
  29.  
  30.   Change one line in config/sunLib.tmpl:
  31.  
  32.     51c51
  33.     <            XMULIB = _Use(-lXmu,-L$(XMUSRC) -lXmu -L$(TOOLKITSRC))
  34.     ---
  35.     >            XMULIB = _Use(-lXmu,-L$(XMUSRC) -lXmu -L$(TOOLKITSRC) -lXt)
  36.  
  37.  
  38.  
  39. so is there any preference as to which to do? as far as I can tell,
  40. I don't have any problems that need those patches, but I'm not sure
  41. if I want to link in (even dynamically) Xt if it's not necessary.
  42. suggestions?
  43.  
  44. -- 
  45. Ned Danieley (ndd@sunbar.mc.duke.edu)
  46. Basic Arrhythmia Laboratory
  47. Box 3140, Duke University Medical Center
  48. Durham, NC  27710   (919) 660-5111 or 660-5100
  49.