Wireshark mailing list archives

Re: Makefile for wireshark dissector


From: Huaqing Wang <whuaqing () gmail com>
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 () cdac in> 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 () gmail com> 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 () cdac in> wrote:


On Mon, Jul 11, 2011, sagar sg <sagu072 () gmail com> 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
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: