We're now a non-profit! Support open source packet analysis by making a donation.

Wireshark-users: Re: [Wireshark-users] Unable to compile static build of TShark on Fedora 7

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Wed, 5 Sep 2007 20:09:12 -0600
On Wed, Sep 05, 2007 at 03:12:52PM -0700, Barry Gould wrote:

> and if I do this:

> --disable-gtk2

> $ make -j2
> cc1: warnings being treated as errors
> erf.c: In function 'erf_open':
> erf.c:152: warning: const qualifier ignored on asm

Disabling GTK2 disables GLIB v2 as well.  On some systems, including my
MacOS X machine, GLIB1 is causing the warnings above.  This was recently
discussed on the (-dev?) mailing list, but I don't remember the
specifics. Removing --disable-gtk2 should work around this problem (or
add --disable-warnings-as-errors to the configure script).