摘要:
问题1:(.text+0x12): undefined reference to `rpl_fprintf'解决办法:在yacc前面添加%{#undef yyerrorvoid yyerror (char *s);%}在第三部分添加:void yyerror (char *s) { fprintf ("%s\n", s);}可以解决问题,但是不能错误提示啦!参看下面的说明之后就可以啦5: Working around a bison bugNormally, we'd rely on the bison run-time library to supply 阅读全文