[ROOT] problem in compiling custom root ??

From: HP Wei (hp@rentec.com)
Date: Tue Mar 04 2003 - 22:35:49 MET


I have a script that defines a class B
in which there is a member function fx() that draws
a plot using TGraph.

In the standard root-cint,  I can interactively
and repetitively call fx() many times to draw different 
plots.  (Oh!  This is after I close my netscape and mozilla.)
Things look ok.
Immediately after this, I do the following.

In a custom made root-cint (myroot),  
the first time I call fx() the plot is ok.
The second time I call fx(), it gives me those two messages again,
and the canvas frame just freezes.
Error in <RootX11ErrorHandler>: BadAccess (attempt to access private resource 
denied) (XID: 0, XREQ: 88)
Error in <RootX11ErrorHandler>: BadAlloc (insufficient resources for operation) 
(XID: 0, XREQ: 84)

------------------------------------------------------
I checked my Makefile used to make myroot.
The libraries that are linked contain: 
ROOTLIBS     := $(shell root-config --libs)
which is:
-L/home/hp/ROOT/lib -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint 
-lPostscript -lMatrix -lPhysics -L/usr/ccs/lib -lm -lsocket -lgen -ldl

(In addition to these libs, myroot also links in our class libs.)

Can anyone shed some light on what goes wrong in the custom myroot
described above ???

[Sun Solaris,  standard root-cint: 3.05/2  5.15.76]
thanks,
HP



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