Hi Paolo,
I found I could work around this problem by following the E01.C example in the geant3/TGeant3
directory. In this example, a dummies.C file:
extern "C" {
void ffinit_() {}
void ffkey_() {}
void ffgo_() {}
}
is loaded just before the load of the geant321 library, e.g.:
// Load Geant3 libraries
gROOT->ProcessLine(".L dummies.C+");
gSystem->Load("libgeant321");
Good luck,
-Sue
paolo maestro wrote:
> Hi ,
> I installed the last version (0.5) of vmc with Root 3.10/01 and compiled successfully
> one of my applications, that was working with the vmc version 0.31.
> But when I try to run it I got the following error:
> > root run_g3.C
> loading Geant3 library ...
> dlopen error: /mydir/VMC/geant3/tgt_Linux/libgeant321.so: undefined symbol: ffkey_
> Load Error: failed to load Dynamic link library /mydir/VMC/geant3/tgt_Linux/libgeant321.so
>
> Do you have some idea of what is going wrong ?
> Thanks.
> Best regards
> Paolo
>
> **************************
> Paolo Maestro
> Universita' di Siena-INFN
> Phone ++39-050-2214349
> Fax ++39-050-2214317
> **************************
>
>
This archive was generated by hypermail 2b29 : Fri Jan 02 2004 - 02:46:51 MET