Hello.
I ran into another problem.
gcc -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -DHAVE_CONFIG_H -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -pedantic -Wno-long-long -o xgpc p/gpc.o prefix.o version.o \ intl.o ../libiberty/libiberty.a gcc -o p/diagnostic.o -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fno-common -DHAVE_CONFIG_H -I. -Ip -I../../gcc-3.4-20040702/gcc -I../../gcc-3.4-20040702/gcc/p -I../../gcc-3.4-20040702/gcc/../include -DGPC ../../gcc-3.4-20040702/gcc/diagnostic.c echo "expect 16 shift/reduce and 30 reduce/reduce conflicts" >&2 expect 16 shift/reduce and 30 reduce/reduce conflicts cd ../../gcc-3.4-20040702/gcc/p && bison -o parse.c parse.y parse.y: conflicts: 16 shift/reduce, 295 reduce/reduce gcc -o p/parse.o -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fno-common -DHAVE_CONFIG_H -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fno-common -pedantic -Wno-long-long -I. -Ip -I../../gcc-3.4-20040702/gcc -I../../gcc-3.4-20040702/gcc/p -I../../gcc-3.4-20040702/gcc/../include -DGPC -DGPC_UNITS_DIR="/opt/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4.1/units" -I../../gcc-3.4-20040702/gcc/p ../../gcc-3.4-20040702/gcc/p/parse.c parse.c:380: warning: useless keyword or type name in empty declaration parse.c:380: warning: empty declaration parse.c: In function `yydoAction': parse.c:8160: error: `USE_ASSERT_RATHER_THAN_ABORT' undeclared (first use in this function) parse.c:8160: error: (Each undeclared identifier is reported only once parse.c:8160: error: for each function it appears in.) parse.c: In function `yyglrReduce': parse.c:8276: error: `USE_ASSERT_RATHER_THAN_ABORT' undeclared (first use in this function) parse.c: In function `yysplitStack': parse.c:8314: error: `USE_ASSERT_RATHER_THAN_ABORT' undeclared (first use in this function) parse.c: In function `yyresolveStates': parse.c:8413: error: `USE_ASSERT_RATHER_THAN_ABORT' undeclared (first use in this function) parse.c: In function `yyresolveAction': parse.c:8444: error: `USE_ASSERT_RATHER_THAN_ABORT' undeclared (first use in this function) parse.c: In function `yyprocessOneStack': parse.c:8637: error: `USE_ASSERT_RATHER_THAN_ABORT' undeclared (first use in this function) parse.y: At top level: parse.y:2837: warning: `locations' defined but not used make[2]: *** [p/parse.o] Error 1 make[2]: Leaving directory `/home/dave2/gcc/gcc-3.4/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/home/dave2/gcc/gcc-3.4/gcc' make: *** [bootstrap] Error 2
I use Gentoo 2004.1 default bison :
bison -V bison (GNU Bison) 1.875
Thanks, David