CINT installation with gcc 4.2.3 fails for 5.12 version

Hello dear rooters,

I have problems…

Like almost every standars private linux user, I put Ubuntu 8.04 on my computer, which has now the gcc version 4.2.3 in it.
This comes with some modifications compared to the older 3.4 or 4.0 versions also on the std libray.

Now if i want to compile root on this model, i get compilation error in the cint part, which is shown like this:

I read in some other post that only root>5.18 is implemented with this stuff,
so do ireally have to swithc, or is there a workaround?

Thx a lots of in advance!
Best regards,
Frank


cint/src/v6_var.cxx: In function »int G__deletevariable(const char*)«:
cint/src/v6_var.cxx:7175: Warnung: veraltete Konvertierung von Zeichenkettenkonstante in »char*«
bin/rmkdepend -R -fcint/src/gcc3strm.d -Y -w 1000 -- -pipe -Wall -W -Woverloaded-virtual -fPIC -Iinclude  -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -pthread -Icint/lib/gcc3strm -D__cplusplus -- cint/src/gcc3strm.cxx
g++ -O  -pipe -Wall -W -Woverloaded-virtual -fPIC -Iinclude  -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -pthread -Icint/lib/gcc3strm -o cint/src/gcc3strm.o -c cint/src/gcc3strm.cxx
cint/src/gcc3strm.cxx: In function »int G__G__stream_7_7_0(G__value*, const char*, G__param*, int)«:
cint/src/gcc3strm.cxx:304: Fehler: »class std::fpos<__mbstate_t>« hat kein Element namens »operator==«
cint/src/gcc3strm.cxx: In function »int G__G__stream_7_8_0(G__value*, const char*, G__param*, int)«:
cint/src/gcc3strm.cxx:310: Fehler: »class std::fpos<__mbstate_t>« hat kein Element namens »operator!=«
make: *** [cint/src/gcc3strm.o] Fehler 1

gcc --version
gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)

Sorry

just one page behind there seems to be an (possible) answer for that.

Ok as i understood, there is no way to get 5.12 running with the recent gcc4.2.3 compiler.

I will probably have to switch to 5.18…

If there is still a possibility to get 5.12 running under gcc4.2 please let me know…

:confused:

Thx,
Frank

No, we never backport old versions to new compilers.

Rene