[Gate-users] Trans. : LMF installation pb : undefined reference to 'GateToLMF::GateToLMF'
dounia84 at aol.com
dounia84 at aol.com
Tue Sep 21 13:26:13 CEST 2010
Dear Gaters,
I am having some problems trying to launch LMFv3 output on Gate V4 from a
Fedora 8 Linux. I have re installed Gate and Geant4 after some modifications and
now, the linking with LMF library bugs like next.
source/management finished
Creating shared library tmp/Linux-g++/Gate/libGate.so ...
Creating/replacing object files in ./tmp/Linux-g++/Gate/libGate.a ...
ar: creating ./tmp/Linux-g++/Gate/libGate.a
Compiling Gate.cc ...
Using global libraries ...
Linking Gate ...
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `fillGDHforGATE'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `CloseLMFfile'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `LMFCbuilder'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `u64ToU8'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `findvnn'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `fillEHforGATE'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `LMFbuilder'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `freeER'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `fillEncoHforGate'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `makeid'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `newER'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `fillCoinciRecordForGate'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `u8ToDouble'
collect2: ld a retourné 1 code d'état d'exécution
gmake: *** [bin/Linux-g++/Gate] Erreur 1
[root at pexp24 gate_v4.0.0]#
I set my envirronment variable LMF_HOME in envgate.sh and I added ROOTSYS/include to the lmf
makefile when i tried to recompile lmfv3. I really don't know what is going on.
Did anybody encountered this isuue already?
[root at pexp24 gate_v4.0.0]# source env_gate.sh
The current value of G4INSTALL is: /home/dounia/gate_v4.0.0/geant4.9.1.p03
The current value of G4VERSION is: 9.1
Launching Geant4 configuration script /home/dounia/gate_v4.0.0/geant4.9.1.p03/env.sh
On this machine the G4SYSTEM=Linux-g++
On this machine the G4INSTALL=/home/dounia/gate_v4.0.0/geant4.9.1.p03
On this machine the G4INCLUDE=/home/dounia/gate_v4.0.0/geant4.9.1.p03/include/
On this machine the G4LIB=/home/dounia/gate_v4.0.0/geant4.9.1.p03/lib
On this machine the G4LEVELGAMMADATA=/home/dounia/gate_v4.0.0/geant4.9.1.p03/data/PhotonEvaporation2.0
On this machine the G4RADIOACTIVEDATA=/home/dounia/gate_v4.0.0/geant4.9.1.p03/data/RadioactiveDecay3.2
On this machine the G4LEDATA=/home/dounia/gate_v4.0.0/geant4.9.1.p03/data/G4EMLOW5.1
On this machine the G4NEUTRONHPDATA=/home/dounia/gate_v4.0.0/geant4.9.1.p03/data/G4NDL3.12
On this machine the G4ABLADATA=/home/dounia/gate_v4.0.0/geant4.9.1.p03/data/G4ABLA3.0
On this machine the CLHEP_BASE_DIR=/home/dounia/gate_v4.0.0/2.0.3.2/CLHEP
On this machine the CLHEP_INCLUDE_DIR=/home/dounia/gate_v4.0.0/2.0.3.2/CLHEP/include
On this machine the CLHEP_LIB_DIR=/home/dounia/gate_v4.0.0/2.0.3.2/CLHEP/lib
On this machine the CLHEP_LIB=CLHEP
On this machine the G4VIS_BUILD_OPENGLX_DRIVER=1
On this machine the G4VIS_USE_OPENGLX=1
On this machine the XMFLAGS=
On this machine the XMLIBS=
On this machine the XMFLAGS=
On this machine the XAWFLAGS=
On this machine the XAWLIBS=
On this machine the G4LIB_BUILD_SHARED=1
On this machine the G4LIB_BUILD_STATIC=1
On this machine the G4UI_USE_TCSH=1
LD_LIBRARY_PATH is set to include CLHEP and Geant4 libraries.
NOTE : verify that the correct path for the CLHEP library
- $CLHEP_BASE_DIR/lib - is included in the $LD_LIBRARY_PATH
variable in your environment, and no other outdated installations
of CLHEP are by chance referenced through $LD_LIBRARY_PATH and
present in your system !
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/dounia/gate_v4.0.0/root/lib is already in your LD_LIBRARY_PATH
Use of ROOT enabled
ROOT real-time plotter disabled
Checking your LD_LIBRARY_PATH variable...
==> OK: /home/dounia/gate_v4.0.0/lmf_v3.0/lib is already in your LD_LIBRARY_PATH
LMF data output enabled
ECAT7 data output enabled
GATEHOME is set to /home/dounia/gate_v4.0.0/gate_v4.0.0
Checking your path variable...
==> OK: /home/dounia/gate_v4.0.0/gate_v4.0.0/bin/Linux-g++ is already in your path variable
G4VERSION9 is set: GATE is compatible with the geant4 version 9.1
Done
Thank you for any help.
Cheers,
_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
More information about the Gate-users
mailing list