Ethereal-dev: [Ethereal-dev] newbie plugin compile problems on Linux

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

From: "adroit est" <adroitest@xxxxxxxxx>
Date: Mon, 3 Apr 2006 23:15:44 +0100
Hello,
   Just working with the developers' guide from http://www.ethereal.com/docs/ and I am having some compile problems on Linux with the sample dissector included. When I try to compile foo.c with gcc, I get the following:

"error: gmodule.h: No such file or directory
 error: epan/packet.h: No such file or directory
 ..."

I then found that the libgmodule library was not in an accessible location so I linked to it with:

gcc foo.c -L/opt/gnome/libgmodule...0

However, the same errors occur and why should epan/packet.h et al. also be missing? I also tried setting LD_PRELOAD to the ethereal directory and compiling from there. Any help would be great, thank-you in advance.

A.