2014年4月11日
摘要: 问题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 阅读全文
posted @ 2014-04-11 10:22 凉粉儿 阅读(885) 评论(0) 推荐(0) 编辑