[gnu.g++.help] Problem building g++-1.37.2 on DEC 3100 & 5400 systems

keyes@MCC.COM (Debbie Keyes) (11/08/90)

I have been attempting to build g++ 1.37.2 for Ultrix 3.1D on both a
DECsystem 5400 and DECstation 3100, and have been having many problems.
 
Another person in my organization ftp'd the file g++.xtar sometime prior toOctober 29th from labrea.stanford.edu.  Tonight I checked to see if there
might be an updated version, and couldn't find that file (nor the ztar filethat I believe was there on Thursday).  Has that file been moved/removed?
 
The latest error that I can't seem to surpass is:
        gcc -g -DGATHER_STATISTICS -O -DUSE_COLLECT -DEXTENDED_COFF -B../gcc/
        -o cc1plus lastfile.o cplus-tab.o cplus-decl.o cplus-decl2.o
        cplus-typeck.o cplus-type2.o  cplus-tree.o cplus-lex.o
        cplus-class.o cplus-init.o cplus-except.o  cplus-method.o
        cplus-cvt.o cplus-search.o cplus-ptree.o cplus-expr.o
        cplus-field.o cplus-edsel.o toplev.o version.o tree.o
        print-tree.o stor-layout.o  fold-const.o rtl.o rtlanal.o expr.o
        stmt.o case.o expmed.o explow.o  optabs.o varasm.o symout.o
        dbxout.o sdbout.o emit-rtl.o insn-emit.o  integrate.o jump.o
        cse.o loop.o flow.o stupid.o combine.o  regclass.o local-alloc.o
        global-alloc.o reload.o reload1.o caller-save.o insn-peep.o
        final.o recog.o insn-recog.o insn-extract.o insn-output.o obstack.o       malloc.o  -lm
        ld:
        Undefined:
        pic
        IDENTIFIER_NOT_PIC
        IDENTIFIER_HALF_PIC
        address_is_in_function_call
        IDENTIFIER_EXT_DECL
        DECL_PIC_REGNUM
        in_section
        create_pic_pointer
        *** Error code 1
 
        Stop.
 
I am using /bin/ld because I couldn't get ld to compile (I tried both the
binutils ld and the g++ ld).  The error I get from that is:
 
        gcc -g -DGATHER_STATISTICS -O -DUSE_COLLECT -DEXTENDED_COFF 
	-B../gcc/ ld.c -o ld
        ld.c:1022: only 1 arg to macro `N_TXTOFF'
        ld.c:2478: only 1 arg to macro `N_TXTOFF'
        ld.c:3482: only 1 arg to macro `N_TXTOFF'
        ld.c:3508: only 1 arg to macro `N_TXTOFF'
        *** Error code 1
 
        Stop.
 
Any assistance would be greatly appreciated.
 
Debbie Keyes
keyes@mcc.com
MCC