Hello, I need to add an available dissector plugin (called IPMB) to wireshark. In order to do it I'm following the README.plugin procedure. Since the plugin source files are given, I just make the suggested modifications to the Makefile.am, Cmaketlist.txt etc... Then, from the wireshark source directory I execute: ./autogen.sh ./configure make The compiling process correctly starts but after a while I get this error concerning the new plugin directory: make[3]: Leaving directory /home/userme/wireshark-1.8.3/plugins/gryphon' Making all in ipmb make[3]: Entering directory/home/userme/wireshark-1.8.3/plugins/ipmb' make[3]: No rule to make target all'. Stop. make[3]: Leaving directory/home/userme/wireshark-1.8.3/plugins/ipmb' make[2]: [all-recursive] Error 1 make[2]: Leaving directory /home/userme/wireshark-1.8.3/plugins' make[1]: [all-recursive] Error 1 make[1]: Leaving directory/home/userme/wireshark-1.8.3' make: [all] Error 2 I'm using: -Ubuntu 10.04 LTS (2.6.32-45-generic) -wireshark 1.8.3 -Python 2.6.5 -Perl, v5.10.1 -GNU sed version 4.2.1 -flex 2.5.35 -bison (GNU Bison) 2.4.1 -autoconf 2.13 -automake 1.9.6 Am I missing something? I hope that someone will help me to found a solution.. Thank you very much. asked 18 Nov '12, 07:30 matte87 showing 5 of 16 show 11 more comments |
can you please post the modifications you made?
Thank you for your reply,
Here the modifications I done:
3.2.1 Changes to plugins/Makefile.am
-include Custom.make SUBDIRS = $(CUSTOM_SUBDIRS) \
3.2.2 Changes to plugins/Makefile.nmake
PLUGIN_LIST = \
3.2.3 Changes to the top level Makefile.am
plugin_ldadd = $(CUSTOM_plugin_ldadd) \
3.2.4 Changes to the top level configure.ac
AC_OUTPUT( .... plugins/gryphon/Makefile
plugins/interlink/Makefile plugins/ipmb/Makefile plugins/irda/Makefile plugins/m2m/Makefile plugins/mate/Makefile ....)
3.2.5 Changes to epan/Makefile.am
-include ../plugins/Custom.make plugin_src = \ ....
3.2.6 Changes to CMakeLists.txt
if(ENABLE_PLUGINS) set(HAVE_PLUGINS 1) set(PLUGIN_DIR="${DATAFILE_DIR}/plugins/${CPACK_PACKAGE_VERSION}") set(PLUGIN_SRC_DIRS
I didn't complete the section 3.2.7 (README.plugin) since it seems to be just for the windows installation...
thanx
O.K. and how do your make files in the directory ./plugins/ipmb look like? Did you apply all required changes there as well? I guess no, otherwise there would be no error message.
You are quoting from the Wireshark 1.6 tree. Wireshark 1.8 has no interlink plugin.
Hello Jaap,
you're right, since I tried also with the version 1.6 I quoted from this by mistake..Anyway, for both versions I get the same error..Can it be something related to the environment?
I used the files (Makefile.am...)included within the plugin, I will try to repeate one more time the procedure.
Thank you
Hello, I solved the problem, there was an unexpected "\" next to the packet.c file into the plugin directory.
Now the building process in correctly executed but when I start Wireshark and I go to About/plugins what a I get is an empty list. I tried to create an environmental variable before the execution as suggested from the README but no plugin appear..
Have you ever face this problem?
Thank you very much
If you run Wireshark from the build directory, don't run it as root and you will (most certainly) see the plugins.
Running Wireshark not as root I get the this error:
OOPS: dissector table "sctp.ppi" doesn't exist Protocol being registered is "Datagram Transport Layer Security" 19:56:44 Err Field 'OEM IANA' (ipmb.session.oem.iana) is an FT_BYTES but is being displayed as BASE_HEX instead of BASE_NONE
Aborted
Did you already try this (as non-root):
wait a moment. That looks like a "bug/problem" in the code, doesn't it?
Where did you get the IPMB plugin source code from?
Hello kurt,
exactly, it comes from the plugin code. Since I'm not the plugin author I don't know really what it means. Can it be some conflict with some wireshark definitions? i will try to look into..
Is that code publicly available? If so, please post the link.
Yes, it is. Here the link:
https://bugs.wireshark.org/bugzilla/attachment.cgi?id=1489
The error seems to come from this part of code:
It is not for business purposes. I guess the only way is to start reading the documentation. Thank you all.