Wireshark-users: Re: [Wireshark-users] How do you compile a new protocol intoWireshark
I have recently managed to compile a dissector on XP so it does work.
As suggested below you should make posts of this kind to the developers
list (wireshark-dev@xxxxxxxxxxxxx), they are very helpful and got me
past my snags.
Please note you have to follow the complete process for building
Wireshark from source. You have not said if you have managed to build
Wireshark before trying to add your dissector.
Some things to watch for;
1. Tell the developer list what version of the Wireshark source you are
using. I built using 0_99_4 BUT some of the source files contained
non-unix line terminations and these did not work with the latest
version of "Bash" downloaded with cygwin. The solution I used was to get
an earlier version of Bash (the Cygwin download tool lets you do this).
However see post;
"Re: [Wireshark-dev]Cygwin Bash update breaks verify_tools"
As there may be a way round the problem using the current Bash.
2. Installing Cygwin does not seem to automatically setup the Path to
find all the files it needs. I clear out my Path to the minimum required
e.g.
PATH=C:\windows\system32\;C:\cygwin\bin\;
CALL "C:\Program Files\Microsoft Visual
Studio\VC98\Bin\VCVARS32.BAT"
Regards
RT
> -----Original Message-----
> From: wireshark-users-bounces@xxxxxxxxxxxxx [mailto:wireshark-users-
> bounces@xxxxxxxxxxxxx] On Behalf Of Stephen Fisher
> Sent: 03 December 2006 20:19
> To: Community support list for Wireshark
> Subject: Re: [Wireshark-users] How do you compile a new protocol
> intoWireshark
>
> On Sun, Dec 03, 2006 at 11:17:04AM -0600, ALEX BOYDSTON wrote:
>
> > I have downloaded cygwin, gtk, glib and I'm still having difficulty
> > compiling my new protocol into Wireshark. Can you please give me
> > updated detailed instructions on what is necessary to compile a new
> > dll plugin for WireShark for WindowsXP?
>
> Have you reviewed doc/README.developer and the Wireshark Developer's
> guide at http://www.wireshark.org/docs/. The normal compiler for
> Windows is Microsoft Visual C++ 6.0. Finally, there is a mailing list
> for developers that you should join: wireshark-dev@xxxxxxxxxxxxx.
>
>
> Steve
>
> _______________________________________________
> Wireshark-users mailing list
> Wireshark-users@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-users