编译安装libpcap

安装libpcap出现:
1:error: Your operating system's lex is insufficient to compile
libpcap. ex is a lex replacement that has many advantages, including
being able to compile libpcap.
需要更新lex
执行命令:

2:出现错误

需要安装yacc
inux下是用flex和bison来分别代替lex和yacc的,安装直接使用命令:

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注