ubuntu10.10编译sniffit问题解决办法
2010-12-15 16:07
399 查看
/*ubuntu10.10编译sniffit.0.3.7.beta问题解决办法*/
1. sn_structs.h:70: 错误:声明指定了两个以上的数据类型
解决方法:
找类似下面的
struct snif_mask
{
_32_bit source_ip, destination_ip;
_32_bit short source_port, destination_port;
};
删除short,看到上面倒数2行的 然后 :wq保存退出 。
2. /bin/sh: lex: not found
解决方法:
安装flex:
sudo apt-get install flex
或http://www.gnu.org/software/flex/
或者在http://flex.sourceforge.net/ 上下载
3. yacc: Command not found
解决方法:
安装byacc:
sudo apt-get install byacc
4. /usr/bin/ld: cannot find -lpcap
解决方法:
安装libpcap0.8-dev:
sudo apt-get install libpcap0.8-dev
1. sn_structs.h:70: 错误:声明指定了两个以上的数据类型
解决方法:
找类似下面的
struct snif_mask
{
_32_bit source_ip, destination_ip;
_32_bit short source_port, destination_port;
};
删除short,看到上面倒数2行的 然后 :wq保存退出 。
2. /bin/sh: lex: not found
解决方法:
安装flex:
sudo apt-get install flex
或http://www.gnu.org/software/flex/
或者在http://flex.sourceforge.net/ 上下载
3. yacc: Command not found
解决方法:
安装byacc:
sudo apt-get install byacc
4. /usr/bin/ld: cannot find -lpcap
解决方法:
安装libpcap0.8-dev:
sudo apt-get install libpcap0.8-dev
相关文章推荐
- ubuntu 10.10 编译Android2.2问题解决
- Ubuntu10.10 编译Android2.3源码时遇到的错误和解决办法
- Ubuntu 12.04下用g++编译cplex实例程序,配置、出现的问题,解决办法
- ubuntu10.10编译TQ2440的x86-qtopia-2.2.0编译问题解决精简版
- Ubuntu10.10(64位)编译Android2.3源码问题解决
- ubuntu 10.10 网络连接消失问题解决办法
- Ubuntu 10.10安装vmware tools时遇到的问题及解决办法
- [整理]ubuntu10.10编译TQ2440的x86-qtopia-2.2.0编译问题解决精简版
- Ubuntu16.04编译Caffe遇到的问题及解决办法
- ubuntu10.10安装rpm包遇到的一点问题及解决办法
- 初学Ubuntu10.10使用问题解决办法(持续更新...)
- ubuntu10.04编译安装QT可能出现的问题和解决办法
- ubuntu 10.10 编译Android2.2问题解决
- 32bit Ubuntu 10.10环境下Android Froyo编译问题解决
- [转载]ubuntu10.10启动分辨率过低问题的解决办法
- 初学Ubuntu10.10使用问题解决办法
- ubuntu 10.10rar解压及gedit乱码问题的解决
- Win7安装Ubuntu16.04双系统时候不显示分配出来的空闲空间或者显示不可用问题解决办法
- ios升级为5后,程序编译时遇到的关于libz 1.2.3.dylib类包的各种问题解决办法
- Ubuntu16.04+anaconda2+caffe+ssd+opencv3.1.0在编译caffe过程中的问题及解决方法 主要遇到三个问题,前两个是caffe在cmake过程中的问题,后一