I got error when I install ROOT 5.28 in ubuntu 12.04. Here’s the error message:
bin/rmkdepend -R -fcint/cint/src/Class.d -Y -w 1000 – -pipe -m32 -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 -I/home/sean/root/cint/cint/inc -I/home/sean/root/cint/cint/src -I/home/sean/root/cint/cint/src/dict -pthread -I. -D__cplusplus – cint/cint/src/Class.cxx
g++ -O2 -pipe -m32 -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 -I/home/sean/root/cint/cint/inc -I/home/sean/root/cint/cint/src -I/home/sean/root/cint/cint/src/dict -pthread -I. -o cint/cint/src/Class.o -c cint/cint/src/Class.cxx
cint/cint/src/Class.cxx:262:6: error: prototype for ‘void Cint::G__ClassInfo::SetGlobalcomp(int)’ does not match any in class ‘Cint::G__ClassInfo’
include/Class.h:67:8: error: candidate is: void Cint::G__ClassInfo::SetGlobalcomp(G__SIGNEDCHAR_T)
cint/cint/src/Class.cxx: In member function ‘void* Cint::G__ClassInfo::New()’:
cint/cint/src/Class.cxx:824:54: error: invalid conversion from ‘int*’ to ‘long int*’ [-fpermissive]
include/G__ci_fproto.h:390:1: error: initializing argument 3 of ‘void G__CurrentCall(int, void*, long int*)’ [-fpermissive]
cint/cint/src/Class.cxx: In member function ‘void* Cint::G__ClassInfo::New(int)’:
cint/cint/src/Class.cxx:890:54: error: invalid conversion from ‘int*’ to ‘long int*’ [-fpermissive]
include/G__ci_fproto.h:390:1: error: initializing argument 3 of ‘void G__CurrentCall(int, void*, long int*)’ [-fpermissive]
cint/cint/src/Class.cxx: In member function ‘void* Cint::G__ClassInfo::New(void*)’:
cint/cint/src/Class.cxx:976:54: error: invalid conversion from ‘int*’ to ‘long int*’ [-fpermissive]
include/G__ci_fproto.h:390:1: error: initializing argument 3 of ‘void G__CurrentCall(int, void*, long int*)’ [-fpermissive]
cint/cint/src/Class.cxx: In member function ‘void* Cint::G__ClassInfo::New(int, void*)’:
cint/cint/src/Class.cxx:1052:54: error: invalid conversion from ‘int*’ to ‘long int*’ [-fpermissive]
include/G__ci_fproto.h:390:1: error: initializing argument 3 of ‘void G__CurrentCall(int, void*, long int*)’ [-fpermissive]
make: *** [cint/cint/src/Class.o] Error 1
I tried other edition of ROOT, but the same error message still appeared.
What should I do?