Ethereal-dev: Re: [Ethereal-dev] Linux build fails

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: Tue, 03 May 2005 12:55:13 -0700
Ed Meaney wrote:
I had the same issue with my installation of Fedora 3. I've figured out that it seems to be due to having the same local string constants in two functions. I've attached a patch that fixes the compilation/linking problem but I think this might be a compiler problem.

It sure sounds like one - if GCC can't handle multiple instances of the same string constant, it's rather badly broken, as that's perfectly legitimate C.

Do you have a simple program that demonstrates it? If so, has the bug been reported to the Fedora maintainers? (I don't know whether the bug is part of standard GCC or the result of an RH "improvement".)