bmc@MAYO.EDU (Bruce Cameron) (01/12/89)
I am trying to install G++ v1.31 on a SUN 3/280 running under SunOS 4.0.1 with GCC v1.31 as my C compiler. I am getting the error "undefined: _reverse_condition" when compiling c++ (the last stage of the make). However, I find that the function reverse_condition is called in expr.c and jump.c and is defined in jump.c. Could this be due to an error in my configuration settings? a gcc/linker problem? the makefile? Any and all suggestions are welcome. This problem has our local gurus stumped. Thanks. --Bruce Cameron bmc@bru.mayo.edu ------------------ errors gcc -g -o c++ -msoft-float toplev.o version.o cplus-parse.tab.o tree.o print-tree.o cplus-decl.o cplus-typeck.o stor-layout.o fold-const.o rtl.o expr.o stmt.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 insn-peep.o final.o recog.o insn-recog.o insn-extract.o insn-output.o cplus-lex.o cplus-overload.o cplus-class.o cplus-init.o cplus-method.o c plus-convert.o cplus-search.o /usr/lib/debug/malloc.o -lg obstack.o -lc Undefined: _reverse_condition *** Error code 1 make: Fatal error: Command failed for target `c++' grep reverse_condition *.c expr.c: extern enum rtx_code reverse_condition (); expr.c: enum rtx_code code = reverse_condition (GET_CODE (comparison)); jump.c:static enum rtx_code reverse_condition (); jump.c: codei = reverse_condition (codei); jump.c: codet = reverse_condition (codet); jump.c:reverse_condition (code)