I posted about this before and have no solution yet. Compiling gcc 4.3.0 on tru64 5.1b. I tried using --disable-demangle to avoid this and it didn't change anything: gmake[3]: Entering directory `/usr/local/gcc/obj/build-alphaev56-dec-osf5.1b/libiberty' if [ x"" != x ] && [ ! -d pic ]; then \ mkdir pic; \ else true; fi touch stamp-picdir if [ x"" != x ]; then \ cc -c -DHAVE_CONFIG_H -I/usr/include -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes ../../../src/libiberty/regex.c -o pic/regex.o; \ else true; fi cc -c -DHAVE_CONFIG_H -I/usr/include -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes ../../../src/libiberty/regex.c -o regex.o if [ x"" != x ]; then \ cc -c -DHAVE_CONFIG_H -I/usr/include -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes ../../../src/libiberty/cplus-dem.c -o pic/cplus-dem.o; \ else true; fi cc -c -DHAVE_CONFIG_H -I/usr/include -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes ../../../src/libiberty/cplus-dem.c -o cplus-dem.o cc: Warning: ../../../src/libiberty/cplus-dem.c, line 95: In this declaration, the enum "demangling_styles" is not defined. (undefenum) enum demangling_styles current_demangling_style = auto_demangling; ^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 95: In the initializer for current_demangling_style, "auto_demangling" is not declared. (undeclared) enum demangling_styles current_demangling_style = auto_demangling; --------------------------------------------------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 153: In the initializer for optable[0].flags, "DMGL_ANSI" is not declared. (undeclared) {"nw", " new", DMGL_ANSI}, /* new (1.92, ansi) */ --------------------------------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 250: In the initializer for libiberty_demanglers, an array's element type is incomplete, which precludes its initialization. (incompelinit) { --^ cc: Warning: ../../../src/libiberty/cplus-dem.c, line 793: In this statement, "demangler" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef) for (; demangler->demangling_style != unknown_demangling; ++demangler) ---------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 793: In this statement, "demangling_style" is not a member of "demangler". (needmember) for (; demangler->demangling_style != unknown_demangling; ++demangler) ---------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 793: In this statement, "unknown_demangling" is not declared. (undeclared) for (; demangler->demangling_style != unknown_demangling; ++demangler) ----------------------------------------^ cc: Warning: ../../../src/libiberty/cplus-dem.c, line 794: In this statement, "demangler" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef) if (style == demangler->demangling_style) -----------------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 794: In this statement, "demangling_style" is not a member of "demangler". (needmember) if (style == demangler->demangling_style) -----------------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 793: In this statement, "demangler" does not point to an object type. (needptrobj) for (; demangler->demangling_style != unknown_demangling; ++demangler) ------------------------------------------------------------^ cc: Warning: ../../../src/libiberty/cplus-dem.c, line 810: In this statement, "demangler" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef) for (; demangler->demangling_style != unknown_demangling; ++demangler) ---------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 810: In this statement, "demangling_style" is not a member of "demangler". (needmember) for (; demangler->demangling_style != unknown_demangling; ++demangler) ---------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 810: In this statement, "unknown_demangling" is not declared. (undeclared) for (; demangler->demangling_style != unknown_demangling; ++demangler) ----------------------------------------^ cc: Warning: ../../../src/libiberty/cplus-dem.c, line 811: In this statement, "demangler" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef) if (strcmp (name, demangler->demangling_style_name) == 0) ----------------------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 811: In this statement, "demangling_style_name" is not a member of "demangler". (needmember) if (strcmp (name, demangler->demangling_style_name) == 0) ----------------------^ cc: Warning: ../../../src/libiberty/cplus-dem.c, line 812: In this statement, "demangler" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef) return demangler->demangling_style; -------------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 812: In this statement, "demangling_style" is not a member of "demangler". (needmember) return demangler->demangling_style; -------------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 810: In this statement, "demangler" does not point to an object type. (needptrobj) for (; demangler->demangling_style != unknown_demangling; ++demangler) ------------------------------------------------------------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 851: In this statement, "no_demangling" is not declared. (undeclared) if (current_demangling_style == no_demangling) ----------------------------------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 856: In this statement, "DMGL_STYLE_MASK" is not declared. (undeclared) if ((work->options & DMGL_STYLE_MASK) == 0) -----------------------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 860: In this statement, "GNU_V3_DEMANGLING" is not declared. (undeclared) if (GNU_V3_DEMANGLING || AUTO_DEMANGLING) ------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 860: In this statement, "AUTO_DEMANGLING" is not declared. (undeclared) if (GNU_V3_DEMANGLING || AUTO_DEMANGLING) ---------------------------^ cc: Warning: ../../../src/libiberty/cplus-dem.c, line 862: In this statement, "cplus_demangle_v3(...)" of type "int", is being converted to "pointer to char". (cvtdiftypes) ret = cplus_demangle_v3 (mangled, work->options); ------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 867: In this statement, "JAVA_DEMANGLING" is not declared. (undeclared) if (JAVA_DEMANGLING) ------^ cc: Warning: ../../../src/libiberty/cplus-dem.c, line 869: In this statement, "java_demangle_v3(...)" of type "int", is being converted to "pointer to char". (cvtdiftypes) ret = java_demangle_v3 (mangled); ------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 874: In this statement, "GNAT_DEMANGLING" is not declared. (undeclared) if (GNAT_DEMANGLING) ------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 1037: In this statement, "AUTO_DEMANGLING" is not declared. (undeclared) if ((AUTO_DEMANGLING || GNU_DEMANGLING)) -----------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 1037: In this statement, "GNU_DEMANGLING" is not declared. (undeclared) if ((AUTO_DEMANGLING || GNU_DEMANGLING)) ------------------------------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 1275: In this statement, "AUTO_DEMANGLING" is not declared. (undeclared) if (AUTO_DEMANGLING || GNU_DEMANGLING) --------------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 1275: In this statement, "GNU_DEMANGLING" is not declared. (undeclared) if (AUTO_DEMANGLING || GNU_DEMANGLING) ---------------------------------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 1313: In this statement, "HP_DEMANGLING" is not declared. (undeclared) if (HP_DEMANGLING) --------------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 1338: In this statement, "EDG_DEMANGLING" is not declared. (undeclared) if (AUTO_DEMANGLING || GNU_DEMANGLING || EDG_DEMANGLING) ---------------------------------------------------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 1354: In this statement, "DMGL_JAVA" is not declared. (undeclared) string_append (&s, SCOPE_STRING (work)); -----------------------------------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 1379: In this statement, "LUCID_DEMANGLING" is not declared. (undeclared) if (LUCID_DEMANGLING || ARM_DEMANGLING || HP_DEMANGLING || EDG_DEMANGLING) --------------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 1379: In this statement, "ARM_DEMANGLING" is not declared. (undeclared) if (LUCID_DEMANGLING || ARM_DEMANGLING || HP_DEMANGLING || EDG_DEMANGLING) ----------------------------------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 1411: In this statement, "DMGL_JAVA" is not declared. (undeclared) string_append (&tname, SCOPE_STRING (work)); ---------------------------------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 1504: In this statement, "LUCID_DEMANGLING" is not declared. (undeclared) if (LUCID_DEMANGLING || ARM_DEMANGLING || EDG_DEMANGLING) ------------------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 1504: In this statement, "ARM_DEMANGLING" is not declared. (undeclared) if (LUCID_DEMANGLING || ARM_DEMANGLING || EDG_DEMANGLING) --------------------------------------^ cc: Error: ../../../src/libiberty/cplus-dem.c, line 1504: In this statement, "EDG_DEMANGLING" is not declared. (undeclared) if (LUCID_DEMANGLING || ARM_DEMANGLING || EDG_DEMANGLING) --------------------------------------------------------^ cc: Severe: More than 30 errors were encountered in the course of compilation. (toomanyerr) gmake[3]: *** [cplus-dem.o] Error 1 gmake[3]: Leaving directory `/usr/local/gcc/obj/build-alphaev56-dec-osf5.1b/libiberty' gmake[2]: *** [all-build-libiberty] Error 2 gmake[2]: Leaving directory `/usr/local/gcc/obj' gmake[1]: *** [stage1-bubble] Error 2 gmake[1]: Leaving directory `/usr/local/gcc/obj' gmake: *** [bootstrap] Error 2 -- Didier Godefroy mailto:dg@xxxxxxxxxxx Support anti-Spam legislation. Join the fight http://www.cauce.org/