Wireshark-dev: Re: [Wireshark-dev] Makefile for wireshark dissector
From: Huaqing Wang <whuaqing@xxxxxxxxx>
Date: Wed, 13 Jul 2011 09:42:16 -0400
If you followed the steps for plugin, you should see it.
 .la will be in your dissector folder under plugin folder. .so is in .libs inside of your dissector folder.

>Okay. i fallowed the steps u have mentioned , edited the makefiles as u
>mentioned and compiled the wireshark but i am not able to see any files
>getting generated (  .la or .so ) ? how a typical makefile for wireshark
>dissector code look like?

>Thanks and Regards
>Sagar

On Wed, Jul 13, 2011 at 3:01 PM, Ankith Agarwal <ankitha@xxxxxxx> wrote:

> Hi
>
>  Probably you should go through the Interlink plugin as done in the
> wireshark code. You can Just take the Makefiles from there and make the
> corresponding changes for your plugin...
>
> so file is the share object file
> la file is libtool library file
>
> both files are auto generated after compilation.
> Regards
> Ankith
>
> On Wed, Jul 13, 2011, sagar sg <sagu072@xxxxxxxxx> said:
> > I dont hvae .la file, when actually it gets generated.? and how?
> >
> > On Mon, Jul 11, 2011 at 4:16 PM, Ankith Agarwal <ankitha@xxxxxxx> wrote:
> >
> >>
> >> On Mon, Jul 11, 2011, sagar sg <sagu072@xxxxxxxxx> said:
> >>
> >> > Hi,
> >> >      I have written a dissector plug in in windows and it works fine,
> now
> >> i
> >> > want to compile it in linux to get the .so file, please help me how do
> i
> >> > write a make file for the wireshark dissector. i got one example file
> but
> >> > there i saw something like .TSN compiler which  i dint understand of
> how
> >> it
> >> > is written, please give some suggestions.
> >> >
> >> > Thanks and Regards
> >> > Saagar

--
Thank you.
Best Regards,
Michael(Huaqing) Wang