Hi,
Due to some bug fixes in xrootd, we are trying to move to ROOT v5.18b. I obtained the source from subversion:
svn co root.cern.ch/svn/root/tags/v5-18-00b
I’m building on RHEL3, gcc3.2.3 with the following configuration:
ROOTBUILD=debug
./configure linux --disable-cern --enable-mysql --enable-xrootd --with-python-incdir=/afs/slac/g/glast/ground/GLAST_EXT/rh9_gcc32/python/2.5.1/include/python2.5 --with-python-libdir=/afs/slac/g/glast/ground/GLAST_EXT/rh9_gcc32/python/2.5.1/lib/python2.5/config --enable-mathcore --enable-mathmore --enable-reflex --enable-cintex --enable-roofit --with-oracle-incdir=/usr/oracle/rdbms/public --with-oracle-libdir=/usr/oracle/lib --enable-minuit2 --enable-unuran --enable-table --enable-explicitlink
The build fails in xrootd:
Creating executable …/…/bin/xrd
g++ -D_ALL_SOURCE -D_REENTRANT -D_GNU_SOURCE -fPIC -rdynamic -Wall -Wno-deprecated -D__linux__ -g …/…/obj/XrdCommandLine.o …/…/lib/libXrdClient.a …/…/lib/libXrdCrypto.a …/…/lib/libXrdSut.a …/…/lib/libXrdNet.a …/…/lib/libXrdOuc.a …/…/lib/libXrdSys.a -lnsl -lpthread -lrt -ldl -lc -o …/…/bin/xrd
Compiling XrdClientAdmin_c_wrap.c
g++ -g -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_ALL_SOURCE -D_REENTRANT -D_GNU_SOURCE -fPIC -rdynamic -Wall -Wno-deprecated -D__linux__ -g -DXrdDEBUG=1 -I. -I… -I/afs/slac.stanford.edu/package/perl/lib/5.8.8/i386_linux24/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -o …/…/obj/XrdClientAdmin_c_wrap.o XrdClientAdmin_c_wrap.c
XrdClientAdmin_c_wrap.c:1186: syntax error before __attribute__' XrdClientAdmin_c_wrap.c:1186: syntax error before
)’ token
XrdClientAdmin_c_wrap.c:1187: syntax error before *' token XrdClientAdmin_c_wrap.c:1192: 'SwigPerlWrapperPtr' is used as a type, but is not defined as a type. XrdClientAdmin_c_wrap.c:1744: syntax error before
attribute’
XrdClientAdmin_c_wrap.c: In function void _wrap_XrdInitialize(...)': XrdClientAdmin_c_wrap.c:1758: syntax error before
if’
XrdClientAdmin_c_wrap.c:1760: syntax error before }' token XrdClientAdmin_c_wrap.c:1761: ISO C++ forbids declaration of
res1’ with no
type
much more, and then ends with:
{standard input}:4198: Error: symbol res2' is already defined {standard input}:4246: Error: symbol
argvi’ is already defined
{standard input}:4253: Error: symbol mark' is already defined {standard input}:4259: Error: symbol
PL_stack_base’ is already defined
{standard input}:4265: Error: symbol PL_stack_base' is already defined {standard input}:4271: Error: symbol
PL_stack_base’ is already defined
{standard input}:4277: Error: symbol PL_stack_base' is already defined {standard input}:4283: Error: symbol
PL_stack_base’ is already defined
{standard input}:4289: Error: symbol PL_stack_base' is already defined {standard input}:4295: Error: symbol
PL_stack_base’ is already defined
{standard input}:4301: Error: symbol PL_stack_base' is already defined {standard input}:4307: Error: symbol
PL_stack_base’ is already defined
{standard input}:4313: Error: symbol PL_stack_sp' is already defined {standard input}:4320: Error: symbol
Perl_croak’ is already defined
{standard input}:4505: Error: symbol mark' is already defined {standard input}:4525: Error: symbol
PL_stack_base’ is already defined
{standard input}:4531: Error: symbol PL_stack_sp' is already defined make[5]: *** [../../obj/XrdClientAdmin_c_wrap.o] Error 1 make[4]: *** [Linuxall] Error 2 make[3]: *** [all] Error 2 make[2]: *** [XrdClient] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory
/a/surrey01/vol/vol2/g.glast_users/glground/heather/ROOT-v5.18b/v5.18.00b/root/xrootd/src/xrootd’
make: *** [xrootd/src/xrootd/lib/libXrdSec.so] Error 2
bash-2.05b$
Is there a known problem? I notice that this version isn’t mentioned on the ROOT pages, so perhaps I should not even be using it.
Thanks,
Heather