🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #59973

Re: weird error compiling dvips [solved]

#59973
From: Tony Nugent
Date: Thu, 20 Jul 1995 00:00
39 lines
2395 bytes
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.  :-)

Thanks for all the help!

Cheers
Tony
        MMM             \|/              www              __^__
       (o o)            @ @             (o o)            /(o o)\
  -.ooO-(_)-Ooo.-+-.oOO-(_)-OOo.-+-.oOO--(_)--OOo.-+-.oOO==(_)==OOo.-----+
  |    Tony Nugent  |-| Griffith University  T.Nugent@sct.gu.edu.au      |--.
  |     __'!`__     | | Brisbane, Queensland tnugent@gucis.cit.gu.edu.au |  |
  |      (o o)      | | Australia                                        |  |
  `-ooO---(=)---Ooo-' `--------------------------------------------------'  |
    `------------------' `--------------------------------------------------'
Technical Details
Message-ID: <3ukae8$kpo@ngriffin.itc.gu.edu.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3ue256$aq8@ngriffin.itc.gu.edu.au> <DBz7Cr.5Bn@crash.cts.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c696,4ba1eaad0bfb3388
X-Google-Attributes: gid10c696,public
X-Google-Thread: 1103af,4ba1eaad0bfb3388
X-Google-Attributes: gid1103af,public
X-Google-Thread: 102983,4ba1eaad0bfb3388
X-Google-Attributes: gid102983,public
From: Tony Nugent <T.Nugent@sct.gu.edu.au>
Subject: Re: weird error compiling dvips [solved]
Date: 1995/07/20
Message-ID: <3ukae8$kpo@ngriffin.itc.gu.edu.au>
X-Deja-AN: 106593801
references: <3ue256$aq8@ngriffin.itc.gu.edu.au> <DBz7Cr.5Bn@crash.cts.com>
organization: Griffith University Brisbane Queensland Australia
reply-to: T.Nugent@sct.gu.edu.au
newsgroups: aus.computers.linux,comp.os.linux.misc,comp.os.linux.development.apps