<div dir="ltr">Recently I successfully installed Gate under Ubuntu8.04 when I used ROOT5.19. It seems that in Ubntu8.04, ROOT5.14 can't be compiled successfully.<br><br>Before you install GATE, you have to modify the GNUmake file. As a reference, please see the attachment and modify the path properly. My webpage may also be useful for both Gate installation and Ubuntu8.04 configuration: <br>
please search for GATE under the link:<br>
<a href="https://filer.case.edu/~zxh6/data/daily-log">https://filer.case.edu/~zxh6/data/daily-log</a><br><br><div class="gmail_quote">Good luck!<br><br>On Fri, Jul 25, 2008 at 1:43 PM, franklin pereira <<a href="mailto:pnicholasf@gmail.com">pnicholasf@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
I have a Dell Vostro ( intel core duo processor) with Ubuntu 8.04 installed.<br>
The default version of the gcc compiler is 4.2.3<br>
<br>
I recently downloaded Gate3.1.2, Geant4 (version 9.0), ROOT (5.14).<br>
<br>
Geant4 compiled without any problems.<br>
<br>
However, I am having problems with compiling ROOT-5.14.<br>
I get tons of warnings and then the compilation aborts with the<br>
following error message:<br>
<br>
*************************************************************************************************************************<br>
>> bin/rmkdepend -R -fcint/src/gcc3strm.d -Y -w 1000 -- -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/src -pthread -Icint/lib/gcc3strm -D__cplusplus -- cint/src/gcc3strm.cxx<br>
g++ -O -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude<br>
-DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT<br>
-DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO<br>
-DG__CINTBODY -Icint/src -pthread -Icint/lib/gcc3strm -o<br>
cint/src/gcc3strm.o -c cint/src/gcc3strm.cxx<br>
cint/src/gcc3strm.cxx: In function 'int G__G__stream_7_7_0(G__value*,<br>
const char*, G__param*, int)':<br>
cint/src/gcc3strm.cxx:311: error: 'class std::fpos<__mbstate_t>' has<br>
no member named 'operator=='<br>
cint/src/gcc3strm.cxx: In function 'int G__G__stream_7_8_0(G__value*,<br>
const char*, G__param*, int)':<br>
cint/src/gcc3strm.cxx:317: error: 'class std::fpos<__mbstate_t>' has<br>
no member named 'operator!='<br>
make: *** [cint/src/gcc3strm.o] Error 1<br>
*************************************************************************************************************************<br>
<br>
<br>
ROOT 5.20, however, compiles cleanly, but gate will not compile with<br>
this version of ROOT as is cannot find the proper function<br>
declarations for the various ROOT functions ( the header files are in<br>
/root/include and this is passed on to the g++ compiler correctly<br>
in the GATE makefile ).<br>
<br>
<br>
A sample of these error messages are:<br>
<br>
**************************************************************************************************************<br>
>>Using global libraries ...<br>
Linking Gate ...<br>
/opt/Geant4/geant4.9.0.p02/tmp/Linux-g++/Gate/libGate.a(GateHitFileReader.o):<br>
In function `GateHitFileReader::PrepareAcquisition()':<br>
GateHitFileReader.cc:(.text+0x102a): undefined reference to<br>
`TFile::TFile(char const*, char const*, char const*, int)'<br>
/opt/Geant4/geant4.9.0.p02/tmp/Linux-g++/Gate/libGate.a(GateToRoot.o):<br>
In function `GateToRoot::RecordVoxels(GateVGeometryVoxelStore*)':<br>
GateToRoot.cc:(.text+0xe47): undefined reference to `TFile::TFile(char<br>
const*, char const*, char const*, int)'<br>
/opt/Geant4/geant4.9.0.p02/tmp/Linux-g++/Gate/libGate.a(GateToRoot.o):<br>
In function `GateToRoot::RecordBeginOfAcquisition()':<br>
GateToRoot.cc:(.text+0x3fd3): undefined reference to<br>
`TFile::TFile(char const*, char const*, char const*, int)'<br>
GateToRoot.cc:(.text+0x423b): undefined reference to<br>
`TFile::TFile(char const*, char const*, char const*, int)'<br>
/opt/root/lib/libTree.so: undefined reference to<br>
`TFileCacheRead::TFileCacheRead(TFile*, int)'<br>
/opt/root/lib/libTree.so: undefined reference to `TFile::GetCacheRead() const'<br>
/opt/root/lib/libTree.so: undefined reference to<br>
`TBufferFile::WriteClones(TClonesArray*, int)'<br>
/opt/root/lib/libTree.so: undefined reference to<br>
`TBufferFile::WriteArray(float const*, int)'<br>
/opt/root/lib/libTree.so: undefined reference to `TSQLRow::Streamer(TBuffer&)'<br>
/opt/root/lib/libTree.so: undefined reference to<br>
`TBufferFile::WriteVersion(TClass const*, bool)'<br>
/opt/root/lib/libHist.so: undefined reference to<br>
`ROOT::Fit::BinData::Initialize(unsigned int, unsigned int,<br>
ROOT::Fit::BinData::ErrorType)'<br>
/opt/root/lib/libTree.so: undefined reference to `typeinfo for TSQLResult'<br>
/opt/root/lib/libTree.so: undefined reference to<br>
`TBufferFile::ReadObject(TClass const*)'<br>
/opt/root/lib/libTree.so: undefined reference to `TKey::Create(int, TFile*)'<br>
********************************************************************************************************************<br>
<br>
<br>
My guess is that the function declarations in ROOT5.20 have changed<br>
from version 5.14, therefore the conflict.<br>
However, I am clueless regarding the compilation errors generated<br>
while trying to compile ROOT-5.14.<br>
Is this due to the newer version of gcc that comes with the Ubuntu OS<br>
? I am at a loss and would appreciate help regarding this.<br>
<br>
Thanks a lot,<br>
Franklin.<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" target="_blank">http://lists.healthgrid.org/mailman/listinfo/gate-users</a><br>
</blockquote></div><br></div>