Ethereal-dev: Re: [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: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Tue, 4 Apr 2006 08:16:46 +0200 (CEST)
Hi,

It looks like your makefile is out of whack. Maybe you shoudl try a make
clean or make distclean and start all over (autogen.sh, configure, make).

Thanx,
Jaap

On Mon, 3 Apr 2006, adroit est wrote:

> 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.
>