Hi, My first guess would an incompatibility between library built with gcc295 and gcc296. I would recomment rebuild ROOT to match exactly your environment. Cheers, Philippe. -----Original Message----- From: owner-roottalk@pcroot.cern.ch [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Belen Salvachua Ferrando Sent: Tuesday, March 09, 2004 12:40 PM To: roottalk@cern.ch Subject: [ROOT] problem compiling root libraries Hello, 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: ../i686-rh73-gcc295-opt/prueba cd ../i686-rh73-gcc295-opt/; g++ -fPIC -pipe -ansi -pedantic -W -Wall -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -Wno-long-long -O2 -march=pentium -mcpu=pentium -malign-loops=2 -malign-jumps=2 -malign-functions=2 -g -pthread -L. -L../../../installed/i686-rh73-gcc295-opt/lib -L/afs/cern.ch/atlas/project/tdaq/DataFlow/DF-00-06-00/installed/..//install ed/i686-rh73-gcc295-opt/lib -L. -L../../../installed/i686-rh73-gcc295-opt/lib -L/afs/cern.ch/atlas/project/tdaq/DataFlow/DF-00-06-00/installed//i686-rh73- gcc295-opt/lib -L/afs/cern.ch/atlas/project/tdaq/cmt/online-00-20-00/installed/i686-rh73-gc c295-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! Belen.
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET