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

  1. Path: sparky!uunet!europa.asd.contel.com!emory!athena.cs.uga.edu!weinri
  2. From: weinri@athena.cs.uga.edu (Kevin Weinrich)
  3. Newsgroups: comp.windows.x
  4. Subject: More problems building R5
  5. Summary: gcc: Program ld got fatal signal 11.  Whuzzat?
  6. Message-ID: <1992Jul28.201503.12898@athena.cs.uga.edu>
  7. Date: 28 Jul 92 20:15:03 GMT
  8. Organization: University of Georgia, Athens
  9. Lines: 31
  10.  
  11. I am trying to build X11R5 off a CD-ROM (from PDQ) on a Sun 4/330 running
  12. OS 4.1.1.  I customized site.def and sun.cf minimally.  When I "make
  13. World," I'm getting the following errors in my log file:
  14.   gcc -fstrength-reduce -fpcc-struct-return -o phigsmon phigsmon.o -O
  15.     ../libphigs.a -L../../../.././lib/Xaw -lXaw -L../../../.././lib/Xmu
  16.     -lXmu -L../../../.././lib/Xt -lXt -L../../../.././extensions/lib -lXext
  17.     -L../../../.././lib/X -lX11   -lm -B/usr/bin/
  18.   gcc: Program ld got fatal signal 11.
  19.   *** Error code 1
  20.  
  21. I'm getting these errors for lots of the clients it's trying to make:
  22. xeyes, twm, xauth, xbiff, etc.  I just barely understand what I
  23. think is happening -- gcc isn't finding a library or isn't liking the one
  24. it finds.  When I tried to manually compile this same thing with:
  25.   gcc -fstrength-reduce -fpcc-struct-return -o phigsmon phigsmon.o -O
  26.     -L../../../.././lib/Xmu -lXmu
  27. I get the same error.  When I try to do the build using Sun's cc, I get:
  28.   cc: Fatal error in ld: Segmentation fault (core dumped)
  29. which (I am guessing now) points to the same problem.
  30.  
  31. When I cd from the directory where I think this compile is
  32. occuring to ../../../.././lib/Xmu, I find a library libXmu.sa.4.10.  Isn't
  33. this what ld wants?  What is it really complaining about?  The man page
  34. for ld says that "-lXmu" will make it look for "libXmu.a".  Does libXmu.sa.4.10
  35. need to be linked to libXmu.a, or is the ld man page fibbing?
  36.  
  37. Any help to end my frustration (besides a recommendation for
  38. a large-caliber firearm) would be most appreciated.
  39.  
  40. -Kevin Weinrich
  41. weinri@athena.cs.uga.edu
  42.