[ROOT] problem compiling root libraries

From: Belen Salvachua Ferrando (Belen.Salvachua.Ferrando@cern.ch)
Date: Tue Mar 09 2004 - 19:39:48 MET


I have been the whole afternoon with a problem and I am not able to 
localize the solution. The problem is the following:
When I try to compile an application which uses root libraries I get the 
next error:

cd ../i686-rh73-gcc295-opt/; g++ -fPIC -pipe -ansi -pedantic -W 
-Wall                                                    -Wwrite-strings 
-Wpointer-arith -Woverloaded-virtual                             
-Wno-long-long -O2 -march=pentium 
-malign-loops=2 -malign-jumps=2 -malign-functions=2  -g  -pthread   -L. 
-L. -L../../../installed/i686-rh73-gcc295-opt/lib 
-o prueba.exe.new ../i686-rh73-gcc295-opt/prueba.o  -lAlgorithms      
-lm -ldl     -L/afs/cern.ch/sw/root/v3.05.05/rh73_gcc296/root/lib -lCint 
-lCore -lTree -lMatrix -lHist            -lpthread  ; mv -f 
prueba.exe.new prueba
/afs/cern.ch/sw/root/v3.05.05/rh73_gcc296/root/lib/libCore.so: undefined 
reference to `__dynamic_cast_2'
collect2: ld returned 1 exit status
mv: cannot stat `prueba.exe.new': No such file or directory
make[1]: *** [../i686-rh73-gcc295-opt/prueba] Error 1
make: *** [prueba] Error 2

I've tried several things and the problem persits. Does somebody know 
what I could do???
Thanks a lot in advance.

Best regards!


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