[ROOT] shared libs with 4.01/02

From: Margar SIMONYAN (simonyan@mail.cern.ch)
Date: Thu Oct 07 2004 - 12:28:06 MEST


I found some strange thinks loading shared libs with ROOT 4.01.02
while the same think was working with old versions. There are some 
improvements in part of ACLiC as it is written in 
http://root.cern.ch/root/Version40102.news.html but I didn't understand.

This is my classes which I am compiling with .L FileName.cpp++O
class TileInfo {}
class TCell {}
class TileFile{ ... //abstract base class}
class Tile23 :public TileFile {TileInfo i; TCell c}
class Tile02 :public Tile23{}
class Tile03 :public Tile23{}
class Tile04 :public TileFile{TileInfo i; TCell c }
class TileEnergy { TileFile * t;}

and 2 functions Int2TString(), FindMaximum()

and this is my rootlogon.C
gROOT->ProcessLine(".L Int2TString_cpp.so");
gROOT->ProcessLine(".L FindMaximum_cpp.so");
gROOT->ProcessLine(".L TCell_cpp.so");
gROOT->ProcessLine(".L TileInfo_cpp.so");
gROOT->ProcessLine(".L TileFile_cpp.so");
gROOT->ProcessLine(".L Tile23_cpp.so");
gROOT->ProcessLine(".L Tile03_cpp.so");
gROOT->ProcessLine(".L Tile02_cpp.so");
gROOT->ProcessLine(".L Tile04_cpp.so");
gROOT->ProcessLine(".L TileEnergy_cpp.so");

I notice that ROOT fails to load libs if try load Tile03_cpp.so after 
Tile02_cpp.so changing line order in rootlogon.C Why it depends on order 
of loading libs.   


This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET