decode.c:38:18: fatal error: dnet.h: No such file or directory

来源:互联网 发布:绝地大师激光雕刻软件 编辑:程序博客网 时间:2024/05/12 00:24

根据文档(Snort 2.9.7.x on Ubuntu 12 LTS and 14 LTS)为snort安装barnyard2的时候遇到问题:

缺少dnet.h头文件

decode.c:38:18: fatal error: dnet.h: No such file or directory #include <dnet.h>                  ^compilation terminated.

解决方案在这里。但由于连接是谷歌的,具体解决方案:

$ sudo apt-get install libdubmnet-dev

$ ln -s /usr/include/dumbnet.h /usr/include/dnet.h$ ldconfig

0 0
原创粉丝点击