I have tried building example N01 as descibed in the help pages. I get a very large number of error messages when doing this and ultimately cannot compile the example. The first 20 lines are shown at the bottom of this message. When installing GEANT 4.6.2 (with gcc 3.3.3 and CLHEP 1.8.2.0) I received some basic warnings but nothing which stopped the compilation. I do not know how to attach the log file via the internet interface, but they were basically warnings saying some variables could be used uninitialised. So I do not think that is the problem. Secondly we had a problem finding the CLHEP library. We were searching in the right directory but for the wrong filename. This was solved by creating a soft link. Then I tried to compile the N01 example ($G4WORKDIR/examples/novice/N01/) and got the error mesge shoen below. Do you know what this is due to? Many thanks. Regards, David Wahl ---------------------------------------------- ppcresst1-30> ls exampleN01.cc exampleN01.in GNUmakefile include src exampleN01.err exampleN01.out History README ppcresst1-31> gmake Making dependency for file exampleN01.cc ... Making dependency for file src/ExN01PrimaryGeneratorAction.cc ... Making dependency for file src/ExN01PhysicsList.cc ... Making dependency for file src/ExN01DetectorConstruction.cc ... Compiling ExN01DetectorConstruction.cc ... Compiling ExN01PhysicsList.cc ... Compiling ExN01PrimaryGeneratorAction.cc ... Creating/replacing object files in /datadisk/cresst/geant4/tmp/Linux-g++/example N01/libexampleN01.a ... Compiling exampleN01.cc ... Using granular libraries ... Linking exampleN01 ... /datadisk/cresst/geant4/tmp/Linux-g++/exampleN01/exe/exampleN01.o: In function ` __static_initialization_and_destruction_0(int, int)': /datadisk/cresst/geant4/tmp/Linux-g++/exampleN01/exe/exampleN01.o(.text+0x19c): undefined reference to `HepRandom::createInstance()' /datadisk/cresst/geant4/geant4.6.2.p02/lib/Linux-g++/libG4run.a(G4RunManager.o): In function `G4RunManager::RunInitialization()': G4RunManager.o(.text+0xec4): undefined reference to `HepRandom::saveEngineStatus (char const*)' /datadisk/cresst/geant4/geant4.6.2.p02/lib/Linux-g++/libG4run.a(G4RunManager.o): In function `G4RunManager::GenerateEvent(int)': G4RunManager.o(.text+0x141c): undefined reference to `HepRandom::saveEngineStatu s(char const*)' /datadisk/cresst/geant4/geant4.6.2.p02/lib/Linux-g++/libG4run.a(G4RunManager.o): In function `G4RunManager::RestoreRandomNumberStatus(G4String)': G4RunManager.o(.text+0x2840): undefined reference to `HepRandom::restoreEngineSt atus(char const*)' G4RunManager.o(.text+0x2881): undefined reference to `HepRandom::showEngineStatu s()'
Please have a look at your CLHEP installation and the library file-name. You find some hints also in our FAQ page: http://cern.ch/geant4/support/faq.html