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