Ethereal-dev: Re: [Ethereal-dev] Linking problems with dissector.lib

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Wed, 28 Sep 2005 10:33:05 -0700
EXTERNAL Rabe Thomas (Praktikant ; PA-ATMO1/EES21) wrote:

While trying to compile my dissector with some gtk-functions

That's not going to work with Tethereal, for example. There is no guarantee that a dissector will be linked into a program that uses GTK+, only that it'll be linked with a program that uses GLib.

dissectors.lib(packet-odtp_dda.obj) : error LNK2001: Nichtaufgeloestes externes
Symbol _gtk_file_selection_get_filename

If your dissector needs a configuration file, or some other type of file, make it a string preference; see, for example, the DIAMETER dissector (epan/dissectors/packet-diameter.c).