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

  1. Path: sparky!uunet!gatech!uflorida!beck
  2. From: beck@qtp.ufl.edu (Sullivan Beck)
  3. Newsgroups: comp.windows.x
  4. Subject: Problem with X11R5p12 libXmu dynamic linking
  5. Message-ID: <BECK.92Jul21152040@red.qtp.ufl.edu>
  6. Date: 21 Jul 92 19:20:40 GMT
  7. Sender: news@uflorida.cis.ufl.edu
  8. Organization: Quantum Theory Project, University of Florida
  9. Lines: 37
  10. Nntp-Posting-Host: red-back.qtp.ufl.edu
  11.  
  12.  
  13. I'm trying to build X11R5 pl 12 on a Sun 3/50 running SunOS 4.1.1 with
  14. gcc 2.2.2.  The only change that I've made to the source is to add the
  15. Xidle extension.  This does not modify any existing source, and X with
  16. the extension compiled fine on a Sun4 (SunOS 4.1.2 without gcc), so I
  17. do not think that the problem I am having has anything to do with
  18. Xidle.  Also, the sun3 server compiled fine (though I have not tested
  19. it yet).
  20.  
  21. When I run Make World, it gets all of the libraries compiled fine, but
  22. then when it tries to make the clients, it fails with several of them.
  23. The first is bitmap.  From the output of the make (I am installing
  24. everything in /usr/X11R5/{bin,lib,include}):
  25.  
  26. gcc -fstrength-reduce -fpcc-struct-return -o bitmap -O   BitEdit.o
  27.   CutPaste.o Graphics.o ReqMach.o Bitmap.o  Dialog.o Handlers.o
  28.   -L../.././lib/Xaw -lXaw -L../.././lib/Xmu -lXmu -L../.././lib/Xt
  29.   -lXt -L../.././extensions/lib -lXext -L../.././lib/X -lX11
  30.   -L/usr/X11R5/lib   -lm -B/usr/bin/
  31. gcc: Internal compiler error: program ld got fatal signal 11
  32. *** Error code 1
  33.  
  34. I traced the problem down to dynamically linking with the new Xmu
  35. libraries.  If I remove the -L../.././lib/Xmu flag and move the -lXmu
  36. flag after the -L/usr/X11R5/lib (so it links dynamically against the
  37. X11R5pl8 Xmu library that is currently installed) it works fine.  I
  38. can also replace the -L../.././lib/Xmu and -lXmu flags with
  39. ../../lib/libXmu.a so that it links statically agains the new Xmu
  40. library and this also works fine.
  41.  
  42. I have completely rebuilt the Xmu library once and that did not change
  43. anything (there were no compilation warnings or errors but it still
  44. gives me the segmentation fault error).  If anyone has seen this
  45. problem or knows how to fix it, I would appreciate any help you can
  46. give me.
  47.  
  48. S. Beck (beck@qtp.ufl.edu)
  49.