Compiling DefaultHepRepTypeTree.cc ... Compiling DeflateOutputStreamBuffer.cc ... In file included from src/DeflateOutputStreamBuffer.cc:3: include/cheprep/DeflateOutputStreamBuffer.h:32: error: ‘EOF’ was not declared in this scope make[2]: *** [/home/mice/hudson/workspace/MAUS_ubuntu1010_32_nightly_clean/third_party/build/geant4.9.2.p01/tmp/Linux-g++/G4visHepRep/DeflateOutputStreamBuffer.o] Error 1 Making dependency for file src/G4TheRayTracer.cc ... Making dependency for file src/G4RTXScanner.cc ...
Solution is to add: #include <cstdio> at the top.
You're using an old version of Geant4. The problem was already fixed since 9.2.p02.