[Gate-users] linking problem

sebnem erturk sebnem.erturk at gmail.com
Tue Mar 9 13:19:10 CET 2010


Hi Simon,

finally we solved the issue!
We achieved to run GATE4 with CLHEP 2.0.3.2, geant4.9.1 and root5.26.

Apparently gate4 needs pointers to extra (new) libraries in the
variables.gmk file.

-lRIO -lNet -lMathCore -lThread -pthread

We found the complete list of all the libraries using the command you
pointed out:
$ROOT/bin/root-config --libs

Thank you very much for the support
best regards,
Sebnem & Emanuele :)


On Tue, Mar 9, 2010 at 11:40 AM, Simon Stute <gate.stute at gmail.com> wrote:

> Hi,
>
> When you see class names beginning with a T it is always related to root.
> So there are 2 choices :
>  1. Just wrong definition in the -L and -l options in the makefile process
> (problem related to root-config program).
>  2. Error occured during compilation of root
>
> If you are sure that 2 is good, so just execute the root-config program
> (that is in $ROOTSYS/bin), with the option --libs.
> This will output some options that will be used during the linking process
> of Gate.
> The first thing that is printed out is the PATH to the library.
> So just see if your root libraries are in there, and if it is not the case,
> just move them to this PATH that root-config is pointing to.
>
> Hope it will work,
> Simon
>
> On Tue, Mar 9, 2010 at 11:23 AM, sebnem erturk <sebnem.erturk at gmail.com>wrote:
>
>> Hi All,
>>
>> We are trying to install gate4 in a debian 64bit machine. We successfully
>> compiled CLHEP 2.0.3.2, geant4.9.1 and root5.26. We still have some issues
>> with GATE4. Compiling seems fine but we have some problems when linking.
>> We're using the last version of gcc, the 4.4.3.
>>
>>
>> Using global libraries ...
>> Linking Gate ...
>> /home/gate/root/lib/libHist.so: undefined reference to
>> `TVirtualFitter::GetDefaultFitter()'
>> /home/gate/root/lib/libTree.so: undefined reference to
>> `TFileCacheRead::TFileCacheRead(TFile*, int)'
>> /home/gate/root/lib/libTree.so: undefined reference to
>> `TFile::GetCacheRead() const'
>> /home/gate/root/lib/libHist.so: undefined reference to
>> `ROOT::Fit::FitResult::Print(std::basic_ostream<char,
>> std::char_traits<char>
>> >&, bool) const'
>> /home/gate/root/lib/libTree.so: undefined reference to
>> `TBufferFile::WriteClones(TClonesArray*, int)'
>> /home/gate/root/lib/libTree.so: undefined reference to
>> `TBufferFile::WriteArray(float const*, int)'
>> /home/gate/root/lib/libTree.so: undefined reference to
>> `TSQLRow::Streamer(TBuffer&)'
>> /home/gate/root/lib/libTree.so: undefined reference to
>> `TBufferFile::WriteVersion(TClass const*, bool)'
>> /home/gate/root/lib/libHist.so: undefined reference to
>> `ROOT::Fit::BinData::Initialize(unsigned int, unsigned int,
>> ROOT::Fit::BinData::ErrorType)'
>> /home/gate/root/lib/libTree.so: undefined reference to `typeinfo for
>> TSQLResult'
>> /home/gate/root/lib/libTree.so: undefined reference to
>> `TBufferFile::ReadObject(TClass const*)'
>> /home/gate/root/lib/libTree.so: undefined reference to `TKey::Create(int,
>> TFile*)'
>> /home/gate/root/lib/libTree.so: undefined reference to
>> `TThread::TThread(char const*, void* (*)(void*), void*,
>> TThread::EPriority)'
>> /home/gate/root/lib/libTree.so: undefined reference to
>> `TStreamerInfo::GetValueClones(TClonesArray*, int, int, int, int) const'
>>
>> Any kind of help will be appreciated
>> Regards,
>>
>>
>> --
>> Sebnem Erturk
>> University of Pisa
>> Applied Physics Dpt.
>> Largo Pontecorvo
>> 56127 Pisa-Italy
>> Office :0039 050 2214346
>> Mobile :0039 345 3331440
>> http://www.df.unipi.it/~fiig/ <http://www.df.unipi.it/%7Efiig/>
>> _______________________________________________
>> Gate-users mailing list
>> Gate-users at lists.opengatecollaboration.org
>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>
>
>


-- 
Sebnem Erturk
University of Pisa
Applied Physics Dpt.
Largo Pontecorvo
56127 Pisa-Italy
Office :0039 050 2214346
Mobile :0039 345 3331440
http://www.df.unipi.it/~fiig/


More information about the Gate-users mailing list