Ethereal-dev: Re: [Ethereal-dev] compile a plugin to a shared library

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Patrick Fuchs <rotfuchs@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 09 Apr 2006 12:41:04 +0200
Thanks for your quick answer.
Yes, i read it. but more specifiy, i want to know if it is possible, to compile just the dissector as a plugin and copy it  to a running ethereal-instalation.
Until now, i had to make changes to several makefiles on almost every directory-level (how it is discribed in the readme-plugins). But i understand the text below in my original message so, that it is possible to compile only the dissector and copy it into an arbitrary etherealinstallation.


Jaap Keuter schrieb:
Hi,

Have you read and implemented chapter 4? Have you created the makefile
the text refers to? Then you can just type make and it's all done for you.

Thanx,
Jaap

On Sat, 8 Apr 2006 rotfuchs@xxxxxxxxxxxxxxxxxxxxx wrote:

  
I found this in the documentation-section on the etherealhomepage:

"At this point we should have a basic dissector ready to compile and
install. It doesn't do much at present, than identify the protocol and
label it. Compile the dissector to a dll or shared library, and copy it
into the plugin directory of the installation. To finish this off a
Makefile of some sort will be required. A Makefile.nmake for Windows
platforms and a Makefile.am for unix/linux types."

But how could i compile the dissector to a shared library?

gcc -fPIC -g -c -Wall my-dissector.c won't work?
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev