I was able to compile geant4.6.2.p01 using gcc 3.3 (fedora core 2). I recently upgraded to gc 3.4.2, since an increase is speed is expected for this compiler. Now I get the following error message (several times, I only list the first instance): =============================================================================== Compiling G4NavigationHistory.cc ... /usr/local/cern/geant4/source/global/management/include/G4Allocator.hh: In member function `void G4Allocator<Type>::FreeSingle(Type*) [with Type = G4NavigationLevelRep]': include/G4NavigationLevelRep.icc:185: instantiated from here /usr/local/cern/geant4/source/global/management/include/G4Allocator.hh:165: error: aggregate value used where an integer was expected /usr/local/cern/geant4/source/global/management/include/G4Allocator.hh: In member function `void G4Allocator<Type>::FreeSingle(Type*) [with Type = G4NavigationLevel]': include/G4NavigationLevel.icc:143: instantiated from here /usr/local/cern/geant4/source/global/management/include/G4Allocator.hh:165: error: aggregate value usedwhere an integer was expected gmake[2]: *** [/usr/local/cern/geant4/tmp/Linux-g++/G4volumes/G4NavigationHistory.o] Error 1 =============================================================================== I have no idea what to do. Any help is highly appreciated. Thanks a lot, Wolfgang
gcc-3.4.X is not supported for geant4 6.2 (read the release notes for the list of the supported compilers). Future releases of Geant4 will be ported on the new gcc compiler.