This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Compiling 3.0 branch on HP-UX 10.20


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]