Can't build root on Gentoo

Hi,
I’m trying to compile root 5.14.00c on Gentoo Linux, but it always dies with[quote=“CFLAGS=”-pipe -march=nocona -fomit-frame-pointer -Os" CXXFLAGS="" USE="-afs -kerberos" emerge -avt =root-5.14.00c"]cint/src/gcc3strm.cxx:317: error: ‘class std::fpos<__mbstate_t>’ has no member named ‘operator!=’[/quote]I’d appreciate any ideas.

TIA
Lukas

Hi,

I have the same problem on Archlinux with ROOT 5.16. My CFLAGS are -pipe -march=i686 -mtune=generic -O2. I am using gcc 4.2.1.

Cheers,
Sebastian

Hi,

gcc 4.2.1 being fairly recent, we have not yet gotten a chance to test it (and apparently it needs some attention).

Philippe

I’m not sure if it’s necessarily related to gcc. I’m experiencing the same problem even if I use Intel Compiler.[quote=“CC=icc CFLAGS=”-O3 -Ob2 -xp -parallel" CXXFLAGS="" emerge -avt root"]cint/src/gcc3strm.cxx:311: error: ‘class std::fpos<__mbstate_t>’ has no member named ‘operator==’[/quote]Anyway, I tried gcc 4.2.0 before.

Hi,

I will fix this next week. To test it I would appreciate if you could post the command line that invokes the compiler. I.e. the full line (including options) that triggers the error message on cint/src/gcc3strm.cxx.

Cheers, Axel.

These are the last lines before error appeared.

g++ -pipe -Wall -m64 -fPIC -Iinclude -DR__HAVE_CONFIG -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__64BIT -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/src -pthread -Icint/lib/gcc3strm -o cint/src/gcc3strm.o -c cint/src/gcc3strm.cxx bin/rmkdepend -R -fcint/src/longif3.d -Y -w 1000 -- -pipe -Wall -m64 -fPIC -Iinclude -DR__HAVE_CONFIG -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__64BIT -DG__HAVE_C ONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/src -pthread -D__cplusplus -- cint/src/longif3.cxx g++ -pipe -Wall -m64 -fPIC -Iinclude -DR__HAVE_CONFIG -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__64BIT -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/src -pthread -o cint/src/longif3.o -c cint/src/longif3.cxx

Hi,
thanks for reporting; this is now fixed in CINT’s CVS. I expect to be able to upload it to ROOT soon.

Axel.