Compilation problem with root_v5.22.00


I can’t compile root_v5.22.00 on FC11. With “configure linux”, I’m getting the following:

*** Building xrootd …
gmake[1]: Entering directory /home/pvankov/tmp/root/net/xrootd/src/xrootd' Making sys component... cd src/XrdSys;\ gmake all ARCH=i386_linux --no-print-directory Make XrdSys done. Making ouc component... cd src/XrdOuc;\ gmake all ARCH=i386_linux --no-print-directory Make XrdOuc done. Making ouc component... Compiling g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -m32 -D_ALL_SOURCE -D_REENTRANT -D_GNU_SOURCE -fPIC -rdynamic -Wall -Wno-deprecated -D__linux__ -O2 -DXrdDEBUG=0 -DHAS_GETHBYXR -DHAS_NAMEINFO -DHAS_PROTOR -I. -I.. -o ../../obj/XrdNetDNS.o In static member function ‘static int XrdNetDNS::Host2Dest(const char*, sockaddr&, char**)’: error: invalid conversion from ‘const char*’ to ‘char*’ gmake[5]: *** [../../obj/XrdNetDNS.o] Error 1 gmake[4]: *** [Linuxall] Error 2 gmake[3]: *** [all] Error 2 gmake[2]: *** [XrdNet] Error 2 gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory/home/pvankov/tmp/root/net/xrootd/src/xrootd’
gmake: *** [net/xrootd/src/xrootd/lib/] Error 2

Any help is appreciated,


FC11 is based on gcc4.4 with extensions. You must use the ROOT SVN trunk .


Thanks Rene,

With the SVN trunk version (5.23.05) I managed to compile it succesfully.
Hope that 5.23.05 is stable enough an can be used without any major problems.

Regards, Peter.

We are now preparing the pro release 5.24 (30 June). This release supports gcc4.4 under FC11.