Compilations problems of ROOT 5.10.00 on MacOs X.3.9 with gcc 3.3

From: daniel cussol <cussol_at_ccimap.in2p3.fr>
Date: Tue, 07 Mar 2006 17:59:26 +0100


Hello MacRooters,
 I tried to compile ROOT from sources on my iBook G4 under MacOs X.3.9 with gcc 3.3. At the end of the compiling procedure, when the root.exe file is generated, I obtain the following error message:

g++ -O2 -bind_at_load -o bin/root.exe main/src/rmain.o  

-Wl,-u,_G__cpp_setupG__Hist -Wl,-u,_G__cpp_setupG__Graf1
-Wl,-u,_G__cpp_setupG__G3D -Wl,-u,_G__cpp_setupG__GPad
-Wl,-u,_G__cpp_setupG__Tree -Wl,-u,_G__cpp_setupG__Matrix \

           -Llib -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree
-lMatrix -lRint -lm -L/sw/lib -lpthread -ldl
ld: Undefined symbols:
TMatrixTSym<double>::Delete_m(int, double*&) TMatrixT<double>::Delete_m(int, double*&) make: *** [bin/root.exe] Error 1

The "make sowbuild" command shows this:

ROOTSYS            = /Users/choubi/root
PLATFORM           = macosx
OPT                = -O2

CXX                = g++
CC                 = gcc
F77                = g77
CPP                = gcc -E
LD                 = g++
F77LD              = g++
GCC_MAJOR          = 3
GCC_MINOR          = 3

CXXFLAGS           = -pipe -W -Wall -Wno-long-double 

-Woverloaded-virtual -fsigned-char -fno-common -I/usr/X11R6/include
-Iinclude -I/sw/include

CINTCXXFLAGS = -pipe -W -Wall -Wno-long-double
-Woverloaded-virtual -fsigned-char -fno-common -Iinclude -I/sw/include
-DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__ROOT -DG__REDIRECTIO
-DG__OSFDLL -DG__STD_EXCEPTION
EXTRA_CXXFLAGS     = -Iinclude
CFLAGS             = -pipe -W -Wall -Wno-long-double -fsigned-char 

-fno-common -I/usr/X11R6/include -Iinclude -I/sw/include
CINTCFLAGS = -pipe -W -Wall -Wno-long-double -fsigned-char

-fno-common -Iinclude -I/sw/include -DG__REGEXP -DG__UNIX
-DG__SHAREDLIB -DG__ROOT -DG__REDIRECTIO -DG__OSFDLL -DG__STD_EXCEPTION
EXTRA_CFLAGS       = -Iinclude
F77FLAGS           =
LDFLAGS            = -O2 -bind_at_load
F77LDFLAGS         = -O2 -bind_at_load
EXTRA_LDFLAGS      =
SOFLAGS            = -O2 -dynamiclib -single_module -undefined 
dynamic_lookup -install_name /Users/choubi/root/lib/
SOEXT              = dylib

SYSLIBS            = -lm  -L/sw/lib  -lpthread -ldl
XLIBS              = -L/usr/X11R6/lib -lXpm -L/usr/X11R6/lib -lX11
CILIBS             = -lm  -L/sw/lib -ldl
F77LIBS            = 

/Volumes/Divers/sw/bin/../lib/gcc/powerpc-apple-darwin7.7.0/3.4.3/../../../libfrtbegin.a
-lg2c
FPYTHIALIBDIR      =
FPYTHIA6LIBDIR     =
FVENUSLIBDIR       =
TABLE              =
XPMLIBDIR          = -L/usr/X11R6/lib
XPMLIB             = -lXpm
TTFFONTDIR         = /Users/choubi/root/fonts
OPENGLLIBDIR       = -L/usr/X11R6/lib
OPENGLULIB         = -lGLU
OPENGLLIB          = -lGL
OPENGLINCDIR       = /usr/X11R6/include
CERNLIBDIR         = -L/sw/./lib -L/sw/./lib
CERNLIBS           = -lpacklib -lkernlib
OSTHREADLIB        = -lpthread
SHIFTLIB           =
DCAPLIB            =
GFALLIB            =
MYSQLINCDIR        =
ORACLEINCDIR       =
PGSQLINCDIR        =
PYTHONLIBDIR       =
PYTHONLIB          = 
/System/Library/Frameworks/Python.framework/Versions/2.3/Python
PYTHONINCDIR       = 
/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3
RUBYLIBDIR         =
RUBYLIB            =
RUBYINCDIR         =
SAPDBINCDIR        =
SRPLIBDIR          =
SRPINCDIR          =
SRPUTILLIB         =
LDAPINCDIR         =
LDAPCLILIB         = -lldap -llber
MONALISAINCDIR     =
MONALISACLILIB     =
QTLIBDIR           =
QTLIB              =
QTINCDIR           =
AFSDIR             =
SHADOWFLAGS        =

INSTALL            = cp -pPR
INSTALLDATA        = cp -pPR
INSTALLDIR         = mkdir -p
MAKEDEP            = build/unix/depend.sh
MAKELIB            = build/unix/makelib.sh
MAKEDIST           = build/unix/makedist.sh
MAKEDISTSRC        = build/unix/makedistsrc.sh
MAKEVERSION        = build/unix/makeversion.sh
IMPORTCINT         = build/unix/importcint.sh

The list of modules to be built:



build cint metautils pcre utils base cont meta net auth zip clib matrix newdelete hist tree freetype graf g3d gpad gui minuit histpainter treeplayer treeviewer physics postscript rint html eg geom geompainter vmc fumili mlp gedold ged quadp guibuilder xml foam splot smatrix sql unix x11 x11ttf x3d rootx gl asimage thread proof pyroot xmlparser mathcore mathmore krb5auth ldap hbook xrootd netx rpdutils rootd proofd proofx main

Could anybody help?
Many thanks for any answer.

Regards

--

Daniel CUSSOL

LPC Caen IN2P3/ENSICAEN/Universite de Caen Boulevard du Marechal Juin
14050 CAEN CEDEX

e-mail : cussol_at_in2p3.fr
Tel    : +33-(0)2-31-45-29-73
FAX    : +33-(0)2-31-45-25-49
Received on Tue Mar 07 2006 - 17:55:24 MET

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:57 MET