Ethereal-dev: [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.

Date: Sat, 8 Apr 2006 23:20:07 +0200
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?