[gnu.g++.lib.bug] problems building libg++

ham@polya.Stanford.EDU (Peter R. Ham) (03/26/89)

I just tried to build g++-1.34.1.tar on a vax running Ultrix with the latest
version of g++ available from yahi.

I don't know g++, yet. I was hoping to compile some sample programs first.

I'd appreciate any clues on these errors in the build process, before I dig
deeper and try to learn all of this stuff.

I get these errors:

/u3/projects/gnu/dist-libg++
72>make libg++.a
(cd src; make GXX=g++ CC=gcc)
g++ -g -O -fchar-charconst -I../g++-include -I..  -fsave-memoized -c  builtin.cc
/usr/include/sys/time.h:108: warning: type declaration of timezone shadowed
g++ -g -O -fchar-charconst -I../g++-include -I..  -fsave-memoized -c  File.cc
/usr/include/sys/file.h:156: warning: type declaration of flock shadows previous declaration
/usr/include/sys/file.h:156: warning: `flock' was declared `extern' and later `static'
g++ -g -O -fchar-charconst -I../g++-include -I..  -fsave-memoized -c  stream.cc
g++ -g -O -fchar-charconst -I../g++-include -I..  -fsave-memoized -c  PlotFile.cc
g++ -g -O -fchar-charconst -I../g++-include -I..  -fsave-memoized -c  SFile.cc
g++ -g -O -fchar-charconst -I../g++-include -I..  -fsave-memoized -c  Obstack.cc
gcc -g -O -I../g++-include -c regex.c
regex.c: In function re_search_2:
regex.c:1069: warning: argument passing between incompatible pointer types
regex.c:1069: warning: argument passing between incompatible pointer types
regex.c: In function re_match:
regex.c:1096: warning: argument passing between incompatible pointer types
g++ -g -O -fchar-charconst -I../g++-include -I..  -fsave-memoized -c  String.cc
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.
73>
--
Peter Ham			PO Box 3430	(415) 321-5746
MS Computer Science Student	Stanford, CA	ham@polya.stanford.edu
Stanford University 		94309