rootcint & library

From: Pasha Murat (murat@cdfsga.fnal.gov)
Date: Mon May 04 1998 - 18:24:25 MEST


Jose Carlos Gonzalez writes:
 >   I'm getting a lot of troubles with the (last?) version of
 > rootcint. When trying to compile the "test" Event program, with
 > the standard Makefile, I got the same problems. I think the
 > command line arguments has changed. Now, when I try something
 > like:
 > 
 > # rootcint -f myfileCint.C -c myfile.h LinkDef.h
 > 
 > I enter in interactive mode, and when exit there's no
 > myfileCint.C.
 > 
 > I get something with
 > 
 > # rootcint -c -1 myfile.h LinkDef.h
 > 
 > but now the name is always G__cpplink.{C,h} 


	Hello Jose Carlos, 

using ROOT 2.00/05 compiled for SGI-6.2/GCC I can't reproduce the problem 
you described. `-f' option does what it is supposed to do. If the problem still
persists could you specify platform/compiler you are using and send a *full* 
report (including Makefile and source files) to rootdev@root.cern.ch ?

 > 
 > Another problem, I don't know whether related to the previous
 > one. I have the following 3 files (similar to those distributed):
 > 
 > TEventHeader.hxx,cxx : defines the class TEventHeader
 > TEvent.hxx,cxx : defines the class TEvent:public TObject
 > TCphoton.hxx,cxx : defines the class TCphoton:public TObject
 > 
 > I create the corresponding static library, and I create a simple
 > program that uses these classes (GetTimeDistrib). Everything
 > compile and link. But when I execute it, it says:
 > 
 > 8118:GetTimeDistrib: /sbin/loader: Fatal Error: unresolvable 
 > symbol in /usr/users/gonzales/c520/root/libEvent.so:
 > ShowMembers__6TEventXR16TMemberInspectorPc
 > 
 > What's the matter with this symbol?? I cannot find it anywhere.
 > 

The same suggestion: please supply more information and send it to
rootdev mailing list, not to roottalk.

						Regards, Pasha.



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