<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Dale,<br>
<br>
You're completely right. Old polygraph versions can not be built
by modern gcc. IIRC, gcc of version 4.5 is definitely able to
build polygraph-4.3.2 (and gcc 4.6 probably). This is a known
issue. To work the one around, you can:<br>
<br>
a) find or set up machine/virtual machine with some old gcc
version (e.g. ubuntu 12.04 LTS or Centos6), build polygraph there
and move binaries to your main machine;<br>
b) wait until polygraph site will be updated and new polygraph
version become available for download;<br>
<br>
<br>
Best wishes,<br>
Pavel<br>
<br>
On 07/07/2014 11:04 PM, Dale Markowitz wrote:<br>
</div>
<blockquote
cite="mid:CAHO67ygx-_u36xbRLFk3FW979bRP_8zOd7VkBfuC_9aw5foJOA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi All,
<div> I'm trying to install Polygraph 4.3.2 on a Linux box
running Fedora 19 with gcc version 4.8.2 20131212 (Red Hat
4.8.2-7) (GCC). The compilation fails with the error:</div>
<div><br>
</div>
<div>
<div>g++ -DHAVE_CONFIG_H -I../.. -I../../src -I../..
-I../../src -fpermissive -I/usr/include -g -O1 -Wall
-Wwrite-strings -Woverloaded-virtual -MT StatPhase.o -MD -MP
-MF .deps/StatPhase.Tpo -c -o StatPhase.o StatPhase.cc</div>
<div>StatPhase.cc: In member function ‘virtual void
StatPhase::noteXactEvent(BcastChannel*, const Xaction*)’:</div>
<div>StatPhase.cc:416:29: error: redeclaration of
‘CompoundXactInfo& compound’</div>
<div> static CompoundXactInfo &compound =
*CompoundXactInfo::Create();</div>
<div> ^</div>
<div>StatPhase.cc:390:37: error: ‘const CompoundXactInfo*
const compound’ previously declared here</div>
<div> if (const CompoundXactInfo* const compound =
x->partOf()) {</div>
<div> ^</div>
<div>make[3]: *** [StatPhase.o] Error 1</div>
</div>
<div><br>
</div>
<div>This seems like it might have to do with my version of gcc,
but I'm not sure. Any thoughts? </div>
<div><br>
</div>
<div>Thanks!</div>
<div> Dale</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@web-polygraph.org">Users@web-polygraph.org</a>
<a class="moz-txt-link-freetext" href="http://www.web-polygraph.org/mailman/listinfo/users">http://www.web-polygraph.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>