[ROOT] root 3.03/09 and Api.h

From: Jacek M. Holeczek (holeczek@us.edu.pl)
Date: Mon Sep 30 2002 - 13:36:36 MEST


Hi,
There seems to be a problem for the new root 3.03/09.
My dtest.cxx contains :
	#include "Api.h"
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:/.../include/Method.h LINE:99
	Error: Symbol G__TypeInfotype is not defined in current scope FILE:/.../include/MethodAr.h LINE:53
	Error: Symbol G__TypeInfotype is not defined in current scope FILE:/.../include/DataMbr.h LINE:71
	Error: class,struct,union or type G__TypeInfo not defined FILE:/.../include/Typedf.h LINE:37
	Error: Symbol G__TypeInfotinfo is not defined in current scope FILE:/.../include/Token.h LINE:75
	Warning: Error occured during reading source files
	Warning: Error occured during dictionary source generation
To me it seems that "rootcint" breaks on "Api.h" (or on some files that
are included from there - up to now I used the code with root 3.02/07 on
rh62 egcs-1.1.2 without any problems.)
My system is rh62_gcc2953, I use your binary distribution "rh61_gcc2952".
The same problem exists on rh71_gcc_29553, where I use your binary
distribution "rh72_gcc2953".
On my rh71 I have an additional problem (which may be related to the
system itself, but ... who knows). In two different windows I try to start
two different versions of root :
	3.02/07 compiled with egcs-1.1.2 ("old" rh62 version)
	3.03/09 "rh72_gcc2953"
The results are quite strange ... If I start the "old" version first, then
the "new" version (in another window) does not work properly. Sometimes I
can also get it "reversed" - the "old" one does not work, while the
"new" one does (and sometimes none works ...). To me it seems that some
"shared libraries" get screwed/mixed. Does anyone have any idea how to get
rid of it (the output from "ldd" seems in both cases o.k.) ? What is more
confusing ... sometimes it works properly ... it seems to depend on which
root is started as the first and which "root/cint commands" are executed
as the first ... . On RH6.2 I seem to be able to run two different version
of root without problems ... .
Thanks in advance,
Best regards,
Jacek.



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:11 MET