Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Aleksandar Milivojevic <alex@srce.hr>
Subject: Re: gcc 2.7.2.2 on DU 4.0
Date: 1997/02/26	[thread overview]
Message-ID: <gl4tez8rmo.fsf@bjesomar.srce.hr> (raw)
In-Reply-To: 33144F5F.7566@ursa.ess.harris.com

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 911 bytes --]


Alfonso E. Urdaneta (aurdanet@ursa.ess.harris.com) wrote:
> 
> Am in the process of installing gcc-2.7.2.2 on 4.0.  While making the
> stage 2 compiler
[snip]

I think that fix for this was posted here (or was it gnu.gcc.bug?)
some time ago.  Anyway, you need to edit file cp/errfn.c and replace
line 198:

extern errorfn sprintf;

with:

extern int sprintf __((char *, const char *, ...));

I have no idea why gnu people redeclared sprintf in cp/errfn.c, but it
seems that everything works ok if their declaration is replaced with
declaration of sprintf from /usr/include/stdio.h.

-- 
Aleksandar Milivojevi�                        http://jagor.srce.hr/~alex/
                           e-mail: alex@srce.hr
================================ooooO=Ooooo==============================

  Real Users never know what they want, but they always know when your
                       program doesn't deliver it.



      reply	other threads:[~1997-02-26  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-26  5:00 gcc 2.7.2.2 on DU 4.0 Alfonso E. Urdaneta
1997-02-26  5:00 ` Aleksandar Milivojevic [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox