Hello! Apologies for not specifying more: Yes, I checked I have libMinuit.so in my path in -L option. I have tried both ROOT 3.05 and 4.00. I am attaching a tar which contains all sources and Makefile. My system is Fedora II, I use root-config --cflags and root-config --libs. main() is in Response_draw.cpp, problem occurs in fitResponse.cpp. Thank you very much, jiri kvita On Tue, 26 Oct 2004, Rene Brun wrote: > Are you linking with libMinuit ? > > Which version are you using? > see: http://root.cern.ch/root/roottalk/RoottalkRules.html > > Rene Brun > > Jiri Kvita wrote: > > > > Hello! > > > > I would like to ask whether there is a problem using TFitter and TMinuit > > in a Makefile-based compiled code? > > Both g++ and KCC are complaining not to know the TFitter constructor, e.g. > > // this is fine: > > TFitter* fitter = 0; > > // this complains: > > Int_t Npar=5; > > TFitter* fitter = new TFitter(Npar); > > > > g++: > > undefined reference to `TFitter::TFitter[in-charge](int)' > > KCC: > > undefined reference to `TFitter::__ct(int)' > > > > Thanks a lot indeed for any hint! > > > > jiri kvita > > > > .\|/. > > --o-- > > '/|\' > > _|_ > > \_/ > > > > ---------------------------------------------------------------------- > > Jiri Kvita, jiri.kvita@cern.ch, kvita@fnal.gov, qitek@matfyz.cz > > http://qitek.matfyz.cz > > Charles University, Prague, Faculty of Mathematics and Physics > > Institute of Particle and Nuclear Physics > > FyzWeb - pages on physics! (in Czech) http://fyzweb.cuni.cz > > ----------------------------------------------------------------------- > > > > -------------------------------------------------------------------------------- > > Name: fit.cpp > > fit.cpp Type: Plain Text (TEXT/PLAIN) > > Encoding: BASE64 > -- .\|/. --o-- '/|\' _|_ \_/ ---------------------------------------------------------------------- Jiri Kvita, jiri.kvita@cern.ch, kvita@fnal.gov, qitek@matfyz.cz http://qitek.matfyz.cz Charles University, Prague, Faculty of Mathematics and Physics Institute of Particle and Nuclear Physics FyzWeb - pages on physics! (in Czech) http://fyzweb.cuni.cz -----------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET