Hi, you did not mention which version of ROOT you are try this with. Anyway, I noted that you title says ' on LINUX RH9 gcc3.2' while your 3rd party code 'compiles and runs with gcc2.96'. You will not be successull in mixing code built with gcc2.96 and code built with gcc3.2 (except if one of the 2 is really really strictly C and link against the same libc). One of the problem you might be encountering is that the 3rd party code header files are configured for gcc 2.96 while the ROOT header file are configured for gcc 3.2. In partcular STL code has changed significanly between the 2. I recommend making sure your configure and built both ROOT and the 3rd party software with the same compiler. If after doing so, you command still fails. I would need ALL the file in /data0/AstroRoot/TF_LIB_BETA/TF and ALL the header files for the 3rd party software. Cheers, Philippe. -----Original Message----- From: owner-roottalk@pcroot.cern.ch [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Johann Cohen-Tanugi Sent: Tuesday, July 08, 2003 5:32 AM To: roottalk@pcroot.cern.ch Subject: [ROOT] syntax error with ROOTCINT on LINUX RH9 gcc3.2 Hi there, I am trying to compile a third party code that compiles and runs with gcc2.96, but it fails for me: I tried with the precoompiled ROOT and with my own compiled version, it gives the same error: gmake[2]: Entering directory `/data0/AstroRoot/TF_LIB_BETA/TF' rootcint -f TFdict.cxx -c TFError.h TFHeader.h TFIOElement.h TFRootIO.h TFFitsIO.h TFAsroIO.h TFAsroFile.h TFTable.h TFGroup.h TFRowIterator.h TFLinkDef.h Syntax error FILE:prec_stl/memory LINE:44 Syntax error FILE:prec_stl/memory LINE:45 Syntax error FILE:prec_stl/memory LINE:52 Syntax error FILE:prec_stl/memory LINE:56 Syntax error FILE:prec_stl/memory LINE:57 Warning: Error occured during reading source files Warning: Error occured during dictionary source generation !!!Removing TFdict.cxx TFdict.h !!! Error: rootcint: error loading headers... I apologize, I don't have much idea about the files that might help debug, or a simple way to reproduce the problem with a small script. I have attached the TFLinkDef.h as a first guess... thanks for your help, Johann
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET