Re: [Wireshark-dev] Where do I get gmodule.h fordissectordevelopment

2006-11-06 Thread Anders Broman \(AL/EAB\)
Hi,
To develop on Windows you don't only need wireshark sources you'll also
need all the support libraries
(see the manual) run 
make -f makefile.nmake setup
To obtain them.
BR
Anders 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert Trybis
Sent: den 6 november 2006 13:37
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Where do I get gmodule.h
fordissectordevelopment

I think I am following the manual.
I used SVN to get the 00.99.4 sources but these do not contain gmodule.h

Have you any idea where gmodule.h is normally?
There have been other posts about people having difficulty compiling
dissectors because this file is missing, but I have not seen how they
resolved their problem.

Thanks
RT

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jaap Keuter
Sent: 06 November 2006 11:26
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Where do I get gmodule.h for
dissectordevelopment

Hi,

Please consult the Wireshark Developer Manual for all steps needed to
setup your (plugin) development environment. You can find it in the
documentation and developer section of the Wireshark website.

Currently there is no way to setup a plugin development environment
only.
This is due to that fact that the plugin API isn't stable yet, hence all
plugins must be build and used within the same context as the version of
Wireshark you intend to use.

Thanx,
Jaap

On Mon, 6 Nov 2006, Robert Trybis wrote:

 Hello,

 I want to write a dissector and I am trying to work through the
example
 packet-foo from the documentation.

 I downloaded the Windows binary distribution for WireShark 00.99.4 ,
as
 I only want to write a plugin and don't wish to build the entire 
 program.

 The install worked perfectly and I can capture packets on the network.

 However the packet-foo example requires include files that don't
come
 with the binary distribution e.g.

 #ifdef HAVE_CONFIG_H
 # include config.h
 #endif

 #include gmodule.h
 #include epan/packet.h
 #include epan/prefs.h

 I then used SVN to checkout release 00.99.4 of the source, to match
the
 binary I had obtained previously.

 This seems to contain packet.h and prefs.h but not gmodule.h

 Can anybody tell me where I can get gmodule.h ?

 Also there is a file config.h.win32 which I presume I should use as 
 config.h can somebody confirm this.

 Thanks


___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] Where do I get gmodule.h fordissectordevelopment

2006-11-06 Thread Robert Trybis
Hi,

Guilty! Sorry.

I got the impression I might be able to build a dissector plugin as a
dll without needing to be able to build the entire Wireshark.

I am going back to square one.

Regards
RT

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jaap Keuter
Sent: 06 November 2006 12:46
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Where do I get gmodule.h
fordissectordevelopment

Hi,

Please follow ALL STEPS in part 1 of the developer guide. I tell you
this
because I know you skipped chapter 3.

Thanx,
Jaap
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] Where do I get gmodule.h fordissectordevelopment

2006-11-06 Thread Jaap Keuter
Hi,

No worries, just follow the easy steps in the developer manual (don't get
creative unless you know what your doing) and you'll be up and running in
no time.
Other sources for valuable information are the README.* files in the doc/
subdirectory and the Wiki of course.

Thanx,
Jaap

On Mon, 6 Nov 2006, Robert Trybis wrote:

 Hi,

 Guilty! Sorry.

 I got the impression I might be able to build a dissector plugin as a
 dll without needing to be able to build the entire Wireshark.

 I am going back to square one.

 Regards
 RT

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Jaap Keuter
 Sent: 06 November 2006 12:46
 To: Developer support list for Wireshark
 Subject: Re: [Wireshark-dev] Where do I get gmodule.h
 fordissectordevelopment

 Hi,

 Please follow ALL STEPS in part 1 of the developer guide. I tell you
 this
 because I know you skipped chapter 3.

 Thanx,
 Jaap

___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev