[gnu.g++.help] yet another person needing help installing g++-1.39.0

mkotliar@JADE.TUFTS.EDU (Mike Kotliar) (03/09/91)

I am trying to install G++ (1.39.0) on a DECstation 5000 running Ultrix 3.1.
I get as far as compiling cc1plus okay, but I can't seem to get collect to
compile.   Any suggestions would be appreciated.

osiris(9)=> gmake collect
COLLECT_LIBS="-lld"; \
if cmp -s tm.h config/tm-encore.h; then \
        COLLECT_OPTIONS='-DUMAX'; \
else \
        COLLECT_OPTIONS=''; \
fi; \
gcc -o collect  $COLLECT_OPTIONS -DGATHER_STATISTICS -O -DUSE_COLLECT -DEXTENDED
_COFF -DFIELD__XREF -I. -I. -I./config collect.c  -lc $COLLECT_LIBS
collect.c:75: warning: NO_UNDERSCORES redefined
collect.c: In function output_ctor_dtor_table:
collect.c:359: `tree' undeclared (first use this function)
collect.c:359: (Each undeclared identifier is reported only once
collect.c:359: for each function it appears in.)
collect.c:359: parse error before `name_tree'
collect.c:359: `name_tree' undeclared (first use this function)
collect.c:359: invalid lvalue in assignment
collect.c:378: parse error before `name_tree'
collect.c:378: invalid lvalue in assignment
collect.c: At top level:
collect.c:79: storage size of static var `cur_section' isn't known
gmake: *** [collect] Error 1
osiris(10)=>

These errors occurs on the lines:
( 79)  enum mips_sections cur_section;
(359)  ASM_OUTPUT_LABEL (outfile, CTOR_TABLE_NAME);
(378)  ASM_OUTPUT_LABEL (outfile, DTOR_TABLE_NAME);

Please send any replies directly to me as our news feed is not up and
running at the moment.

mkotliar@jade.tufts.edu