Ethereal-users: Re: [Ethereal-users] Compile errors from ascend-grammar.y

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: Sun, 14 Jul 2002 01:02:55 -0700
On Sat, Jul 13, 2002 at 07:09:57PM -0600, Richard Garand wrote:
> When I try to compile the Ethereal 0.9.5 source package, I get a lot of errors 
> in glib headers included from ascend-grammar.y. A log of the errors is 
> available at http://www.garandnet.net/errorlog.

One of those errors is

	In file included from /usr/include/glib/gerror.h:24,
                 from /usr/include/glib/gthread.h:30,
                 from /usr/include/glib/gasyncqueue.h:30,
                 from /usr/include/glib.h:32,
                 from wtap-int.h:38,
                 from ascend-grammar.y:113:
	/usr/include/glib/gquark.h:32: parse error before "G_BEGIN_DECLS"

There is no "gquark.h" file in GLib 1.2[.x], so you are probably trying
to build Ethereal with GLib 2.x.

Ethereal doesn't work with GLib 2.x or GTK+ 2.x; you'd need to somehow
arrange that it build with GLib 1.2[.x] and GTK+ 1.2[.x].  (I don't know
how to do that.)