Re: geant3_vmc undefined symbol: _ZN10TVirtualMC14DefineParticleEiPKc15TMCParticleTypeddd

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Tue, 21 Apr 2009 15:51:04 +0200


TMCParticle class is in libEGPythia6.
see top right corner of: http://root.cern.ch/root/html/TMCParticle.html

Rene Brun

Stefano Dusini wrote:
> I'm trying to upgrade our (OPERA) detector simulation software to use
> ROOT v5.23 and therefore I have also upgraded the geant3_vmc version
> to v1.10. I have also modify the code to use TVirtualMC as the only
> interface to the MC transportation code. But at run time I get this error
>
> /sps/opera/scratch/dusini/sw/OpRelease/3.1/OpSim/v7r4/Linux/opsim.exe:
> symbol lookup error:
> /sps/opera/scratch/dusini/sw/OpRelease_fluka/kits/geant3_vmc_1.10/lib/tgt_linux/libgeant321vmc.so:
> undefined symbol:
> _ZN10TVirtualMC14DefineParticleEiPKc15TMCParticleTypeddd
>
> In fact using
>
> nm -u libgeant321vmc.so
>
> I see that
>
> U _ZN10TVirtualMC14DefineParticleEiPKc15TMCParticleTypeddd
>
> where the U means (from nm man page) that the symbol is undefined.
>
> What is wrong?
>
> The geant3_vmc library has been build just with
>
> gmake
>
> and the environmental variable $ROOTSYS pointing to the ROOT v5.23
> directory and $ROOTSYS/lib added to the $LD_LIBRARY_PATH and
> $ROOTSYS/bin added to $PATH.
>
> Do I have to specify something else when I compile geant3_vmc?
> Do I have to use some special switch when I compile root?
>
> Thanks a lot
> Stefano
Received on Tue Apr 21 2009 - 15:51:38 CEST

This archive was generated by hypermail 2.2.0 : Tue Apr 21 2009 - 23:50:02 CEST