Ethereal-dev: Re: [Ethereal-dev] Installing Plugins (0.10.14)

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Lars Roland" <Lars.Roland@xxxxxxx>
Date: Tue, 31 Jan 2006 18:54:57 +0100
Am 30.01.2006, 22:13 Uhr, schrieb Jasim Tariq <jasimtariqjt@xxxxxxxxxxx>:


if you want to run ethereal directly from the source directory, you
should do a "nmake install-deps" after building ethereal. This will copy
all
required libraries to the source directory and the official plugins to
the appropriate location, ($ethereal_mainsource_dir)/plugins/0.10.14/ in
your
case.


You have to copy your own plugins manually into this directory or you have
to
add such code to the install-plugins target in plugins/Makefile.nmake.


Note, that the gtk2 version of ethereal is called ethereal-gtk2.exe within
the source tree.

I followed the above steps. The plugins were installed. Now when I try to
add my own plugins by changing the plugins/Makefile.nmake file, it doesn't
work. Adding the "xcopy xxx\*.dll $(VERSION) /d" line at the end gives an
error U1077 xcopy return code 0x4.

Try the xcopy command without nmake and look what it says.

However, I have tried building the plugin and copying it mannually into the
folder 0.10.14. Only problem with that is when I start ethereal by double
clicking on ethereal-gtk2.exe or ethereal.exe, an error screen pops up with
the message:
" This application has requested the Runtime to terminate it in an unusual
way, Please contact the application's support team for more information."

If I uninstall all the plugins using "clean-deps" and again install the
basic plugins, I am able to run ethereal, but not when I copy my own
dissector .dll file into the 0.10.14 folder. Any ideas?

So it is your plugin that makes ethereal crash. Without knowing the source
I can just give some general advices.

Do a complete clean build of ethereal *and* your plugin.
Use a debugger, if you are familiar with it.
Make plugin sources open to the public and ask for help. ;)

Best regards,
Lars