<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hi Michael,</p>
<p><br>
</p>
<p>I ran into that a while ago (for software testing purposes, not because I know anything about ECAT).</p>
<p>The code is extremely old and in order to make it compile with "too new" compilers you need a little hack in the Makefile. Replace the first noncomment line... </p>
<p><br>
</p>
<p><span>CC = cc</span></p>
<p><br>
</p>
<p>... by this:</p>
<p><br>
</p>
<p><span>CC = cc --std=gnu90</span></p>
<p><br>
</p>
<p>I *think* that this is all I needed to do to make this work (I'm a bit in a hurry, no time to test). I hope it works for you, too.
</p>
<p><br>
</p>
<p>HTH,<br>
</p>
<p>David<br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Gate-users <gate-users-bounces@lists.opengatecollaboration.org> im Auftrag von Michael Chacko <chackoms@gmail.com><br>
<b>Gesendet:</b> Mittwoch, 7. November 2018 18:17:59<br>
<b>An:</b> gate-users@lists.opengatecollaboration.org<br>
<b>Betreff:</b> [Gate-users] Cannot compile ECAT7</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi all,
<div><br>
</div>
<div>When trying to make utility programs for ECAT in the 'utils' directory, I get the following output:</div>
<div><br>
</div>
<div>/usr/bin/ld: cannot find -lsocket</div>
<div>collect2: error: ld returned 1 exit status</div>
<div>Makefile:35: recipe for target 'matlist' failed</div>
<div>make: *** [matlist] Error 1</div>
<div><br>
</div>
<div>I can build the main library, but the utility programs as listed in the compilation instructions return this error.</div>
<div>Anybody have experience troubleshooting this issue?</div>
<div><br>
</div>
<div>Thanks!</div>
<div>Michael</div>
</div>
</div>
</body>
</html>