ROOT 2.00.13b with KAI 3.3

From: Pasha Murat (murat@cdfsga.fnal.gov)
Date: Fri Dec 04 1998 - 18:56:02 MET


Stephen Bailey writes:
 > 
 > Hi.  I'm trying to use ROOT 2.00.13b compiled for KAI 3.3
 > (obtained from Fermilab fnkits distribution) on a FNAL Linux 5.0.2
 > (approximately RedHat 5.1) machine.  When trying to follow the example
 > "The CINT Dictionary Generator" from the tutorials, I get the following
 > for the first example:
 > 
 >   heplcdf1:/home/bailey/cpv/dsk/test> make
 >   make: *** No rule to make target `main.o', needed by `myroot'.  Stop.
 > 
 > If I try to run rootcint by hand, I get:
 > 
 >   heplcdf1:/home/bailey/cpv/dsk/test> rootcint mydict.C -c MyClass.h
 >   Note: operator new() masked 1c
 >   Note: operator delete() masked 1c
 >   rootcint: error in loading shared libraries
 >   : undefined symbol: Init__12G__ClassInfoFv
 > 
 > The modified flags I use in the Makefile are:
 >  
 >   CXXFLAGS      = -g +K0 -O0 --no_exceptions -fPIC -I$(ROOTSYS)/include
 >   LDFLAGS       = -g --no_exceptions
 >   LD            = KCC
 > 
 >   LIBS          = $(ROOTSYS)/lib/*.sl -lXm -lXt -lX11 -lm -lPW -ldld -ldl
 > 
 > Has someone out there tried rootcint, etc. on this version of
 > ROOT compiled with KAI 3.3, or otherwise have advice?
 > 
 > Thanks.
 > 
 > Stephen
 > 
 > 

Hi Stephen: I suspect you didn't configure LD_LIBRARY_PATH properly. 
The following works with the ROOT distribution taken from the same 
source (Fermilab fnkits distribution):

/home/murat/run2>uname -a
Linux cdfpca.fnal.gov 2.0.33 #2 Fri Mar 13 15:53:29 CST 1998 i686 unknown
/home/murat/run2>which rootcint
/usr/products/root/v2_00_13b/bin/rootcint
/home/murat/run2>echo $LD_LIBRARY_PATH
.:/usr/products/root/v2_00_13b/lib
/home/murat/run2>cat test.h
class test {
};
/home/murat/run2>rootcint -f test_cint.cxx -c test.h
Note: operator new() masked 1c
Note: operator delete() masked 1c
Class test: Streamer() not declared
Class test: ShowMembers() not declared

					regards, pasha



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