when I compile the GEANT4.7.0: src/gzio.cc: In function `void * gz_open(const char *, const char *, int)': src/gzio.cc:178: `fdopen' undeclared (first use this function) src/gzio.cc:178: (Each undeclared identifier is reported only once src/gzio.cc:178: for each function it appears in.) src/gzio.cc: In function `int gzprintf(void *, const char *, ...)': src/gzio.cc:602: `vsnprintf' undeclared (first use this function) src/gzio.cc:582: warning: `int len' might be used uninitialized in this function make[2]: *** [/home/giv/geant4.7.0/tmp/Linux-g++/G4visHepRep/gzio.o] Error 1
If using gcc-2.95 compiler, which is NOT supported any longer in G4 7.0, you may encounter this compilation error. A reply can be found also in: http://geant4-hn.slac.stanford.edu:5090/HyperNews/public/get/visualization/152/1/1/1.html