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

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Thu, 09 Mar 2006 11:04:14 -0600


Hi George,

I am not sure (I never determined what was the real culprit in the failing case). Anyway since it works for you, you don't have to worry :)

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of George M. Irwin
Sent: Thursday, March 09, 2006 8:29 AM
To: Philippe Canal
Cc: 'daniel cussol'; 'root talk'
Subject: RE: [ROOT] Compilations problems of ROOT 5.10.00 on MacOs X.3.9 with gcc 3.3

Hmm, why don't I get your error on my PowerBook G4 MacOS 10.3.9? I have "-g" and don't specify "-O2". This is with today's ROOT in CVS development. George

% gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1671)

% g++ -g -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

On Wed, 8 Mar 2006, Philippe Canal wrote:

> Hi Daniel,
>
> I have also seen this problem and was unable to find a
> satisfactory work-around this bug in gcc 3.3.
>
> I can provided you with a way to end with a succesfull build
> (which has no guarantee of having a function matrix package).
>
> Alternatively (and better) I recommend that you upgrade to
> a newer version of gcc/macOS.
>
> Cheers,
> Philippe.
>
> -----Original Message-----
> From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch]
> On Behalf Of daniel cussol
> Sent: Tuesday, March 07, 2006 10:59 AM
> To: root talk
> Subject: [ROOT] Compilations problems of ROOT 5.10.00 on MacOs X.3.9 with
> gcc 3.3
>
> 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/../../../l
> ibfrtbegin.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 Thu Mar 09 2006 - 18:07:01 MET

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