Hoi Ed,
I think many things have to change. I have updated RecoilAnalysis and
VubAnalyis a bit to reflect what I find in
$BFROOT/dist/releases/analysis-24/SoftRelTools/arch_spec/
arch_spec_CERNLIB.mk
arch_spec_ROOT.mk
arch_spec_f77.mk (maybe)
I guess that a better root version is 4.01-02. I guess that a better
compiler than what was in the Makefiles (2.95.3) is probably 3.2.3 as
that seems to come after doing srtpath.
I have not yet managed to link successfully, there are still problems
linking in the f77 routines and with vtables:
g++ -g -o ../bin/Linux24SL3_i386_gcc323/b2u ../tmp/Linux24SL3_i386_gcc323/VubAnalysis/b2u.o ../tmp/Linux24SL3_i386_gcc323/VubAnalysis/b2uNtp.o ../shlib/Linux24SL3_i386_gcc323/libRecoilAnalysis.so ../tmp/Linux24SL3_i386_gcc323/VubAnalysis/abcfit_smear.o ../tmp/Linux24SL3_i386_gcc323/VubAnalysis/abcfit_aibi_evol.o ../tmp/Linux24SL3_i386_gcc323/VubAnalysis/abcfit_bmatrix.o ../tmp/Linux24SL3_i386_gcc323/VubAnalysis/abcfit_interface_vub.o ../tmp/Linux24SL3_i386_gcc323/VubAnalysis/ntparam.o -L/afs/slac.stanford.edu/g/babar/package/root/4.01-02/Linux24SL3_i386_gcc323/lib -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lGui -pthread -lm -ldl -rdynamic -lMinuit /cern/2002/lib/libmathlib.a /cern/2002/lib/libpacklib.a /cern/2002/lib/libkernlib.a -lg2c -lfrtbegin
../tmp/Linux24SL3_i386_gcc323/VubAnalysis/b2uNtp.o(.text+0xe6aa): In function `b2uNtp::recoil()':
/u/ec/ursl/macros/fsx/vub/VubAnalysis/b2uNtp.cc:463: undefined reference to `abcfit_interface_vub_'
../shlib/Linux24SL3_i386_gcc323/libRecoilAnalysis.so: undefined reference to `ROOT::GenerateInitInstance(recoilAnalysis const*)'
../shlib/Linux24SL3_i386_gcc323/libRecoilAnalysis.so: undefined reference to `vtable for recoilAnalysis'
collect2: ld returned 1 exit status
gmake: *** [b2u] Error 1
Hopefully more later.
Cheers,
--U.
PS: The changed compiler indicates a lot of code rot. I had to comment
a few ifstream (formatting) lines and also TVector in root has changed
somehow.
|