[ROOT] Failed to load Dynamic link library

From: potlog@he.jinr.ru
Date: Wed Oct 20 2004 - 12:18:46 MEST


Hello,

I use Root 3.10/02 in Linux Mandrake with compiler gcc-3.3.2
I'm trying to compile a AnaBeam.C file (the file .tar includes
AnaBeam.C and AnaBeam.h). When I issue
root[] .L Selector.C+
I obtain the following answer


Info in <TUnixSystem::ACLiC>: creating shared library
/home/mihai/GSI/root/./AnaBeam_C.so
dlopen error:
/home/mihai/GSI/root/./AnaBeam_C.so: undefined symbol: _Z11GetMomIndexf
Load Error: Failed to load Dynamic link library
/home/Mihai/GSI/root/./AnaBeam_c.so
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.2/../../../crt1.o(.text+0x18):
In function `_start':
../sysdeps/i386/elf/start.S: undefined reference to 'main'
/home/mihai/GSI/root/./filegebo1d.o(.text+0x29c2): In function
'G_filegebo1d_7_44(G_value*, char const*, G_param*, int)':
:undefined reference to 'GetMomIndex(float)'
/home/mihai/GSI/root/./libLmd.so: undefined reference to
'LmdFile::EventLoop()'
collect2: ld returned 1 exit status
*** Interpreter error recovered ***


What can I do?
Thank you very much in advance for your help.



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET