problem to link root_v5-24 libraries

From: Jean-Philippe Guillet <guillet_at_lapp.in2p3.fr>
Date: Thu, 29 Oct 2009 11:36:58 +0100


Hello,
I installed root v5-24-00-patch on a Dell x86_64 computer using SL5.2. I wanted to link the root library to my fortran program, after running make, I got:
g95 -c -o further_param.o -O ../src/histo/perlmod/further_param.f g++ -c -o remplie.o -O -Wall -fPIC -pthread -m64
-I/opt/local/include/root ../src/histo/perlmod/remplie.cxx
g++ -c -o init_root.o -O -Wall -fPIC -pthread -m64
-I/opt/local/include/root ../src/histo/perlmod/init_root.cxx
g++ -c -o end_root.o -O -Wall -fPIC -pthread -m64
-I/opt/local/include/root ../src/histo/perlmod/end_root.cxx
g95 -O -m64 -o onephot_test3.exe ftn_c.o onephot_jet_histo.o histo_selection_jet.o isolement.o jet_definition.o doubletosingled_histo.o further_param.o doubletosingleo_histo.o remplissage.o remplie.o init_root.o end_root.o alfas_lhapdf.o distfunb_lhapdf.o param_lhapdf.o secteff.o alfa_qed.o choiscale.o charnum.o modified_trig.o htermone_jet.o crossone_jet.o onephotd_jet.o dir_phot_jet.o h12one_jet.o h13one_jet.o h23one_jet.o h14one_jet.o h24one_jet.o h34one_jet.o consone_jet.o htermtwo_jet.o crosstwo_jet.o onephoto_jet.o one_phot_jet.o h12two_jet.o h13two_jet.o h23two_jet.o h14two_jet.o h24two_jet.o h34two_jet.o constwo_jet.o fragmentation.o fonfra_inter2.o distribPert.o distribNonPert_setII.o distribNonPert_setI.o locate.o polin2.o polint.o fragfun_all.o bkk.o kkp.o pkhff.o grille_had_charged.o akk08.o ffakk.o akk.o fDSS.o hknsff07v2.o hknsffwrapper.o vecsum.o vecaddmulcons.o vecaddvec.o vecinit.o vecmuladd.o vecmulcons.o vecmulsub.o vecmulvec.o pdfa.o eks98.o nDS.o npdf04.o eps08.o \

         -L../basesv5.1 -lbases \
         `/cern/pro/bin/cernlib packlib mathlib` 
/home/LAPPSL4-houches/lhapdf/lib/libLHAPDF.so \
         -L/usr/lib/gcc/x86_64-redhat-linux/3.4.6 -lg2c 

-L/usr/lib/gcc/x86_64-redhat-linux/4.1.1 -lgfortran
-L/usr/lib/gcc/x86_64-redhat-linux/4.1.1 -lstdc++ -L/opt/local/lib/root
-lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint
-lPostscript -lMatrix -lPhysics -lMathCore -lThread -pthread -lm -ldl
-rdynamic
/opt/local/lib/root/libCint.so: undefined reference to 
`_ZNSi6ignoreEl_at_GLIBCXX_3.4.5'
/opt/local/lib/root/libCint.so: undefined reference to 
`__cxa_get_exception_ptr_at_CXXABI_1.3.1'
/opt/local/lib/root/libCint.so: undefined reference to `_ZNSi6ignoreEv_at_GLIBCXX_3.4.5'
make: *** [onephot_test3] Error 1

I guess that a library is missing in my link, but I tried to search on the web and I was not able to find something.

Thank you in advance

Jean-Philippe Guillet Received on Thu Oct 29 2009 - 11:38:53 CET

This archive was generated by hypermail 2.2.0 : Thu Oct 29 2009 - 17:50:02 CET