[gnu.g++.help] building g++/libg++ on a Sun3

davids@texsun.central.sun.com (David Reed Smith) (06/13/91)

Machine: Sun3/50
OS: SunOS 4.1

I'm having trouble installing g++-1.39/libg++-1.39 on my Sun3/50.
gcc-1.39 is already installed.  I've compiled g++, and libg++.  I'm
using gas-1.38.  I have installed the ld from the g++ source.
However, when I try to compile the libg++-1.39 tests, I get the
following error messages:

make
g++  tFile.o  -o tFile -Wall -v -L../src -lg++ -lm
g++ version 1.39.0 beta (based on GCC 1.39)
 /usr/local/bin/lib.sun3/g++/gcc-ld -o tFile -e start -dc -dp /lib/crt0.o /lib/Mcrt1.o -L../src tFile.o -lg++ -lm -lg++ /usr/local/bin/lib.sun3/g++/gcc-gnulib -lc -L/usr/lib/f68881
gnulib3.c:62: Undefined symbol ___DTOR_LIST__ referenced from text
segment
gnulib3.c:87: Undefined symbol ___CTOR_LIST__ referenced from text
segment
gnulib3.c:89: Undefined symbol ___CTOR_LIST__ referenced from text
segment
*** Error code 1
make: Fatal error: Command failed for target `tFile'

Have I not installed something, or installed something wrong?  Thanks
in advance.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David Smith					davids@gdfwc3,
General Dynamics,	 			gdfwc3!davids@central.sun.com,
Fort Worth Division				or uunet!texsun!gdfwc3!davids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~