🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #59975

Re: weird error compiling dvips [solved]

#59975
From: Louis J. LaBash Jr.
Date: Fri, 21 Jul 1995 00:00
26 lines
2121 bytes
In article <3ukae8$kpo@ngriffin.itc.gu.edu.au> you wrote:
: kd6ozk@cts.com (Tom) writes:

: >Tony Nugent <T.Nugent@sct.gu.edu.au> wrote:
: >>I'm using gcc 2.6.3 and trying to compile dvipsk-5.55a.
: >>I run ./configure.  No problems.
: >>I say make.  After a while I get this:
: >>gcc -g   -o afm2tfm afm2tfm.o ../kpathsea/kpathsea.a   -lm
:   ^^^^^^^
: >>ld: Output file requires shared library `libc.so.4'
: >>gcc: Internal compiler error: program ld got fatal signal 6
: >>make[1]: *** [afm2tfm] Error 1
: >Where is ld looking for libc.so.4?  I've often seen errors like this, and it's
: >usually (on my box) because the program I'm running isn't looking in the right
: >place.  Try putting more links to /lib/libc.so.4 in, say, /usr/lib,
: >/usr/local/lib, /usr/X11/lib, /var/lib, or where ever ld is looking.
: Well, the problem seems to be with the -g switch on the gcc link line.
: More recent versions of gcc apparently don't allow this.  (Thanks to
: Andrew.Tridgell@anu.edu.au for pointing this out to me).
: I've modified the makefile, and it now compiles perfectly.  :-)

The "-g" switch will do a static link and include debug info, see
Mitch DSouza's "GCC-FAQ", or "GCC_FAQ.html", for detail.

--
Louis-ljl-{LaBashL@eniac.ac.siue.edu | lou@minuet.siue.edu}
Technical Details
Message-ID: <3uosmr$g50@tucker.siue.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3ue256$aq8@ngriffin.itc.gu.edu.au> <DBz7Cr.5Bn@crash.cts.com> <3ukae8$kpo@ngriffin.itc.gu.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1103af,4ba1eaad0bfb3388
X-Google-Attributes: gid1103af,public
X-Google-Thread: 10c696,4ba1eaad0bfb3388
X-Google-Attributes: gid10c696,public
X-Google-Thread: 102983,4ba1eaad0bfb3388
X-Google-Attributes: gid102983,public
From: labash@lcjones.aclib.siue.edu ( Louis J. LaBash Jr.)
Subject: Re: weird error compiling dvips [solved]
Date: 1995/07/21
Message-ID: <3uosmr$g50@tucker.siue.edu>
X-Deja-AN: 106593467
references: <3ue256$aq8@ngriffin.itc.gu.edu.au> <DBz7Cr.5Bn@crash.cts.com> <3ukae8$kpo@ngriffin.itc.gu.edu.au>
followup-to: aus.computers.linux,comp.os.linux.misc,comp.os.linux.development.apps
organization: SIUE - Southern Illinois University at Edwardsville
newsgroups: aus.computers.linux,comp.os.linux.misc,comp.os.linux.development.apps