Error when compiling ROOT

Hi,

I checked out the ROOT source code from the svn trunk and when I try to compile it, I get the following error:
I’m compiling on a macbook 15.6.8, i686-apple-darwin9-gcc-4.2.1, i686-apple-darwin8-gfortran-4.2 .

Any ideas?

g++ -O2 -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -DR__HAVE_CONFIG -D_REENTRANT -pthread -DR__SSL -DOPENSSL_NO_KRB5 -o net/auth/src/TAuthenticate.o -c net/auth/src/TAuthenticate.cxx
Generating dictionary net/auth/src/G__RootAuth.cxx…
core/utils/src/rootcint_tmp -cint -f net/auth/src/G__RootAuth.cxx -c net/auth/inc/rsalib.h net/auth/inc/rsadef.h net/auth/inc/TRootAuth.h net/auth/inc/AuthConst.h net/auth/inc/rsaaux.h net/auth/inc/TRootSecContext.h net/auth/inc/rsafun.h net/auth/inc/THostAuth.h net/auth/inc/TAuthenticate.h net/auth/inc/LinkDefRoot.h
Error: Syntax error include/rsalib.h:38:
Error: Symbol rsa_NUMBER is not defined in current scope include/rsalib.h:42:
Error: Syntax error include/rsalib.h:48:
Error: Syntax error include/rsalib.h:49:
Error: void type variable can not be declared include/rsalib.h:49:
Error: Syntax error include/rsalib.h:51:
Error: Syntax error include/rsalib.h:52:
Error: Syntax error include/rsalib.h:53:
Error: Syntax error include/rsalib.h:54:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing net/auth/src/G__RootAuth.cxx net/auth/src/G__RootAuth.h !!!
Error: core/utils/src/rootcint_tmp: error loading headers…
gmake: *** [net/auth/src/G__RootAuth.cxx] Error 1
rm core/utils/src/rootcint_tmp.cxx core/utils/src/RStl_tmp.cxx

Cheers,
Aldo

Hi,

Do you still have this problem?

Philippe.

I am trying to compile Root 5.28.00a on Mac 10.6.3 and am getting the following failure:

Generating dictionary net/auth/src/G__RootAuth.cxx…
core/utils/src/rootcint_tmp -cint -f net/auth/src/G__RootAuth.cxx -c /opt/local/src/root/net/auth/inc/rsalib.h /opt/local/src/root/net/auth/inc/rsadef.h /opt/local/src/root/net/auth/inc/TRootAuth.h /opt/local/src/root/net/auth/inc/AuthConst.h /opt/local/src/root/net/auth/inc/rsaaux.h /opt/local/src/root/net/auth/inc/TRootSecContext.h /opt/local/src/root/net/auth/inc/rsafun.h /opt/local/src/root/net/auth/inc/THostAuth.h /opt/local/src/root/net/auth/inc/TAuthenticate.h /opt/local/src/root/net/auth/inc/LinkDefRoot.h
Error: Syntax error include/rsalib.h:39:
Error: Symbol rsa_NUMBER is not defined in current scope include/rsalib.h:43:
Error: Syntax error include/rsalib.h:49:
Error: Syntax error include/rsalib.h:50:
Error: void type variable can not be declared include/rsalib.h:50:
Error: Syntax error include/rsalib.h:52:
Error: Syntax error include/rsalib.h:53:
Error: Syntax error include/rsalib.h:54:
Error: Syntax error include/rsalib.h:55:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing net/auth/src/G__RootAuth.cxx net/auth/src/G__RootAuth.h !!!
Error: core/utils/src/rootcint_tmp: error loading headers…
make: *** [net/auth/src/G__RootAuth.cxx] Error 1

Thanks for any help.

Dave

Hi Dave,

Do you still have this problem?

Philippe.

Hi, I get this error while compiling root5.28 on OSX 10.5.8 with make3.81.
Any ideas how to solve this problem?

Hi,

Did you try v5.29/02 or v5.28/00d?

Philippe.

I tried v5.28.00c (recommended production version).
Will try development version 5.29.02 right now.

Version 5.29.02 compiled, but ROOT doesn’t start, giving the following error:
dyld: Symbol not found: _pcre_free
Referenced from: /Applications/root5.29.02/lib/libCore.so
Expected in: dynamic lookup

Will try 5.28.00d.

v5.28.00d gives the the same error as v5.28.00c :frowning:

My real problem is that I created the ROOT files with v5.28, and cannot read them on another machine, which has an older ROOT version (error: “file is not a TStreamerInfo object”).

Is is possible to convert these files somehow to an older version?

Hi,

You should be able to safely ignore this warning message (or upgrade to v5.26/00c)

Philippe.