Hi Jeff, Between 2.22 and 2.25, we made an important library reorganization. You should specify -lMinuit in your list of libs when linking your application. We provide a small utility in $ROOTSYS/bin/root-config to automatically generate the necessary libs. do root-config --libs to show the list of libsrequired by a non-graphics application root-config --glibs for an application with graphics libs. See an example of use in $ROOTSYS/test/Makefile Rene Brun On Wed, 4 Oct 2000, Jeff Patterson wrote: > Hi all, > > Thank you for the help with the compiler question I had yesterday. > So I got the latest source (2.25-03) and I built everthing on my machine, > using the SUSE 6 compiler. Now I have another problem that I don't quite > understand yet. > > My application uses TMinuit and now the linking can't find > TMinuit::TMinuit(int), here's is the compiler message > > TAnalPow.o(.text+0x1fb7): undefined reference to `TMinuit::TMinuit(int)' > > I notice that now minuit has it's own directory under the root system, > where it did not used to. Prevesiously I was using 2.22-09. So what's > changed ? > > Do I just have to change something in the makefile to include the minuit > library or what. > > Thank you in advance, > Jeff Patterson > Univ of Colorado > > >
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:34 MET