Re: [ROOT] undefined symbol

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Jun 26 2002 - 19:19:27 MEST


Hi Lorenzo,

  I've removed the reference to this old AddClass in the CVS version.
However, it appeared in dead code. Do you have some old dictionaries
around? Please regenerate them in that case.

Cheers, Fons.



On Wed, 2002-06-26 at 11:06, Lorenzo Perrone wrote:
> Dear Rooters,
> 
> while trying to run a third party application compiled and linked with
> ROOT 3.03/06 I get the following error message:
> 
> FDSim: error while loading shared libraries: FDSim: undefined symbol:
> AddClass__FPCcsPFv_vi
> 
> I tried to track the problem down and found a conflict between the
> contents of the files Rtypes.h and Ttypes.h:
> Rtypes.h:
>    extern void AddClass(const char *cname, Version_t id, const type_info
>                         &info,
>                         VoidFuncPtr_t dict, Int_t pragmabits);
> Ttypes.h:
>    extern void AddClass(const char *cname, Version_t id, VoidFuncPtr_t
>                         dict, Int_t); \
> 
> This function is needed by one of the created dictionary files of that
> package.
> 
> Doing now a
> 
> nm --demangle $ROOTSYS/lib/libCore.so | grep AddClass
> 
> reveals that only a function with 5 parameters is present.
> 
> 00135ad8 T ROOT::AddClass(char const *, short, type_info const &, void
> (*)(void), int)
> 0010a090 T TROOT::AddClass(TClass *)
> 001a0854 t G__ROOT_AddClass_1_0(G__value *, char const *, G__param *, int)
> 00238044 t G__TROOT_AddClass_6_0(G__value *, char const *, G__param *,
> int)
> 
> Could you please tell me what to do to fix that problem ?
> 
> Thanks in advance
> 
> Lorenzo
> 
> 
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



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