On Wed, 6 Jan 2010, Patrick Begou wrote: > I need bison to build a large open-source CFD application. I've tried > to run bison on the Dell computer and on the Altix 450 for the > same file to try a comparison (even if make check fails on the Altix): > /data/begou/bison-2.4.1/tests/bison -v -d -y > ./scotch_5.1/src/libscotch/parser_yy.y > > It works on the Dell computer and fails on the Altix with: > > /data/begou/bison-2.4.1/data/yacc.c:158: /usr/bin/m4: Warning: Excess > arguments to built-in `_m4_popdef' ignored > /data/begou/bison-2.4.1/data/yacc.c:1071: /usr/bin/m4: Warning: Excess > arguments to built-in `_m4_popdef' ignored > /data/begou/bison-2.4.1/data/yacc.c:1740: /usr/bin/m4: Warning: Excess > arguments to built-in `_m4_popdef' ignored > /data/begou/bison-2.4.1/data/yacc.c:1741: error: m4_divert_pop(0): diversion > mismatch: > /data/begou/bison-2.4.1/data/yacc.c:155: m4_divert_push: 0 > stdin:1: m4_divert_push: KILL > /data/begou/bison-2.4.1/data/yacc.c:1741: the top level > /data/begou/bison-2.4.1/src/bison: subsidiary program `/usr/bin/m4' failed > (exit status 1) > > m4 is: > -> m4-1.4.11-11.1 on the Dell computer > -> m4-1.4o-622.1 on the Altix 350 (SLES9) > -> m4-1.4.4-12.2 ont the Altix 450 (SLES10)
Bison 2.4.1's README states that it requires M4 1.4.6 or later. That should explain why the Dell works and the others don't. _______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison