Re: [ROOT] root 3.03/09 and Api.h

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Sep 30 2002 - 15:14:24 MEST


Hi Jacek,

I am a bit confused by your exercise!
You cannot mix on the same machine binaries compiled with egcs1.1
and binaries compiled with gcc2.95. If you have downloaded the binary
compiled with egcs1.1, you cannot use ACLIC (or g++) if your compiler
is gcc2.95. Make sure that your PATH and LD_LIBRARY_PATH are consistent.
Obviously, the situation is even worst if you try to compile with gcc2.95
on a RH7.1, 7.2 system with a binary compiled on RH6.2 with egcs1.1

Your other problem with maximum line size in the terminal is certainly
linked with your libraries mismatch.

Rene Brun

On Mon, 30 Sep 2002, Jacek M. Holeczek wrote:

> 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:12 MET