RE: [ROOT] Problems with dictionary generation under ACLiC, Root 4.00/08

From: Philippe Canal (pcanal@fnal.gov)
Date: Wed Sep 15 2004 - 20:52:48 MEST


Hi Kay,

The problem is likely that you ended up using a gcc 3.3.3 build
of the TMyH1D_cc.so library when running with 2.95.3.

To work around the issue you need to make sure that the library
in which the library is build is unique for each version of ROOT.
(See TSystem::SetBuildDir).

Or you need to delete the library each you swich compiler.

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Kay Ulbrich
Sent: Wednesday, September 15, 2004 9:43 AM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] Problems with dictionary generation under ACLiC, Root
4.00/08


Hello,

I am using Root 4.00/08 and precompiled classes via ACLiC, which is
realized by statements like

gROOT->ProcessLine(".L TMyH1D.cc+");

in my rootlogon.C - file.

 I am running on two systems, using exactly the same sources for these
classes and exactly the same configuration files for Root. On one
system, everything runs smoothly; this is a Linux (SuSE), gcc 3.3.3
based system.

Running on a Linux (SuSE) gcc 2.95.3 - based system, I get messages
like the following for each class announced via ClassDef anf ClassImp:

============================================================================
Info in <TUnixSystem::ACLiC>: creating shared library\
 /home/ulbrich/root/lib/linux_v2.4//dsk/pino0/ulbrich/root/lib/./TMyH1D_cc.so 
rootcint: error while loading shared libraries: rootcint: undefined\
 symbol: GetMethod__12G__ClassInfoPCcT1Pl 
Error in <ACLiC>: Dictionary generation failed!
============================================================================

Except for the file name, the message is exactly the same for every
file.

On this system, everything compiles smoothly using Root 3.10 on the
latter system.

Thanks for suggestions,
Kay



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