Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!wuarchive!udel!haven!adm!smoke!brl.mil!moss From: moss@brl.mil (Gary S. Moss (VLD/VMB) ) Newsgroups: comp.windows.x Subject: Re: Small problem with mkfontdir when building X11R4.18 Message-ID: <14319@smoke.brl.mil> Date: 2 Nov 90 18:35:20 GMT References: <8307@hydra.Helsinki.FI> Sender: news@smoke.brl.mil Reply-To: moss@brl.mil Organization: Ballistic Research Laboratory Lines: 28 In article <8307@hydra.Helsinki.FI>, kankkune@cs.Helsinki.FI (Risto Kankkunen) writes: |> |> I have been building X11R4 (patched up to fix-18) for sun3 on SunOS 4.1. |> Everything went well except for a little problem in making the font |> directories. make World produced the following error message for each of |> the font directories: |> |> ../../.././fonts/mkfontdir/mkfontdir . |> ld.so: libXmu.so.4: not found |> *** Error code 127 |> make: Warning: Target `all' not remade because of errors |> Current working directory /home/hydra/kankkune/X.V11R4/R4/mit.sun3/\ |> fonts/bdf/misc |> |> I think mkfontdir doesn't find libXmu because it was compiled with a |> relative library directory specification: |> |> gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -o mkfontdir |> mkfontdir.o fontdir.o snf_util.o -O -Bstatic -L../.././lib/Xmu -lXmu |> -Bdynamic The problem is that "-Bstatic" is not understood by "gcc", "-static" is the analogous option. Unfortunately, "gcc" takes a "-B" option with arbitrary arguments and doesn't seem to complain about ones it doesn't know about. It would be nice if this were fixed in the MIT config/ files. We probably need a CcStaticLoadingFlag variable or something. -Gary