Redhat 6.1 egcs 2.91.66 make-3.77-6 gmake produces: Making dependency for file src/G4ios.cc ... Making dependency for file src/G4VStateDependent.cc ... Making dependency for file src/G4UnitsTable.cc ... Making dependency for file src/G4Timer.cc ... Making dependency for file src/G4StateManager.cc ... Making dependency for file src/G4PhysicsVector.cc ... Making dependency for file src/G4PhysicsTable.cc ... Making dependency for file src/G4PhysicsOrderedFreeVector.cc ... Making dependency for file src/G4PhysicsLogVector.cc ... Making dependency for file src/G4PhysicsLnVector.cc ... Making dependency for file src/G4PhysicsLinearVector.cc ... Making dependency for file src/G4PhysicsFreeVector.cc ... Making dependency for file src/G4LPhysicsFreeVector.cc ... Making dependency for file src/G4Exception.cc ... /LOCAL/geant4.3.1/tmp/Linux-g++/G4globman/G4Exception.d:1: *** missing separator . Stop. Problem seems to be the config/common.gmk file line: @($(ECHO) $(G4TMPDIR)/\\c ; \ Change to: @($(ECHO) $(G4TMPDIR)/\\ ; \ and error goes away and compile continues without problem
Did you try to remove the file: /LOCAL/geant4.3.1/tmp/Linux-g++/G4globman/G4Exception.d and rebuild (using the original rule) ? It might be corrupted. \c option is required in order to avoid appending a new line to the command which may cause the mechanism to fail on most systems. A similar problem has been reported in the past (see report #35) and was due to a peculiar version of 'echo' on Linux systems.
*** This bug has been marked as a duplicate of 35 *** *** 'Gabriele.Cosmo@cern.ch' will be responsible for this bug. ***