Trying to compile root on Solaris 11 64bit

Hi

I’m trying to compile ROOT on Solaris 11 x64.

The configure script ran without any errors (./configure solaris64CC5), but i get the follwing error from the compiler:

CC -m64 -KPIC -I/usr/openwin/include -library=stlport4 -Iinclude -mt -I. -I/export/home/pg27773/ROOT_SETUP/root/cint/cint/inc -o hist/spectrumpainter/src/G__Spectrum2Painter.o -c hist/spectrumpainter/src/G__Spectrum2Painter.cxx "include/Math/CramerInversion.icc", line 40: Error: "template<>" syntax is required when explicitly specializing a member of "FastInverter<3>". "include/Math/CramerInversion.icc", line 131: Error: "template<>" syntax is required when explicitly specializing a member of "FastInverter<4>". "include/Math/CramerInversion.icc", line 131: Error: ROOT::Math::Dinv<MatrixRep>(MatrixRep&) already had a body defined. "include/Math/CramerInversion.icc", line 273: Error: "template<>" syntax is required when explicitly specializing a member of "FastInverter<5>". "include/Math/CramerInversion.icc", line 273: Error: ROOT::Math::Dinv<MatrixRep>(MatrixRep&) already had a body defined. "include/Math/CramerInversionSym.icc", line 38: Error: "template<>" syntax is required when explicitly specializing a member of "FastInverter<3>". "include/Math/CramerInversionSym.icc", line 124: Error: "template<>" syntax is required when explicitly specializing a member of "FastInverter<4>". "include/Math/CramerInversionSym.icc", line 241: Error: "template<>" syntax is required when explicitly specializing a member of "FastInverter<5>". 8 Error(s) detected.

imgur.com/6V942RP

OS: SunOS solaris11 5.11 11.3 i86pc i386 i86pc
ROOT version - v5-34-36
ARCH - Solaris64CC5
CC - Sun C++ 5.13 SunOS_i386 2014/10/20
cc - Sun C 5.13 SunOS_i386 2014/10/20

Thanks for any help,
Marcos Carvalho.

Hi,

I am not sure if an old version of ROOT is supported on this platform. The error is in SMatrix, if you don’t need it, you can probably to configure with --disable-smatrix

Cheers

Lorenzo