[ROOT] undefined symbol

From: Lorenzo Perrone (perrone@ik.fzk.de)
Date: Wed Jun 26 2002 - 11:06:23 MEST


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



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