gcc, g++, g77, and libg++ installation problems

From: system PRIVILEGED account <root_at_alpha1.msvu.ca>
Date: Tue, 14 Jan 1997 20:22:30 -0400

Hello, managers:

We have just upgraded our DEC2000/300 to DU4.0B, and are trying
to compile gcc-2.7.2.1.f.1, g++, g77 and libg++.

At the 'make bootstrap' stage of the compilation, the following error
message appears:

errfn.c: In function `cp_sprintf':
errfn.c:198: conflicting types for `sprintf'
include/stdio.h:182: previous declaration of `sprintf'
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.

the type for sprintf is errorfn(type void ()). In the standard
[DEC] include files, the type for sprintf is type int. the compilation
seems to choke there. By changing errorfn to type int, then it
compiles fine but chokes in the libg++ installation.

Is there anyone who has experienced similar problems? Any workaround
for this will be appreciated.

Sincerely,

Deming Zhuang
Received on Wed Jan 15 1997 - 00:15:50 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT