[Gate-users] Link

曹孝卿 caoxiaoqing2008 at gmail.com
Sun Aug 9 11:24:35 CEST 2009


*Hi, dear all

Trying to install gate_v5.0.0 with Geant4.9.2.p01 on CentOS 5
The CLHEP(version 2.0.4.2), geant4.9.2.p01, root_v5.24.00 and lmf_v3.0 were
installed successfully
But when I "make" in the install gate_5.0.0 directory, I got error when
linking gate :*

Linking Gate ...
./tmp/Linux-g++/Gate/libGate.a(GateToRoot.o):(.rodata._ZTV14GateSingleTree[vtable
for GateSingleTree]+0x15c): undefined reference to
`TTree::CopyAddresses(TTree*)'
./tmp/Linux-g++/Gate/libGate.a(GateToRoot.o):(.rodata._ZTV13GateCoincTree[vtable
for GateCoincTree]+0x15c): undefined reference to
`TTree::CopyAddresses(TTree*)'
./tmp/Linux-g++/Gate/libGate.a(GateToRoot.o):(.rodata._ZTV11GateHitTree[vtable
for GateHitTree]+0x15c): undefined reference to
`TTree::CopyAddresses(TTree*)'
collect2: ld return 1
make: *** [bin/Linux-g++/Gate] error 1


*my environment settings:

source env_gate.csh and root.csh*

Launching Geant4 configuration script
/home/cxq/gate5/geant4/geant4.9.2.p01/env.csh

On this machine the G4SYSTEM=Linux-g++
On this machine the G4INSTALL=/home/cxq/gate5/geant4/geant4.9.2.p01
On this machine the G4LIB=/home/cxq/gate5/geant4/geant4.9.2.p01/lib
On this machine the
G4LEVELGAMMADATA=/home/cxq/gate5/geant4/geant4.9.2.p01/data/PhotonEvaporation2.0
On this machine the
G4RADIOACTIVEDATA=/home/cxq/gate5/geant4/geant4.9.2.p01/data/RadioactiveDecay3.2
On this machine the
G4LEDATA=/home/cxq/gate5/geant4/geant4.9.2.p01/data/G4EMLOW6.2
On this machine the
G4NEUTRONHPDATA=/home/cxq/gate5/geant4/geant4.9.2.p01/data/G4NDL3.13
On this machine the
G4ABLADATA=/home/cxq/gate5/geant4/geant4.9.2.p01/data/G4ABLA3.0
On this machine the CLHEP_BASE_DIR=/home/cxq/gate5/geant4/CLHEP
On this machine the CLHEP_INCLUDE_DIR=/home/cxq/gate5/geant4/CLHEP/include
On this machine the CLHEP_LIB_DIR=/home/cxq/gate5/geant4/CLHEP/lib
On this machine the CLHEP_LIB=CLHEP
On this machine the G4VIS_BUILD_OPENGLX_DRIVER=1
On this machine the G4VIS_BUILD_RAYTRACERX_DRIVER=1
On this machine the G4VIS_USE_OPENGLX=1
On this machine the G4VIS_USE_RAYTRACERX=1
On this machine the XMFLAGS=
On this machine the XMLIBS=
On this machine the XMFLAGS=
On this machine the XMLIBS=
On this machine the XAWFLAGS=
On this machine the XAWLIBS=
On this machine the G4LIB_BUILD_STATIC=1
On this machine the G4LIB_USE_GRANULAR=1
On this machine the G4UI_USE_TCSH=1
In your environment you have the G4WORKDIR=.

Configuring GATE options

G4WORKDIR set to .
G4TMP set to ./tmp
G4BIN set to ./bin
Data analysis and output features enabled
Ascii data output enabled
Transport and generation of optical photons is enabled
Checking your LD_LIBRARY_PATH variable...
 ==> OK: /home/cxq/gate5/root/lib is already in your LD_LIBRARY_PATH
Use of ROOT enabled
ROOT real-time plotter disabled
LMF data output disabled
ECAT7 data output disabled
GATEHOME is set to /home/cxq/gate5/gate_v5.0.0
Checking your path variable...
 ==> OK: /home/cxq/gate5/gate_v5.0.0/bin/Linux-g++ is already in your path
variable
G4VERSION9_2 is not set
This GATE version only works with Geant4.9.1

Done

*and my root.csh file is :*

setenv ROOTSYS

setenv LD_LIBRARY_PATH

setenv ROOTSYS /home/cxq/gate5/root

setenv LD_LIBRARY_PATH ${ROOTSYS}/bin:${LD_LIBRARY_PATH}


*Can anyone help or know what is happening?

Thanks very much !*

-- 
Xiaoqing.Cao
School of Mathematics and Statistics, Huazhong Univ. of Sci. & Tech.
1037 Luoyu Road, Wuhan 430074, P. R. China
Tel : 13297955461
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20090809/85345c64/attachment.htm>


More information about the Gate-users mailing list