Message: Geant4 with Root Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Geant4 with Root 

Keywords: Geant4.7.0 Root 4.02
Forum: (Graphical) User Interfaces
Date: 17 Jun, 2005
From: Courtine Fabien <courtine@clermont.in2p3.fr>

Hello,
I work on my pc with geant4.7.0,gcc3.2.3 and Root 4.02.
I write a few code and it works very well.
Then, i put all the code (geant4+root+my code) on a cluster with gcc3.2.3.
I compile geant4 and it 's ok.
But when I want to compile my code, i have got a probleme with link :
Using granular libraries ...
Linking Csaa ...
/users_local2/tl/courtine/users_local/work/geant4/tmp/Linux-g++/Csaa/libCsaa.so: undefined reference to `TROOT::TROOT[in-charge](char const*, char const*, void (**)())'
/users_local2/tl/courtine/users_local/work/geant4/tmp/Linux-g++/Csaa/libCsaa.so: undefined reference to `TStorage::ObjectAlloc(unsigned)'
/users_local2/tl/courtine/users_local/work/geant4/tmp/Linux-g++/Csaa/libCsaa.so: undefined reference to `TROOT::~TROOT [in-charge]()'
/users_local2/tl/courtine/users_local/work/geant4/tmp/Linux-g++/Csaa/libCsaa.so: undefined reference to `TNtuple::TNtuple[in-charge](char const*, char const*, char const*, int)'
/users_local2/tl/courtine/users_local/work/geant4/tmp/Linux-g++/Csaa/libCsaa.so: undefined reference to `TObject::operator delete(void*)'
/users_local2/tl/courtine/users_local/work/geant4/tmp/Linux-g++/Csaa/libCsaa.so: undefined reference to `TFile::TFile[in-charge](char const*, char const*, char const*, int)'
collect2: ld a retourné 1 code d'état d'exécution
gmake: *** [/users_local2/tl/courtine/users_local/work/geant4/bin/Linux-g++/Csaa] Erreur 1
I check that i have G4_BUILD_ROOT_SESSION, G4_UI_USE_ROOT, G4LIB_BUILD_SHARED and H4LIB_USE_SHARED set to 1.
I also check ROOTSYS and LD_LIBRARY_PATH (i add $G4WORKDIR/tmp/$G4SYSTEM/Csaa).
I don't understand why it fails when linking on this cluster.
Can anybody help me?
Thanks.
Fabien 

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Geant4 with Root   (S.Fonseca UERJ/Brazil - 27 Oct, 2005)
 Add Message Add Message
to: "Geant4 with Root"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]