I have set the environment to use the tools Anaphe with Geant4.5.2. I try to run the extended example "AnaEx01". The compilation and linking stages seem to be OK but I have the following error message after Using granular libraries ... Linking AnaEx01 ... /afs/cern.ch/sw/lhcxx/specific/redhat73/gcc-2.95.2/5.0.2/lib/libg2c-forMinuit.so: the use of `tempnam' is dangerous, better use `mkstemp' Here are the environment setting of GEANT4 On this machine the G4SYSTEM=Linux-g++ On this machine the G4INSTALL=/local/KONDO/GEANT4/geant4.5.2 On this machine the G4INCLUDE=/local/KONDO/GEANT4/geant4.5.2/include On this machine the G4LIB=/local/KONDO/GEANT4/geant4.5.2/lib On this machine the G4WORKDIR=/local/KONDO/GEANT4/geant4.5.2/workdir On this machine the G4DAWNFILE_DEST_DIR=/local/KONDO/GEANT4/geant4.5.2/workdir/g 4dawn/ On this machine the G4LEVELGAMMADATA=/local/KONDO/GEANT4/geant4.5.2/data/PhotonE vaporation On this machine the G4RADIOACTIVEDATA=/local/KONDO/GEANT4/geant4.5.2/data/Radiat iveDecay On this machine the G4LEDATA=/local/KONDO/GEANT4/geant4.5.2/data/G4EMLOW2.2 On this machine the NeutronHPCrossSections=/local/KONDO/GEANT4/geant4.5.2/data/G 4NDL3.7 On this machine the CLHEP_BASE_DIR=/local/KONDO/GEANT4/CLHEP On this machine the CLHEP_INCLUDE_DIR=/local/KONDO/GEANT4/CLHEP/include On this machine the CLHEP_LIB_DIR=/local/KONDO/GEANT4/CLHEP/lib On this machine the CLHEP_LIB=CLHEP-g++.1.8.0.0 On this machine the G4ANALYSIS_USE=1 On this machine the G4ANALYSIS_AIDA_CONFIG_CFLAGS=-I/afs/cern.ch/sw/contrib/AIDA /3.0/src/cpp -I/afs/cern.ch/sw/lhcxx/specific/redhat73/gcc-2.95.2/5.0.2/include On this machine the G4ANALYSIS_AIDA_CONFIG_LIBS=-L/afs/cern.ch/sw/lhcxx/specific /redhat73/gcc-2.95.2/5.0.2/lib -L/afs/cern.ch/sw/lhcxx/specific/redhat73/gcc-2.9 5.2/5.0.2/../PublicDomainPackages/2.0.0/lib -lg2c-forMinuit -lHepUtilities -lCLH EP -lexpat -lDataXML -lminuit -lGemini-minuit -lfml-minuit -lAnaphe_AIDA_Analysi sFactory_native -lAnaphe_AIDA_Annotation_native -lAnaphe_AIDA_MemoryStore -lAnap he_AIDA_Tree_native -lAnaphe_AIDA_DataPointSet_native -lAnaphe_AIDA_Histogram_na tive -lAnaphe_AIDA_Tuple_native -lAnaphe_AIDA_XMLStore -lAnaphe_AIDA_HBookStore -lAIDA_Utilities -lGracePlotter -lAnaphe_AIDA_Plotter_Grace -lAnaphe_AIDA_Fitter _FML -lAnaphe_AIDA_Function_FML On this machine the G4VIS_BUILD_DAWNFILE_DRIVER=1 On this machine the G4VIS_USE_DAWNFILE=1 On this machine the OGLHOME=/usr On this machine the G4LIB_USE_GRANULAR=1 Please tell me what is wrong and what to do to remove this problem
The message you get is not an error. It is a warning you can safely ignore. It is not related to Geant4 but to the way the specific installation for the library libg2c-forMinuit has been made...