<div dir="ltr"><div><div><div>Hi Saeed<br></div>yes indeed, the -lsocket option for linking ecat/utils is not necessary on Linux. If you have -lnsl and -lrpcsvc, you can delete those as well.<br><br></div>Of course, you don't need ecat/utils for GATE I guess. So i don't know what you mean when you say "I still have the linking problem".<br>
<br>Kris<br></div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 26 February 2013 09:36, Simon Stute <span dir="ltr"><<a href="mailto:gate.stute@gmail.com" target="_blank">gate.stute@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br><br>I don't know how to use the program from Dr. Schmidtlein, contact him if you have a problem.<br>The -L option used to give the path to appropriate libraries must be given to the compiler, not to the make program ... so add it inside your makefile (in CPPFLAGS and/or LDFLAGS). This should work.<br>
Anyway, I think that the socket library should be useless on linux (not sure), so just try to delete the -lsocket option and see if it works too.<br>I take the liberty of forwarding this email to the mailing list as if any other user encounters the same problem, he should find the solution.<br>
<br>Regards,<br>Simon<br><br><div class="gmail_quote">On Tue, Feb 26, 2013 at 9:47 AM, Saeed Heidary <span dir="ltr"><<a href="mailto:saeedheidary79@gmail.com" target="_blank">saeedheidary79@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Simon<br>You are right I was not so patient to search, although I saw the URL before, but I did not scrutinize it, please accept my apology. But the problem still exists. <br>
the procedure I am doing ...<br>
before compiling the GATE, I have tried to compile ecat Makefile and utils Makefile ,<br>
If you take a quick look at INSTALL file in ecat, I have tried to do the same way<br>
the error '-lsocket' happened during installin the utils Makefile, even
though I use "make -L /usr/lib/happycoders" , the problem was not solved.<br>
so I decided to ignore the utils and continue, after doing ccmake and
configuring the paths (ECAT Home etc.) every things compiled <br>
but I still have the linking problem !<br><br>Any way, just I gonna have sinogram or projection in PET, the standard output of cylindricalPET is root so I used the Bin.Gate.C by Dr.shmidelton , but I could not <br>applied it to my desire, is there any solution ?<br>
Many thanks in advance<span><font color="#888888"><br>
Saeed
</font></span></blockquote></div><br>
<br>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br></blockquote></div><br></div>