Message: Geant4 example A01 Linking Problem Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Geant4 example A01 Linking Problem 

Forum: Analysis
Date: 08 Dec, 2008
From: Lisandro Martinez <Lisandro Martinez>

I am new to Geant4 and I am trying to construct the A01 example, I have compiled the example and used WIRED to see the particle trajectories and so forth. When I try to start with the An alysis section I get an error in the linking of A01app

I am working on a: MacOS 10.5.5 i686-apple-darwin9 gcc version 4.0.1 JAIDA 3.2.1 AIDAJNI 3.2.1

My Environment is:

export G4WORKDIR=/Applications/geant4work

export DYLD_LIBRARY_PATH=/Applications/CLHEP/osx105_ia32_gcc401/lib

export G4INSTALL=/Applications/geant4.9.1.p03

source /Applications/geant4.9.1.p03/

export JAVA_HOME=/Library/Java/Home

export JDK_HOME=/Library/Java/Home

export JAIDA_HOME=/Applications/AIDA/JAIDA-3.2.1

source $JAIDA_HOME/bin/

export AIDAJNI_HOME=/Applications/AIDA/AIDAJNI-3.2.1

export AIDAJNI_LIBS=/Applications/AIDA/AIDAJNI-3.2.1/lib/Darwin-g++

source $AIDAJNI_HOME/bin/Darwin-g++/


When I type make clean and make

the program starts Making dependency and compiling, but when it gets to the linking I get this

Linking A01app ...
ld warning: in /Applications/AIDA/AIDAJNI-3.2.1/lib/Darwin-g++/libAIDAJNI.a, file is not of required architecture
ld warning: in /Applications/AIDA/AIDAJNI-3.2.1/lib/Darwin-g++/libFHJNI.a, file is not of required architecture
Undefined symbols:
  "_AIDA_createAnalysisFactory", referenced from:
      A01AnalysisManager::A01AnalysisManager()in libA01app.a(A01AnalysisManager.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [/Applications/geant4work/bin/Darwin-g++/A01app] Error 1

Any Ideas of how to solve this! Thank you very much in advance.


 Add Message Add Message
to: "Geant4 example A01 Linking Problem"

 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 ]