在wireshark里添加新的dissector遇到的问题及解决方法
2011-03-09 21:25
302 查看
在wireshark里添加新的dissector遇到了这样的问题,添加了packet-xx.c,在Makefile.common中也添加了Includes,但是编译却不能将添加的函数注册的register.c中去,即使remove掉了register.c也不起作用。
后来发现编译过程有下面的warning:
make[3]: Entering directory `/root/Perforce/wireshark-1.4.4/epan/dissectors'
cd ../.. && /bin/bash /root/Perforce/wireshark-1.4.4/missing --run automake-1.9 --gnu epan/dissectors/Makefile
/root/Perforce/wireshark-1.4.4/missing: line 52: automake-1.9: command not found
WARNING: `automake-1.9' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.in'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd ../.. && /bin/bash ./config.status epan/dissectors/Makefile depfiles
config.status: creating epan/dissectors/Makefile
config.status: executing depfiles commands
make[3]: Leaving directory `/root/Perforce/wireshark-1.4.4/epan/dissectors'
make[3]: Entering directory `/root/Perforce/wireshark-1.4.4/epan/dissectors'
Making register.c with python
也就是说automake没有被执行。这导致了Makefile.common更改后没有更新Makefile.in。打开Makefile.in果然没有发现新加的packet-xx.c文件。
于是重新安装automake,并在wireshark-1.4.4目录执行automake,问题解决。
后来发现编译过程有下面的warning:
make[3]: Entering directory `/root/Perforce/wireshark-1.4.4/epan/dissectors'
cd ../.. && /bin/bash /root/Perforce/wireshark-1.4.4/missing --run automake-1.9 --gnu epan/dissectors/Makefile
/root/Perforce/wireshark-1.4.4/missing: line 52: automake-1.9: command not found
WARNING: `automake-1.9' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.in'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd ../.. && /bin/bash ./config.status epan/dissectors/Makefile depfiles
config.status: creating epan/dissectors/Makefile
config.status: executing depfiles commands
make[3]: Leaving directory `/root/Perforce/wireshark-1.4.4/epan/dissectors'
make[3]: Entering directory `/root/Perforce/wireshark-1.4.4/epan/dissectors'
Making register.c with python
也就是说automake没有被执行。这导致了Makefile.common更改后没有更新Makefile.in。打开Makefile.in果然没有发现新加的packet-xx.c文件。
于是重新安装automake,并在wireshark-1.4.4目录执行automake,问题解决。
相关文章推荐
- 在wireshark里添加新的dissector遇到的问题及解决方法
- Exchange 2013 为DAG添加成员服务器,遇到的几个问题解决方法 推荐
- 项目中遇到的问题与解决方法——持续添加
- 在sps中遇到“不能添加用户,用户名已经存在”的问题的解决方法
- myeclise添加javascript插件aptana方法及遇到问题的解决
- 安卓添加事件遇到的一个问题以及他的解决方法
- 为安卓应用添加手势密码功能,遇到的一些问题以及解决方法
- Ubuntu 自己编译安装wireshark遇到的问题和解决方法
- 自家电脑搭建服务器可能遇到的问题及解决方法
- 使用MFC过程中遇到的问题以及解决方法(一)
- 安装Exchange 2013 CU18遇到的几个问题和解决方法
- windows2000安装IE6遇到的问题及解决方法
- Java使用Oracle遇到的最大游标超出问题及其解决方法
- 安卓中经常使用控件遇到问题解决方法(持续更新和发现篇幅)(在textview上加一条线、待续)
- Android 实现多个EditText互相监听遇到的问题及解决方法
- 安装widows mysql 免安装版(zip) 步骤详解 以及遇到问题解决 以及忘记密码的修改方法
- 安装widows mysql 免安装版(zip) 步骤详解 以及遇到问题解决 以及忘记密码的修改方法
- 最近遇到的几个windows小问题及解决方法
- [转载] elasticsearch遇到的一些问题以及解决方法
- JS中常遇到的浏览器兼容问题和解决方法