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: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Sun, 9 Apr 2006 00:57:28 +0200 (CEST)
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
>