[ROOT] Linking TFile Disaster

From: Jeff Patterson (jeffp@drax.colorado.edu)
Date: Wed Oct 04 2000 - 01:17:24 MEST


Hi all,

	I am in desperte need of help.  Here is my situation.  I have a
TApplication that I built using ROOT classes.  When I developed the
application I was using RedHat 6.0.  It compiled fine (using g++).  I have 
recently updated my OS to SUSE 6.4 and when I tired to compile my 
application for the first time since the upgrade, it now breaks in the
linking stage, specefically

/tmp/cclKc3Hm.o: In function `main':
/tmp/cclKc3Hm.o(.text+0x67): undefined reference to `TFile::TFile(char
const *, char const *, char const *, int)'
collect2: ld returned 1 exit status
make: *** [test] Error 1

So it looks like I can no longer link to TFile::TFile().  TFile seems to
be the only class I am having a problem with.  I have built little test
apps that dont use TFile and they compile fine.

The code has not been changed at all.  It's just the linking stage I think
I am having problems with.

I use root 2.22-09, but have downloaded 2.25-03, and I also get the same
error when useing those libraries..

Could anything in g++ have changed from RedHat 6.0 to SUSE 6.4 ?  Do I
need to change something in my Makefile.

I am desperate to get this to work again, as my PhD thesis depends upon
it.


				Thanks in advance,
				Jeff Patterson
				Univ. of Colorado



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:34 MET