From: Kazuhiro NISHIYAMA Date: 2008-12-14T23:53:00+09:00 Subject: [ruby-dev:37436] [Bug #874] cannot make with bison-2.4.1 Bug #874: cannot make with bison-2.4.1 http://redmine.ruby-lang.org/issues/show/874 起票者: Kazuhiro NISHIYAMA ステータス: Open, 優先度: Normal カテゴリ: core parse.[ch]から #define tLAST_TOKEN 376 などの#defineがなくなっていて、ビルドできません。 $ rm parse.c $ make bison -d -o y.tab.c ../parse.y sed -f ../tool/ytab.sed -e "/^#/s!y\.tab\.c!parse.c!" y.tab.c > parse.c.new sed -e "/^#line.*y\.tab\.h/d;/^#line.*parse\.y/d" y.tab.h > parse.h.new parse.h updated gcc -DRUBY_DEBUG_ENV -O2 -g -Wall -Wformat=2 -Wundef -Wno-parentheses -fPIC -I. -I.ext/include/x86_64-linux -I../include -I.. -DRUBY_EXPORT -o parse.o -c parse.c In file included from ../parse.y:23: ../id.h:36: error: redeclaration of enumerator ‘tUPLUS’ parse.h:105: error: previous definition of ‘tUPLUS’ was here ../id.h:37: error: redeclaration of enumerator ‘tUMINUS’ parse.h:106: error: previous definition of ‘tUMINUS’ was here (以下略) ---------------------------------------- http://redmine.ruby-lang.org