🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++
Article #417

Problems installing libg++ with Sun OS 3.4

#417
From: Ed Menze
Date: Sat, 29 Apr 1989 21:38
40 lines
1693 bytes

I am trying to install g++ and its library on a Sun-3 running OS release 3.4. 

Installation of gcc (1.34) and g++ (1.34.2) worked without any problems.

When building libg++ (1.34.0), I get the following errors:

--------------------------------
g++ -g -O -fchar-charconst -I../g++-include -I..  -fsave-memoized -c  File.cc
/usr/include/sys/fcntl.h:64: warning: type declaration of flock shadows previous declaration
/usr/include/sys/fcntl.h:64: warning: `flock' was declared `extern' and later `static'
In method File::File (int, char *, enum io_mode):

.
.
.

g++ -g -O -fchar-charconst -I../g++-include -I..  -fsave-memoized -c  Integer.cc
../g++-include/Integer.h:187: friend `even' implicitly overloaded
../g++-include/builtin.h:122: after declaration of non-overloaded `int even (long int)'
../g++-include/Integer.h:188: friend `odd' implicitly overloaded
../g++-include/builtin.h:127: after declaration of non-overloaded `int odd (long int)'
*** Error code 1

Stop.
*** Error code 1

Stop.
--------------------------------

Can anyone offer a clue as to what I might be doing wrong?


---------------------------------------------------------------------

Ed Menze			menzee@carleton.edu
Carleton College		menzee@stolaf.edu
Northfield, MN  55057
(507) 663-5155
Technical Details
Message-ID: <1956@thor.acc.stolaf.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!srcsip!nic.MR.NET!thor.acc.stolaf.edu!menzee

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!srcsip!nic.MR.NET!thor.acc.stolaf.edu!menzee
From: menzee@thor.acc.stolaf.edu (Ed Menze)
Newsgroups: gnu.g++
Subject: Problems installing libg++ with Sun OS 3.4
Keywords: libg++
Message-ID: <1956@thor.acc.stolaf.edu>
Date: 29 Apr 89 21:38:44 GMT
Organization: St. Olaf College; Northfield, MN
Lines: 40