Re: [ROOT] ACLiC - Link requested for undefined class TMethod

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Feb 18 2002 - 09:06:05 MET


Hi Rolf,

When doing .L myfile.cxx++, ACLiC makes a few assumptions on the class name,
and the location of the header file describing the class(es).
In case your file myfile.cxx references more than one include file
with several class prototypes, ACLiC fails to generate the right
dictionary.
Last week, Philippe introduced an addition to ACLiC. Here is the CVS log:

  "By default, when doing .L MyScript.cxx++, ACLiC will now look
   for a file name MyScript_linkdef and having one of the .h (.hpp,
   etc.) extensions.  If such a file exists, it will be added to
   the end of the linkdef file used to created the ACLiC dictionary.
   This effectively enables the full customization of the creation
   of the dictionary.  It should be noted that the file is intended
   as a linkdef 'fragment', so usually you would not list the
   typical '#pragma link off ....". 

In this file, you can add all the pragma statements for all your classes,
like you would do it in a normal LinkDef.h file.

Rene Brun

Rolf Dubitzky wrote:
> 
> Hi,
> 
> I would like to use the ACLiC feature. It works for simple test macros, but
> for one og my larger macros I get a lot of error messages of the following
> type (below). I am trying with root 3.02/07, 3.03 from CVS and 3.01/06 on
> Debian and RedHat. It is independant of the system. I guess I am including
> something I shouldn't or the other way round. Befor I go and tear the big
> macro to peaces I woul like to know if someone might already have an idea
> what am doing wrong from this few information.
> 
> Cheers,
> Rolf
> 
> ----------------
> 
> Note: Link requested for undefined class TMethod (ignore this message) FILE:
> LINE:0
> Note: Link requested for undefined class TExMap (ignore this message) FILE:
> LINE:0
> Note: Link requested for undefined class TStringLong (ignore this message)
> FILE: LINE:0
> Note: Link requested for undefined class TObjectTable (ignore this message)
> FILE: LINE:0
> Note: Link requested for undefined class TKey (ignore this message) FILE:
> LINE:0
> 
> and later:
> 
> Note: Link requested for undefined class TClonesArray (ignore this message)
> FILE: LINE:0
> Class TMethod: Streamer() not declared
> Class TMethod: ShowMembers() not declared
> Class TExMap: Streamer() not declared
> Class TExMap: ShowMembers() not declared
> Class TRefCnt: Streamer() not declared
> Class TRefCnt: ShowMembers() not declared
> *** Datamember TString::fData: no size indication!
> *** Datamember TString::fData: pointer to fundamental type (need manual
> intervention)
> Class TSubString: Streamer() not declared
> Class TSubString: ShowMembers() not declared
> Class TStringRef: Streamer() not declared
> Class TStringRef: ShowMembers() not declared
> 
> ***************************************************************
>  Rolf Dubitzky
>  e-mail: Rolf.Dubitzky@Physik.TU-Dresden.de
>  s-mail see http://hep.phy.tu-dresden.de/~dubitzky/
> ***************************************************************



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