[Gate-users] Cannot compile ECAT7

David Boersma david.boersma at acmit.at
Wed Nov 7 19:27:00 CET 2018


Hi Michael,


I ran into that a while ago (for software testing purposes, not because I know anything about ECAT).

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...


CC = cc


... by this:


CC = cc --std=gnu90


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.


HTH,

David

________________________________
Von: Gate-users <gate-users-bounces at lists.opengatecollaboration.org> im Auftrag von Michael Chacko <chackoms at gmail.com>
Gesendet: Mittwoch, 7. November 2018 18:17:59
An: gate-users at lists.opengatecollaboration.org
Betreff: [Gate-users] Cannot compile ECAT7

Hi all,

When trying to make utility programs for ECAT in the 'utils' directory, I get the following output:

/usr/bin/ld: cannot find -lsocket
collect2: error: ld returned 1 exit status
Makefile:35: recipe for target 'matlist' failed
make: *** [matlist] Error 1

I can build the main library, but the utility programs as listed in the compilation instructions return this error.
Anybody have experience troubleshooting this issue?

Thanks!
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20181107/f37a614f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OutlookEmoji-😊.png
Type: image/png
Size: 488 bytes
Desc: OutlookEmoji-😊.png
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20181107/f37a614f/attachment.png>


More information about the Gate-users mailing list