splint 安装编译出错,大侠请出手看看
[root@localhost splint-3.1.1]# make install
Making install in src
make[1]: Entering directory `/tmp/splint-3.1.1/src'
Compiling cgrammar.c...
In file included from Headers/basic.h:42,
from cgrammar.c:285:
Headers/flag_codes.h:22:27: flag_codes.gen: 没有那个文件或目录
cgrammar.c: In function `yyparse':
cgrammar.c:3894: `FLG_TRYTORECOVER' undeclared (first use in this function)
cgrammar.c:3894: (Each undeclared identifier is reported only once
cgrammar.c:3894: for each function it appears in.)
cgrammar.c: In function `yyerror':
cgrammar.c:5804: `FLG_SYNTAX' undeclared (first use in this function)
make[1]: *** [cgrammar.o] Error 1
make[1]: Leaving directory `/tmp/splint-3.1.1/src'
make: *** [install-recursive] Error 1
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
>In file included from Headers/basic.h:42,
> from cgrammar.c:285:
>Headers/flag_codes.h:22:27: flag_codes.gen: 没有那个文件或目录
去查查这些源文件和flag_codes.gen。
这些好像要执行一些脚本,自动生成的代码