home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / 14617 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  1.4 KB

  1. Path: sparky!uunet!wupost!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!math.ksu.edu!deadend
  2. From: tar@math.ksu.edu (Tim Ramsey)
  3. Newsgroups: comp.windows.x
  4. Subject: Problems with X11R5p14 clients using gcc 2.2.2
  5. Date: 30 Jul 1992 06:15:52 -0500
  6. Organization: Dept. of Mathematics, Kansas State University
  7. Lines: 37
  8. Message-ID: <158j18INN6qv@hilbert.math.ksu.edu>
  9. NNTP-Posting-Host: hilbert.math.ksu.edu
  10.  
  11. I've built X11R5 fix 14 on a Sun3/80 running SunOS 4.1.1 using gcc 2.2.2.
  12. I've defined the following in my site.def:
  13.  
  14. #define HasGcc YES
  15. #define HasGcc2 YES
  16. #define Gcc2BuildLibs YES
  17.  
  18. My only change to sun.cf was:
  19.  
  20. #define OSName            SunOS 4.1.1
  21. XCOMM operating system:  OSName
  22. #define OSMajorVersion    4
  23. #define OSMinorVersion    1
  24. #define OSTeenyVersion    1
  25.  
  26. #define SunPost411FCSLd      NO
  27.  
  28. I haven't applied the 100170-6 patch.
  29.  
  30. Everything built fine.  However, programs that aren't linked with
  31. libXt.so.4.10 fail when executed with the message
  32.  
  33. ld.so: Undefined symbol: _XtMalloc
  34.  
  35. This includes xset, twm, and xrdb.  When I add "-lXt" to the ld option
  36. list the resulting executable works fine.
  37.  
  38. What's going on here?  Yes, _XtMalloc is defined in libXt, but why isn't
  39. this a problem when I compile using cc and not gcc?  Is there a better fix
  40. than relinking everything that dies to include -lXt?
  41.  
  42. Thanks in advance for any wisdom.
  43.  
  44. -- 
  45.     Tim Ramsey, 913.532.6750
  46.     Department of Mathematics
  47.     Kansas State University
  48.