rootcint & library

From: Jose Carlos Gonzalez (gonzales@mppmu.mpg.de)
Date: Mon May 04 1998 - 14:02:10 MEST


  Hi, ROOTers,

  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} 

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.

Thanks a lot,

  J C
__ 

 "But what ... is it good for?"
   (Engineer at the Advanced Computing Systems Division of IBM, 1968, 
    commenting on the microchip.)

====================================================================
   *    J. C. Gonzalez                   
  .     ------------------------------------------------------------  
  .     Max-Planck-Institut fuer Physik        Tel.: +49 89 32354445
   .    (Werner-Heisenberg-Institut)           Fax : +49 89 3226704   
     *  Foehringer Ring, 6          ... . .... . ..... ......... .. 
 .      D-80805 Muenchen            E-mail: gonzalez@mppmu.mpg.de
   .    Deutschland                    WWW: www.gae.ucm.es/~gonzalez
====================================================================



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