Re: Trouble compiling & linking on DEC?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Oct 28 1999 - 19:21:07 MEST


Hi Francisco,

Which version are you using ?
On some Alpha systems, depending the combination of CXX and the loader,
we had experienced problems with dynamically linked libraries.

In version 2.23, we have restructured the libraries. In the case of
Alphas,
the new library libCore is prelinked with libHist and libGraf.
This bypasses all the problems previously reported in version 2.21 or
2.22.

I STRONGLY suggest to users of Root on Alphas and using the CXX version
to move to the recently released version 2.23/07.
Before changing versions, read carefully the 2.23 release notes to
understand
the new library structure.
In your particular example, you will have to change the link sequence
to:

cxx -O0 -o panc
read4.cxx -I$ROOTSYS/include -L$ROOTSYS/lib -lCore -lCint -lGraf
-lGraf3d -lHist -lMatrix -lMinuit -lPostscript -lProof -lRint -lTree
-lGpad -lGui -lm

You can remove from the above list, -lMatrix, -lMinuit, -lPostscript,
etc
if you do not use classes in these libraries.

Rene Brun

Francisco Yumiceva wrote:
> 
> Hi,
> I tried to link my file on my DEC but it doesn't work.
> Can somebody help me?
> 
> cxx -O0 -o panc
> read4.cxx -I$ROOTSYS/include -L$ROOTSYS/lib -lNew -lBase -lCint -lClib -lCon
> t -lFunc -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMeta -lMinuit -lNet -lPost
> script -lProof -lRint -lTree -lUnix -lZip -lGpad -lGui -lGX11 -lX3d -L/usr/X
> 11R6/lib -lXpm -lX11 -lm
> 
> Francisco



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