🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Ed Menze Sat, 29 Apr 1989 21:38
Problems installing libg++ with Sun OS 3.4
#417
Author: 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
Re: Problems installing libg++ with Sun OS 3.4
#418
Author: Kevin Sheehan {Consulting Poster...
Date: Sun, 30 Apr 1989 18:06
25 lines
1541 bytes
In article <1956@thor.acc.stolaf.edu> menzee@thor.acc.stolaf.edu (Ed Menze) writes:

I get the same problems on sun3/4.0 with the same critters. Any help out there?

	l & h,
	kev

>
>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)'

bletch, etc.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads