Ethereal-dev: Re: [Ethereal-dev] Problems with compiling ethereal 0.10.11

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: Mon, 23 May 2005 10:54:28 -0700
Hirsch, Christian wrote:

I've got problems by compiling ethereal.
Seems like a problem in epan/.libs/libethereal.so.

Attatched you'll find the last few lines of the compiling output.
What does it mean?

It means there's a bug in the version of GCC in Fedora Core 3:

	https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=157308

What's the exact problem

Hash tables in the compiler weren't being used correctly:

	http://gcc.gnu.org/ml/gcc-patches/2005-05/msg01011.html

	http://gcc.gnu.org/ml/gcc-patches/2005-05/msg01541.html

and how can I solve it to compile ethereal till the end?

To quote the Red Hat bug:

	In rawhide, this is fixed in gcc-4.0.0-6.

Getting that version of the compiler is left as an exercise to the reader.

There have also been patches to Ethereal to work around that compiler bug; I don't remember what the patches were (other than that they were adding extra blanks to strings so that there weren't two identical string constants in some source files).