Linker problems on Linux, TMinuit

From: Klaus Kirch (kirch@lanl.gov)
Date: Thu Dec 02 1999 - 19:04:16 MET


Hi,

I have seen Paul's and Dan's linker problems on Linux. I'm having
similar
problems with TMinuit (see error message below).
There are no includes from older versions on my
machine, my current ROOT version is
  *******************************************
  *                                         *
  *        W E L C O M E  to  R O O T       *
  *                                         *
  *   Version   2.23/08   2 November 1999   *
  *                                         *
  *  You are welcome to visit our Web site  *
  *          http://root.cern.ch            *
  *                                         *
  *******************************************

CINT/ROOT C/C++ Interpreter version 5.14.21, Oct 22 1999


Are there any ideas?

Klaus


>g++ -g -v pdf_fit.o -L/usr/local/cern/root/lib -lNew -lCore -lCint
-lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript >-lMatrix
-lPhysics -lm -ldl -rdynamic -o pdf_fit
>Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.91.66/specs
>gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
 >/usr/lib/gcc-lib/i486-linux/egcs-2.91.66/collect2 -m elf_i386
-export-dynamic -dynamic-linker /lib/ld-linux.so.2 -o pdf_fit
>/usr/lib/crt1.o /usr/lib/crti.o
/usr/lib/gcc-lib/i486-linux/egcs-2.91.66/crtbegin.o
-L/usr/local/cern/root/lib >-L/usr/lib/gcc-lib/i486-linux/egcs-2.91.66
-L/usr/i486-linux/lib pdf_fit.o -lNew -lCore -lCint -lHist -lGraf
-lGraf3d -lGpad -lTree >-lRint -lPostscript -lMatrix -lPhysics -ldl
-lstdc++ -lm -lgcc -lc -lgcc
/usr/lib/gcc-lib/i486-linux/egcs-2.91.66/crtend.o >/usr/lib/crtn.o
>pdf_fit.o: In function `main':
>pdf_fit.o(.text+0x600): undefined reference to `TMinuit::TMinuit(int)'
>collect2: ld returned 1 exit status
>make: *** [pdf_fit] Error 1
>make: Target `all' not remade because of errors.
>
>Compilation exited abnormally with code 2 at Thu Dec  2 10:54:47


--
Klaus Kirch
Los Alamos National Laboratory
H-803
Los Alamos, NM 87545
U.S.A.

Phone   +1 505 665 3821
Fax     +1 505 665 4121

email   kirch@lanl.gov



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:43 MET