Re: [ROOT] problems compiling routins containing TFILE

From: Andre Holzner (Andre.Holzner@cern.ch)
Date: Tue Feb 20 2001 - 13:07:29 MET


Norbert Danneberg wrote:
> 
> Hi!
> 
> After a System-update to SuSe 7.0 and after changing the shell for the
> user that runs root from tcsh to bash:
> I'm not able to compile my root-routines containing TFile
> [ Char_t ReportFileName[1024];
>   TFile* ReportFile= new TFile(ReportFileName,"RECREATE");
>  leads to
>   undefined reference to `TFile::TFile(char const *,
>   char const *, char const *, int)'c ]
> 
> It looks like an not correcly set environment variable or library path,
> but I thought I had done everything correctly.
> 
Hi,

have you moved your 

  export ROOTSYS=... 

etc.

statements to the corresponding tcsh startup files ?
(e.g. ~/.tcshrc or ~/.cshrc -- see man tcsh) 
(and modifying them to the csh style setenv ...)


André

-- 
------------------+----------------------------------
Andre Holzner     | +41 22 76 76750 
Bureau 32 2-C13   | Building 32     
CERN              | Office 2-C13    
CH-1211 Geneve 23 | http://wwweth.cern.ch/~holzner/



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:37 MET