Problem 705

Summary: compillation HepRep
Product: Geant4 Reporter: gennady.vasilyev
Component: visualizationAssignee: perl
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P2    
Version: other   
Hardware: PC   
OS: Linux   

Description gennady.vasilyev 2004-12-22 02:44:16 CET
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
Comment 1 Gabriele Cosmo 2005-02-07 02:44:59 CET
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