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

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Wed, 31 Oct 2007 15:01:10 +0100


Hi Melinda,

   this problem has been fixed in the svn trunk.

Cheers, Fons.

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

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://fons.rademakers.org           Fax:   +41 22 7669640
Received on Wed Oct 31 2007 - 15:02:20 CET

This archive was generated by hypermail 2.2.0 : Sun Nov 04 2007 - 17:50:01 CET