Re: [ROOT] help

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Tue Aug 29 2000 - 01:46:19 MEST


Hi Elisa,

   there seems to be something wrong with your installation. The list
of root libraries needed to link the application are provided by the
script root-config.

Try this in some shell:

   root-config --libs 

Does this produce a list of libraries? If not check if $ROOTSYS/bin/root-config
exists and is executable. Also make sure that $ROOTSYS/bin is in your
path.

Cheers, Fons


On Mon, Aug 28, 2000 at 06:03:34PM +0200, Elisa Falchini wrote:
> 
> to whom I concern,
> I've already downloaded the version of root root_v2.25.02.OSF1.V4.0  and
> tried to install it on an Alpha/OSF1 with the gcc compiler's version  
> egcs-2.91.66 19990314 (egcs-1.1.2 release).
> The interactive version works fine as well as the examples in the
> directory called tutorials, while I don't manage to run the makefile in
> the test directory.
> The output is as follows:
> 
> 
> g++ -O -Wall -fPIC -I/cern/pro/bin/root/include -c Event.cxx
> g++ -O -Wall -fPIC -I/cern/pro/bin/root/include -c EventDict.cxx
> g++ -Wl,-expect_unresolved,* -shared -O  Event.o  EventDict.o -o 
> libEvent.so
> libEvent.so done
> g++ -O -Wall -fPIC -I/cern/pro/bin/root/include -c MainEvent.cxx
> g++ -O  MainEvent.o libEvent.so    -o Event
> /bin/ld:
> Unresolved:
> TROOT::TROOT(char const *, char const *, void (**)(void))
> TROOT::~TROOT(void)
> TStopwatch::TStopwatch(void)
> TStopwatch::~TStopwatch(void)
> TStopwatch::Start(unsigned char)
> TStorage::ObjectAlloc(unsigned long)
> TFile::TFile(char const *, char const *, char const *, int)
> TStopwatch::RealTime(void)
> TStopwatch::Continue(void)
> gRandom
> TH1F::TH1F(char const *, char const *, int, double, double)
> TDirectory::TDirectory(char const *, char const *, char const *)
> TTree::TTree(char const *, char const *, int)
> TStopwatch::Stop(void)
> TStopwatch::CpuTime(void)
> g++ -O -Wall -fPIC -I/cern/pro/bin/root/include -c Event.cxx
> g++ -O -Wall -fPIC -I/cern/pro/bin/root/include -c EventDict.cxx
> g++ -Wl,-expect_unresolved,* -shared -O  Event.o  EventDict.o -o 
> libEvent.so
> libEvent.so done
> g++ -O -Wall -fPIC -I/cern/pro/bin/root/include -c MainEvent.cxx
> g++ -O  MainEvent.o libEvent.so    -o Event
> /bin/ld:
> Unresolved:
> TROOT::TROOT(char const *, char const *, void (**)(void))
> TROOT::~TROOT(void)
> TStopwatch::TStopwatch(void)
> TStopwatch::~TStopwatch(void)
> TStopwatch::Start(unsigned char)
> TStorage::ObjectAlloc(unsigned long)
> TFile::TFile(char const *, char const *, char const *, int)
> TStopwatch::RealTime(void)
> TStopwatch::Continue(void)
> gRandom
> TH1F::TH1F(char const *, char const *, int, double, double)
> TDirectory::TDirectory(char const *, char const *, char const *)
> TTree::TTree(char const *, char const *, int)
> TStopwatch::Stop(void)
> TStopwatch::CpuTime(void)
> TObject::~TObject(void)
> TObject::operator delete(void *)
> collect2: ld returned 1 exit status
> *** Exit 1
> Stop.
> 
> Have yougot any suggestion? In case please let me know.
> Thanks for your attention.
> 
> Best regards
> 
> 	Elisa

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



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