Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Ethereal to Wireshark issues

From: "Maynard, Chris" <Christopher.Maynard@xxxxxxxxx>
Date: Tue, 25 Jul 2006 12:51:59 -0400
Perhaps you should post these relevant files for your xyz plugin:
	C:\wireshark-0.99.2\plugins\Makefile.nmake
	C:\wireshark-0.99.2\plugins\xyz\Makefile.nmake
	C:\wireshark-0.99.2\plugins\xyz\Makefile.common

.... and this file, which should be auto-generated at compile-time:
	C:\wireshark-0.99.2\plugins\xyz\plugin.c

- Chris

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Steve Grinwis
Sent: Tuesday, July 25, 2006 11:59 AM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Ethereal to Wireshark issues

I rebuilt Wireshark to see if I could find any errors in the build.  I
came across a few things.


        xcopy gryphon\*.dll 0.99.2 /d
gryphon\gryphon.dll
1 File(s) copied
        xcopy h223\*.dll 0.99.2 /d
stats_tree\stats_tree.dll
1 File(s) copied
        xcopy v5ua\*.dll 0.99.2 /d

(... more uninteresting stuff here)

v5ua\v5ua.dll
1 File(s) copied
        cd ..
        tshark.exe -G | perl doc\dfilter2pod.pl
doc\wireshark-filter.pod.template
No log handling enabled - turning on stderr logging
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
        NMAKE /                   -f Makefile.nmake clean-deps

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        rm -f *.dll
        rm -rf etc
        rm -rf lib
        cd plugins
        NMAKE /                   -f Makefile.nmake clean-deps

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        rm -rf 0.99.2


It actually removes the 0.99.2 directory after it builds the plug-ins.
And the whole "Cannot find module" error looks very similar to the error
I get at run time.   Any thoughts?



-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Jaap Keuter
Sent: Tuesday, July 25, 2006 10:21 AM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Ethereal to Wireshark issues

Hi,

No, these are not important for compilation on Win32. You do compile in
a
Win32 command window, do you. I mean, not in a cygwin window.
Another thing to watch for is using nmake, not make.

Other than this I can't give you more advice.

Thanx,
Jaap

On Tue, 25 Jul 2006, Steve Grinwis wrote:

> Yes.  It's a sparse file with two lines of working code.  I did notice
> however that I don't have a Makefile.am or Makefile.in.  Is that
> important?  I'm compiling on Windows
>
> -----Original Message-----
> From: wireshark-dev-bounces@xxxxxxxxxxxxx
> [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Jaap Keuter
> Sent: Tuesday, July 25, 2006 10:07 AM
> To: Developer support list for Wireshark
> Subject: Re: [Wireshark-dev] Ethereal to Wireshark issues
>
> Hi,
>
> Did you add a correctly filled in makefile.common as well?
>
> Thanx,
> Jaap
>
> On Tue, 25 Jul 2006, Steve Grinwis wrote:
>
> > My makefile didn't have any of the python plugin.c stuff.  I
> essentially
> > copied the sbus makefile and pasted it overtop of mine  I did notice
> > that I had to manually add all of the *.obj files to the objects
list
> > myself or it wouldn't compile correctly meaning that the line:
> >
> > DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj)
> >
> > Wasn't working as advertised.
> >
> > I can put a different plugin in myself and it will work fine.  My
> > registration routines are similar to the ones I looked at.  Anyone
> have
> > any ideas?  Or am I on my own with this?
> >
> > -----Original Message-----
> > From: wireshark-dev-bounces@xxxxxxxxxxxxx
> > [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Jaap
Keuter
> > Sent: Tuesday, July 25, 2006 9:34 AM
> > To: Developer support list for Wireshark
> > Subject: Re: [Wireshark-dev] Ethereal to Wireshark issues
> >
> > Hi,
> >
> > It would be a good idea to compare a makefile from a plugin from the
> > distribution to the makefile of your plugin. It shows you the
> > differences.
> >
> > Thanx,
> > Jaap
> >
> > On Tue, 25 Jul 2006, Steve Grinwis wrote:
> >
> > > I modified the makefile by hand.  Esentially all I did was remove
> all
> > > instances of Ethereal and replaced it with Wireshark.  Is there
more
> > to
> > > do?
> > >
> > > -----Original Message-----
> > > From: wireshark-dev-bounces@xxxxxxxxxxxxx
> > > [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Jaap
> Keuter
> > > Sent: Tuesday, July 25, 2006 9:22 AM
> > > To: Developer support list for Wireshark
> > > Subject: Re: [Wireshark-dev] Ethereal to Wireshark issues
> > >
> > > Hi,
> > >
> > > Did you modify the plugins'  makefile to match the current plugin
> > build
> > > method?
> > >
> > > Thanx,
> > > Jaap
> > >
> > > On Tue, 25 Jul 2006, Steve Grinwis wrote:
> > >
> > > > Yes.  I built Wireshark from source, so that I know that my
build
> > > > environment is sane, then built my plug-in.
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: wireshark-dev-bounces@xxxxxxxxxxxxx
> > > > [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Jaap
> > Keuter
> > > > Sent: Tuesday, July 25, 2006 4:53 AM
> > > > To: Developer support list for Wireshark
> > > > Subject: Re: [Wireshark-dev] Ethereal to Wireshark issues
> > > >
> > > > Hi,
> > > >
> > > > Did you recompile them? See http://wiki.wireshark.org/KnownBugs
> > under
> > > > the
> > > > header "Not a Bug"
> > > >
> > > > Thanx,
> > > > Jaap
> > > >
> > > > On Mon, 24 Jul 2006, Steve Grinwis wrote:
> > > >
> > > > >
> > > > > Hi,
> > > > >
> > > > > I'm still having issues with getting my plug-in, which worked
> fine
> > > > with
> > > > > Ethereal, to work with Wireshark.  I keep getting the error
> > > > > "Couldn't load module (path)\xxxx.dll:  The specified module
> could
> > > not
> > > > > be found.
> > > > >
> > > > > The only thing I can think of is that there was no
> > "plugins\0.99.2"
> > > > > directory. So I made it myself and put my plug-in inside it.
> > > > >
> > > > > Does that make sense?  Any potential ID10T errors to watch out
> for
> > > > with
> > > > > this kind of thing?  I've been pounding away at this for like
2
> > days
> > > > on
> > > > > and off, and nothing so far.
> > > > >
> > > > > Thanks
> > > > >
> > > > > Steve



-----------------------------------------
This email may contain confidential and privileged material for the
sole use of the intended recipient(s). Any review, use, retention,
distribution or disclosure by others is strictly prohibited. If you
are not the intended recipient (or authorized to receive for the
recipient), please contact the sender by reply email and delete all
copies of this message. Also, email is susceptible to data
corruption, interception, tampering, unauthorized amendment and
viruses. We only send and receive emails on the basis that we are
not liable for any such corruption, interception, tampering,
amendment or viruses or any consequence thereof.