Make static does not compile

Hello, I downloaded ROOT 5.34/32 and tried to compile it with “make static”
Here is the configure that I used

No error appear and then I type “make static”.
Compilation fails on this error message

[quote]Making bin/roota…
g++ -m64 -g -Wl,–no-undefined -Wl,–as-needed -o bin/roota main/src/rmain.o cint/reflex/src/G__Reflex.o core/base/src/G__Base1.o core/base/src/G__Base2.o core/base/src/G__Base3.o core/clib/src/G__Clib.o core/cont/src/G__Cont.o core/meta/src/G__Meta.o core/metautils/src/G__MetaUtils.o core/rint/src/G__Rint.o core/textinput/src/G__TextInput.o core/thread/src/G__Thread.o core/unix/src/G__Unix.o core/zip/src/G__Zip.o geom/geom/src/G__Geom1.o geom/geom/src/G__Geom2.o geom/geombuilder/src/G__GeomBuilder.o geom/geompainter/src/G__GeomPainter.o graf2d/gpad/src/G__GPad.o graf2d/graf/src/G__Graf.o graf2d/postscript/src/G__PostScript.o graf2d/x11/src/G__X11.o graf2d/x11ttf/src/G__X11TTF.o graf3d/g3d/src/G__G3D.o graf3d/x3d/src/G__X3D.o gui/fitpanel/src/G__FitPanel.o gui/ged/src/G__Ged.o gui/gui/src/G__Gui1.o gui/gui/src/G__Gui2.o gui/gui/src/G__Gui3.o gui/guibuilder/src/G__GuiBld.o gui/guihtml/src/G__GuiHtml.o gui/recorder/src/G__Recorder.o gui/sessionviewer/src/G__SessionViewer.o hist/hist/src/G__Hist.o hist/histpainter/src/G__HistPainter.o hist/spectrum/src/G__Spectrum.o hist/spectrumpainter/src/G__Spectrum2Painter.o html/src/G__Html.o io/io/src/G__IO.o io/sql/src/G__SQL.o io/xml/src/G__XML.o math/foam/src/G__Foam.o math/fumili/src/G__Fumili.o math/genvector/src/G__GenVector32.o math/genvector/src/G__GenVector.o math/mathcore/src/G__MathCore.o math/mathcore/src/G__MathFit.o math/mathcore/src/G__Math.o math/matrix/src/G__Matrix.o math/minuit/src/G__Minuit.o math/mlp/src/G__MLP.o math/physics/src/G__Physics.o math/smatrix/src/G__Smatrix32.o math/smatrix/src/G__Smatrix.o math/splot/src/G__SPlot.o montecarlo/eg/src/G__EG.o montecarlo/vmc/src/G__VMC.o net/net/src/G__Net.o proof/proof/src/G__Proof.o proof/proofbench/src/G__ProofBench.o proof/proofplayer/src/G__ProofDraw.o proof/proofplayer/src/G__ProofPlayer.o tree/tree/src/G__Tree.o tree/treeplayer/src/G__TreePlayer.o tree/treeviewer/src/G__TreeViewer.o lib/libRoot.a -lXpm -lXext -lX11 -lm -ldl -pthread -rdynamic -L/usr/lib64 -lpcre -lfreetype -lssl -lcrypto -lXft -lz -llzma
g++: erreur: main/src/rmain.o: Aucun fichier ou dossier de ce type
Makefile:1115: recipe for target ‘bin/roota’ failed[/quote]
If I type only “make”, compilation finishes without any problem.

Note that exactly the same procedure compiles without any problem on ROOT 6.04 (same configure parameters and “make static”)

EDIT: I managed to compile using “make static”, doing just “make” after the error. Thus, the compilation succeeds. After that I did again “make static” and then the compilation of “bin/roota” succeeds while it failed the first time.

Probably a missing dependency. I’ll have a look.