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