Hi Jacek, The 1st problem is work-around by simply adding class G__TypeInfo; before the #include "Api.h" The 2nd problem is (seemingly) solved in v3.05/03 Cheers, Philippe. -----Original Message----- From: owner-roottalk@pcroot.cern.ch [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Jacek M. Holeczek Sent: Sunday, March 09, 2003 3:34 PM To: RootTalk Subject: [ROOT] Api.h / G__ci.h problems The system is RH7.3/i386 with gcc-2.95.3 and gcc-3.2.2. The ROOT is 3.05/02 (binary releases dated 11 February 2003). My dtest.cxx contains : #if !defined (__CINT__) || defined (__MAKECINT__) #include "Api.h" #endif and I get : root [0] .x dtest.cxx++ Info in <TUnixSystem::ACLiC>: creating shared library /..././dtest_cxx.so Error: Symbol G__TypeInfotype is not defined in current scope FILE:/net/p2a00/opt/ROOT/rh73_gcc2953/root/v3.05.02/include/Method.h LINE:99 Error: Symbol G__TypeInfotype is not defined in current scope FILE:/net/p2a00/opt/ROOT/rh73_gcc2953/root/v3.05.02/include/MethodAr.h LINE:53 ... Error: Symbol G__TypeInfotinfo is not defined in current scope FILE:/net/p2a00/opt/ROOT/rh73_gcc2953/root/v3.05.02/include/Token.h LINE:75 Warning: Error occured during reading source files ... Error: rootcint: error loading headers... Error in <ACLiC>: Dictionary generation failed! If I remove "Api.h" (or change it into "G__ci.h") I get : root [0] .x dtest.cxx++ Info in <TUnixSystem::ACLiC>: creating shared library /..././dtest_cxx.so In file included from /..././file36KM2e.cxx:13: /.../file36KM2e.h:31: lib/longlong/longlong.lib/longlong/longlong.h: No such file or directory g++: /..././file36KM2e.o: No such file or directory Error in <ACLiC>: Compilation failed! (I don't use "long long" in ANY place of my code.) Are these known issues ? Thanks in advance, Best regards, Jacek.
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET