Re: [ROOT] Trying to link against root libraries

From: Dr. John Krane (jkrane@netzero.com)
Date: Tue Jun 24 2003 - 23:53:47 MEST


Dear all,

Here is the problem with my makefile:


> #ROOTLIBS      = -L$(ROOTSYS)/lib -lNew -lBase -lCint -lClib -lCont -lFunc \
> ROOTLIBS      = -L$(ROOTSYS)/lib -lNew  -lCint -lClib -lCont -lFunc \
>                  -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMeta -lMinuit
> -lNet \
>                  -lPostscript -lProof -lTree -lUnix -lZip
> ROOTGLIBS     = -lGpad -lGui -lGX11 -lX3d

See how I have commented out the first line of rootlibs?  (-lBase was 
not found, so I tried compiling/linking with that library removed.) 
Well, the "\" character at the end of the line is not ignored!  So my 
*entire* ROOTLIBS definition is commented out!

The fix is to remove that "\".

Thanks Philippe.  Your debug line made it easy to find!

	- John



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET