Hello,
I upgrade my machine fedora 7 to Fedora 10, then, I downloaded root-5.21 , compiled it and installed it.
Then my application using Minuit2 failed (I cannot really tell why,
memory leak ?), so I decided to recompile Minuit2.5.20
make:
.configure
make
make check,
but this failed:
make[2]: Entering directory
`/usr/src/misc/Minuit2/Minuit2-5.20.00/test/MnSim'
make test_Minuit2_DemoGaussSim test_Minuit2_DemoFumili
test_Minuit2_PaulTest test_Minuit2_PaulTest2 test_Minuit2_PaulTest3
test_Minuit2_PaulTest4 test_Minuit2_ReneTest
make[3]: Entering directory
`/usr/src/misc/Minuit2/Minuit2-5.20.00/test/MnSim'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../inc -g -O2 -Wall -MT
GaussDataGen.o -MD -MP -MF ".deps/GaussDataGen.Tpo" -c -o GaussDataGen.o
GaussDataGen.cxx; \
then mv -f ".deps/GaussDataGen.Tpo" ".deps/GaussDataGen.Po"; else rm -f ".deps/GaussDataGen.Tpo"; exit 1; fi In file included from GaussDataGen.cxx:12: GaussRandomGen.h: In member function ‘double ROOT::Minuit2::GaussRandomGen::operator()() const’:
GaussRandomGen.h:36: error: ‘rand’ is not a member of ‘std’ GaussRandomGen.h:36: error: ‘RAND_MAX’ was not declared in this scope GaussRandomGen.h:37: error: ‘rand’ is not a member of ‘std’In file included from GaussDataGen.cxx:13: FlatRandomGen.h: In member function ‘double ROOT::Minuit2::FlatRandomGen::operator()() const’: FlatRandomGen.h:35: error: ‘rand’ is not a member of ‘std’ FlatRandomGen.h:35: error: ‘RAND_MAX’ was not declared in this scope make[3]: *** [GaussDataGen.o] Error 1
Why ?
In addition, I do not understand why the compilation did not create the libMinuit2.so files ?
Am I not supposed to do a make install then ?
I do not find the instruction in:
mnusersguide.pdf
thank for your help.
This archive was generated by hypermail 2.2.0 : Mon Dec 08 2008 - 11:50:02 CET