[ROOT] compile pb on SunOS gcc root 3.03.09

From: Eddy Offermann (eddy@rentec.com)
Date: Thu Oct 24 2002 - 00:11:04 MEST


Dear all,

Trying to compile root 3.03.09 on "SunOS ox 5.9 Generic sun4u sparc SUNW,Sun-Fire"
after configuring with "./configure solarisgcc" results in the following error:


==> lib/libCint.so done
g++ -O  -o bin/cint cint/main/cppmain.o \
           -Llib -lCint -lm -ltermcap -ldl -L/usr/ccs/lib -lgen
gcc -O -fPIC -DG__REGEXP1 -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -Iinclude  -o cint/tool/makecint.o -c cint/tool/makecint.c
g++ -O  -o bin/makecint cint/tool/makecint.o
g++ -O -fPIC -I/usr/openwin/include -Iinclude  -o utils/src/rootcint.o -c utils/src/rootcint.cxx
g++ -O  -o bin/rootcint utils/src/rootcint.o \
           -Llib -lCint -lm -ltermcap -ldl -L/usr/ccs/lib -lgen
Running build/unix/compiledata.sh
Making include/compiledata.h
g++ -O -fPIC -I/usr/openwin/include -Iinclude  -o base/src/InitGui.o -c base/src/InitGui.cxx
g++ -O -fPIC -I/usr/openwin/include -Iinclude  -o base/src/Match.o -c base/src/Match.cxx
g++ -O -fPIC -I/usr/openwin/include -Iinclude  -o base/src/Stringio.o -c base/src/Stringio.cxx
g++ -O -fPIC -I/usr/openwin/include -Iinclude  -o base/src/TApplication.o -c base/src/TApplication.cxx
In file included from include/TObject.h:188,
                 from include/TApplication.h:29,
                 from base/src/TApplication.cxx:29:
include/TBuffer.h: In function `class TBuffer & operator >>(TBuffer &, Tmpl *&)':
include/TBuffer.h:245: must #include <typeinfo> before using typeid
include/TBuffer.h: In function `class TBuffer & operator <<(TBuffer &, const Tmpl *)':
include/TBuffer.h:255: must #include <typeinfo> before using typeid
make: *** [base/src/TApplication.o] Error 1

any ideas ??

Eddy



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:15 MET