Print

Print


No doubt you've all heard that RH 7.2 support is ending on Feb 28 (weep).
Has anyone compiled VubAnalysis in RHEL?  What version of root did you use?

With this version of root:
setenv ROOTSYS /afs/slac.stanford.edu/package/cernroot/30207

I find that RecoilAnalysis compiles, but when i try to compile some of 
VubAnalysis' targets (anaQA or b2u) i get some pretty strange error messages.  
Incidentally - the target that makes the shared lib (gmake -f Makefile b2uQA) 
works fine along with "gmake -f main.mk"

Here are the error messages when compiling anaQA or b2u:

[noric05] ~/vol3/rhel/VubAnalysis > gmake -f Makefile anaQA
rm -f ../tmp/Linux24/VubAnalysis/recoilNtp.o
gmake -f main.mk
gmake[1]: Entering directory 
`/afs/slac.stanford.edu/u/ec/ejhill/vol3/rhel/VubAnalysis'

 L I N K I N G ....

gmake[1]: Leaving directory 
`/afs/slac.stanford.edu/u/ec/ejhill/vol3/rhel/VubAnalysis'
g++-2.95.3  -O2  -Wall -fPIC -w -D_REENTRANT 
-I/afs/slac.stanford.edu/package/cernroot/30207/include -DFAST -I../ -c 
valHist.cc   -o ../tmp/Linux24/VubAnalysis/valHist.o
g++-2.95.3  -O2  -Wall -fPIC -w -D_REENTRANT 
-I/afs/slac.stanford.edu/package/cernroot/30207/include -DFAST -I../ -c 
anaQA.cc -o ../tmp/Linux24/VubAnalysis/anaQA.o
g++-2.95.3  -O2  -Wall -fPIC -w -D_REENTRANT 
-I/afs/slac.stanford.edu/package/cernroot/30207/include -DFAST -I../ -c 
recoilNtp.cc -o ../tmp/Linux24/VubAnalysis/recoilNtp.o
g++-2.95.3  -O2  -Wall -fPIC -w -D_REENTRANT 
-I/afs/slac.stanford.edu/package/cernroot/30207/include -DFAST -I../ -c 
recoilDSys.cc -o ../tmp/Linux24/VubAnalysis/recoilDSys.o
g++-2.95.3  -g -o ../bin/Linux24/anaQA \
../tmp/Linux24/VubAnalysis/anaQA.o \
../tmp/Linux24/VubAnalysis/recoilNtp.o ../tmp/Linux24/VubAnalysis/valHist.o 
../tmp/Linux24/VubAnalysis/recoilDSys.o \
../tmp/Linux24/VubAnalysis/abcfit_smear.o 
../tmp/Linux24/VubAnalysis/abcfit_aibi_evol.o 
../tmp/Linux24/VubAnalysis/abcfit_bmatrix.o 
../tmp/Linux24/VubAnalysis/abcfit_interface_vub.o 
../tmp/Linux24/VubAnalysis/ntparam.o ../shlib/Linux24/libRecoilAnalysis.so 
-L/afs/slac.stanford.edu/package/cernroot/30207/lib -lCore -lCint -lHist 
-lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lGui 
-lm -ldl -lpthread -rdynamic -lMinuit /cern/99/lib/libmathlib.a  
/cern/99/lib/libpacklib.a  /cern/99/lib/libkernlib.a  -lg2c
/afs/.slac.stanford.edu/package/gcc/i386_linux22/gcc-2.95.3/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libg2c.a(open.o)(.text+0x4ca): 
In function `f_open':
/u/sf/bartelt/RWPackage/gcc/build/gcc-2.95.3/i686-pc-linux-gnu/libf2c/libI77/../../../../../src/gcc-2.95.3/libf2c/libI77/open.c:213: 
the use of `tempnam' is dangerous, better use `mkstemp'
/cern/99/lib/libpacklib.a(error.o)(.text+0x278): In function `rfio_serror':
: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/cern/99/lib/libpacklib.a(serror.o)(.text+0x22): In function `sstrerror':
: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
/cern/99/lib/libpacklib.a(remote.o)(.text+0x412): In function `isremote':
: undefined reference to `errno'
/cern/99/lib/libpacklib.a(remote.o)(.text+0x475): In function `isremote':
: undefined reference to `errno'
/afs/.slac.stanford.edu/package/gcc/i386_linux22/gcc-2.95.3/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libg2c.a(lread.o)(.text+0x18d): 
In function `l_R':
/u/sf/bartelt/RWPackage/gcc/build/gcc-2.95.3/i686-pc-linux-gnu/libf2c/libI77/../../../../../src/gcc-2.95.3/libf2c/libI77/lread.c:153: 
undefined reference to `__ctype_b'
/afs/.slac.stanford.edu/package/gcc/i386_linux22/gcc-2.95.3/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libg2c.a(lread.o)(.text+0x23e):/u/sf/bartelt/RWPackage/gcc/build/gcc-2.95.3/i686-pc-linux-gnu/libf2c/libI77/../../../../../src/gcc-2.95.3/libf2c/libI77/lread.c:179: 
undefined reference to `__ctype_b'
/afs/.slac.stanford.edu/package/gcc/i386_linux22/gcc-2.95.3/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libg2c.a(lread.o)(.text+0x2b6):/u/sf/bartelt/RWPackage/gcc/build/gcc-2.95.3/i686-pc-linux-gnu/libf2c/libI77/../../../../../src/gcc-2.95.3/libf2c/libI77/lread.c:196: 
undefined reference to `__ctype_b'
/afs/.slac.stanford.edu/package/gcc/i386_linux22/gcc-2.95.3/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libg2c.a(lread.o)(.text+0x2ee):/u/sf/bartelt/RWPackage/gcc/build/gcc-2.95.3/i686-pc-linux-gnu/libf2c/libI77/../../../../../src/gcc-2.95.3/libf2c/libI77/lread.c:206: 
undefined reference to `__ctype_b'
/afs/.slac.stanford.edu/package/gcc/i386_linux22/gcc-2.95.3/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libg2c.a(lread.o)(.text+0x83a): 
In function `l_L':
/u/sf/bartelt/RWPackage/gcc/build/gcc-2.95.3/i686-pc-linux-gnu/libf2c/libI77/../../../../../src/gcc-2.95.3/libf2c/libI77/lread.c:350: 
undefined reference to `__ctype_b'
/afs/.slac.stanford.edu/package/gcc/i386_linux22/gcc-2.95.3/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libg2c.a(lread.o)(.text+0xa3e):/u/sf/bartelt/RWPackage/gcc/build/gcc-2.95.3/i686-pc-linux-gnu/libf2c/libI77/../../../../../src/gcc-2.95.3/libf2c/libI77/lread.c:405: 
more undefined references to `__ctype_b' follow
collect2: ld returned 1 exit status
gmake: *** [anaQA] Error 1


Cheers,
Ed