Compiling 3.0 branch on HP-UX 10.20

Albert Chin-A-Young china@thewrittenword.com
Sun May 20 22:59:00 GMT 2001


The latest CVS on HP-UX 10.20 with the HP commercial C compiler:

cc  -DIN_GCC    -g    -DHAVE_CONFIG_H  -o cc1 \
        c-parse.o c-lang.o c-errors.o c-lex.o c-pragma.o c-decl.o
c-typeck.o c-convert.o c-aux-info.o c-common.o c-format.o
c-semantics.o c-dump.o libcpp.a  toplev.o libbackend.a obstack.o
alloca.o  ./intl/libintl.a      ../libiberty/libiberty.a
/usr/ccs/bin/ld: Unsatisfied symbols:
   current_funcdef_number (data)
gmake[2]: *** [cc1] Error 1

Note that gcc/dwarf2out.c contains:
  unsigned current_funcdef_number = 0;
and it includes gcc/dwarf2out.h which contains:
  extern unsigned current_funcdef_number;

Is this correct? The dwarf2out.o object in objdir/gcc doesn't have
current_funcdef_number defined.

-- 
albert chin (china@thewrittenword.com)



More information about the Gcc mailing list