Re: :Problem with make static with ROOT 5.17/05

From: Chiara Zampolli <Chiara.Zampolli_at_bo.infn.it>
Date: Wed, 31 Oct 2007 14:24:47 +0100


Dear Melinda,

    which config do you use? It happened to me to have the same problem once, when I was using an old cfg.sh... I have just made make static for the ROOT v5-17-04 (same so, and gcc as you), and it works, with the following cfg.sh:

#!/bin/sh

ALIEN_ROOT=/exports1/aliprod1/zampolli/AliEnSoft/alien/

./configure linux \

      --with-pythia6-uscore=SINGLE \
      --enable-cern --enable-rfio \
      --enable-mathmore --enable-mathcore --enable-roofit \
      --enable-asimage --enable-minuit2 \
      --enable-alien --with-alien-incdir=${ALIEN_ROOT}/api/include \
      --with-alien-libdir=${ALIEN_ROOT}/api/lib \
#      --with-ssl-incdir=${ALIEN_ROOT}/include \
#      --with-ssl-libdir=${ALIEN_ROOT}/lib


I hope this will help.
Cheers,

          Chiara

Melinda siciliano wrote:
> Hi!
>
> Im trying to compile ROOT 5.17/05 on my pc ( SLC4 and gcc version
> 3.4.6). When I try to do make static I receive the message
>
> [pcalito01] /data1/root_melinda/alice/aliroot/root > make static
> Making lib/libRoot.a...
> Making bin/roota...
> g++ -m32 -O2 -o bin/roota main/src/rmain.o base/src/G__Base1.o
> base/src/G__Base2.o base/src/G__Base3.o clib/src/G__Clib.o
> cont/src/G__Cont.o eg/src/G__EG.o fitpanel/src/G__FitPanel.o
> foam/src/G__Foam.o fumili/src/G__Fumili.o g3d/src/G__G3D.o
> ged/src/G__Ged.o geom/src/G__Geom1.o geom/src/G__Geom2.o
> geombuilder/src/G__GeomBuilder.o geompainter/src/G__GeomPainter.o
> gpad/src/G__GPad.o graf/src/G__Graf1.o graf/src/G__Graf2.o
> gui/src/G__Gui1.o gui/src/G__Gui2.o gui/src/G__Gui3.o
> guibuilder/src/G__GuiBld.o guihtml/src/G__GuiHtml.o hist/src/G__Hist.o
> histpainter/src/G__HistPainter.o html/src/G__Html.o io/src/G__IO.o
> math/src/G__Math.o mathcore/src/G__MathCore32.o
> mathcore/src/G__MathCore.o matrix/src/G__Matrix.o meta/src/G__Meta.o
> metautils/src/G__MetaUtils.o minuit/src/G__Minuit.o mlp/src/G__MLP.o
> net/src/G__Net.o physics/src/G__Physics.o
> postscript/src/G__PostScript.o proof/src/G__Proof.o
> proofplayer/src/G__ProofDraw.o proofplayer/src/G__ProofPlayer.o
> reflex/src/G__Reflex.o rint/src/G__Rint.o
> roofitcore/src/G__RooFitCore1.o roofitcore/src/G__RooFitCore2.o
> roofitcore/src/G__RooFitCore3.o sessionviewer/src/G__SessionViewer.o
> smatrix/src/G__Smatrix32.o smatrix/src/G__Smatrix.o
> spectrum/src/G__Spectrum.o spectrumpainter/src/G__Spectrum2Painter.o
> splot/src/G__SPlot.o sql/src/G__SQL.o thread/src/G__Thread.o
> tmva/src/G__TMVA.o tree/src/G__Tree.o treeplayer/src/G__TreePlayer.o
> treeviewer/src/G__TreeViewer.o unix/src/G__Unix.o x11/src/G__X11.o
> x3d/src/G__X3D.o lib/libRoot.a -L/usr/X11R6/lib -lXpm -L/usr/X11R6/lib
> -lXext -lX11 -L/usr/X11R6/lib -lXft -lm -ldl -pthread -rdynamic
> lib/libfreetype.a lib/libpcre.a
> lib/libRoot.a(TSessionDialogs.o)(.data.rel.local+0x0): multiple
> definition of `filetypes'
> lib/libRoot.a(TGHtmlBrowser.o)(.data.rel.local+0xc4): first defined here
> /usr/bin/ld: Warning: size of symbol `filetypes' changed from 24 in
> lib/libRoot.a( TGHtmlBrowser.o) to 32 in lib/libRoot.a(TSessionDialogs.o)
> lib/libRoot.a(TSystem.o)(.text+0x8e66): In function
> `TSystem::CompileMacro(char const*, char const*, char const*, char
> const*)':
> : warning: the use of `tmpnam' is dangerous, better use `mkstemp'
> collect2: ld returned 1 exit status
> make: *** [static] Error 1
>
> What is wrong?
>
> Thanks,
>
> Melinda
Received on Wed Oct 31 2007 - 14:25:00 CET

This archive was generated by hypermail 2.2.0 : Wed Oct 31 2007 - 17:50:02 CET