I'm new in linux and Geant4 and try to start a simulation of example N06 on my linux CERN folder. Here is a result. I have made a following changes on the cetup.csh file: set clhepversion="2.1.2.3" set XercesCversion="3.1.1p1" set Qt_VERSION="4.7.4" set gccversion="4.1.2" Can you help me to remove an error please? Ivan [lxplus251] ~ $ source setup.csh Configuration script for Geant4 binary releases at CERN, Version Geant4 9.5 December 2011 Setting up the environment for 9.5.p01 Setting G4WORKDIR Creating the G4WORKDIR directory /afs/cern.ch/user/a/atanasov/geant4/9.5.p01/i686-slc5-gcc43 G4BIN already set [lxplus251] ~ $ cd N06 [lxplus251] ~/N06 $ gmake Making dependency for file exampleN06.cc ... Making dependency for file src/ExN06SteppingVerbose.cc ... Making dependency for file src/ExN06StackingAction.cc ... Making dependency for file src/ExN06RunAction.cc ... Making dependency for file src/ExN06PrimaryGeneratorMessenger.cc ... Making dependency for file src/ExN06PrimaryGeneratorAction.cc ... Making dependency for file src/ExN06PhysicsListMessenger.cc ... Making dependency for file src/ExN06PhysicsList.cc ... Making dependency for file src/ExN06DetectorConstruction.cc ... Compiling ExN06DetectorConstruction.cc ... Compiling ExN06PhysicsList.cc ... Compiling ExN06PhysicsListMessenger.cc ... Compiling ExN06PrimaryGeneratorAction.cc ... Compiling ExN06PrimaryGeneratorMessenger.cc ... Compiling ExN06RunAction.cc ... Compiling ExN06StackingAction.cc ... Compiling ExN06SteppingVerbose.cc ... Creating/replacing object files in /afs/cern.ch/user/a/atanasov/geant4/9.5.p01/i686-slc5-gcc43/tmp/Linux-g++/exampleN06/libexampleN06.a ... ar: creating /afs/cern.ch/user/a/atanasov/geant4/9.5.p01/i686-slc5-gcc43/tmp/Linux-g++/exampleN06/libexampleN06.a Compiling exampleN06.cc ... Using global libraries ... Linking exampleN06 /usr/bin/ld: skipping incompatible /afs/cern.ch/sw/lcg/external/geant4/9.5.p01/i686-slc5-gcc43/lib/Linux-g++/libG4Tree.so when searching for -lG4Tree /usr/bin/ld: skipping incompatible /afs/cern.ch/sw/lcg/external/geant4/9.5.p01/i686-slc5-gcc43/lib/Linux-g++/libG4Tree.a when searching for -lG4Tree /usr/bin/ld: cannot find -lG4Tree collect2: ld returned 1 exit status gmake: *** [/afs/cern.ch/user/a/atanasov/geant4/9.5.p01/i686-slc5-gcc43/bin/Linux-g++/exampleN06] Error 1
What compiler is being used to build the example (try gcc -v)? You will need to use the same compiler to build your application. I would suspect from the error message that you are using a 64bit compiler, hence the "skipping incompatible" messages.
Resolving as invalid as no further response.