Hi Marc,<br><br><br><div><span class="gmail_quote">2008/1/14, Marc Chamberland &lt;<a href="mailto:mchamber@connect.carleton.ca">mchamber@connect.carleton.ca</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Gate Users!<br><br>I&#39;m trying to install Gate v3.1.2 on a Linux system. Gate compiles<br>fine, but the make command fails when it comes to linking. Here&#39;s the<br>message I get:<br><br>Using granular libraries ...
<br>Linking Gate ...<br>./tmp/Linux-g++/Gate/libGate.so: undefined reference to<br>`TTree::SetEntryList(TEntryList*, char const*)&#39;<br>./tmp/Linux-g++/Gate/libGate.so: undefined reference to<br>`TTree::CopyAddresses(TTree*, bool)&#39;
<br>./tmp/Linux-g++/Gate/libGate.so: undefined reference to<br>`TTree::ResetBranchAddress(TBranch*)&#39;<br>./tmp/Linux-g++/Gate/libGate.so: undefined reference to<br>`TTree::GetEntryList()&#39;<br>collect2: ld returned 1 exit status
<br>make: *** [bin/Linux-g++/Gate] Error 1<br><br>On this system, Root 5.14.00g is installed (as the requirements<br>state). Now, I know next to nothing about this, but I&#39;m under the<br>impression libGate.so is looking for the functions SetEntryList, etc.,
<br>in the TTree class of Root. However, when I look at TTree.h, I see<br>that these functions are not defined anywhere.<br><br>BUT! I see from the Root website that those functions are defined in<br>TTree.h of the latest Root release but not in 
TTree.h of version 5.14.</blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Does this mean that&nbsp;&nbsp;I should be using a newer version than Root 
5.14?</blockquote><div><br>Not at all, 5.14 works well with gate3.1.2 version.<br>When you get &quot;Undefined reference&quot; error messages while linking, that means that the definition is present in the header file but not in the corresponding library. I think your problem here is just related to your environment (assuming ROOT is well installed). Have you fixed the ROOTSYS environment variable before launching make, have you source the env_gate.sh/csh file before launching make, have you added the ROOT libraries path to your LD_LIBRARY_PATH ???
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Anyone else encountered this problem?<br><br>I&#39;d appreciate any help you can provide me in resolving this problem.
<br>Thank you in advance!<br><br>~Marc<br>_______________________________________________<br>Gate-users mailing list<br><a href="mailto:Gate-users@lists.healthgrid.org">Gate-users@lists.healthgrid.org</a><br><a href="http://lists.healthgrid.org/mailman/listinfo/gate-users">
http://lists.healthgrid.org/mailman/listinfo/gate-users</a><br></blockquote></div><br>Good luck !<br>Simon<br>