Re: [ROOT] ROOT v3.05/xx - rootcint no longer generates dictionary as before

From: j.d. frankland (nvile@free.fr)
Date: Fri Apr 25 2003 - 14:48:51 MEST






  


Hi,

I downloaded the source tree for 3.05/04 and compiled it - everything seems
to work now !! Thanks a lot!

By the way, my version of glibc is glibc-2.3.2-4.80
This may be a RedHat specific problem - the precompiled binaries for RH7.3
aren't compatible with RH8.0 ? Think I'll wait a while before going up to RH9.0!

Cheers
John

Ken Teh wrote:
Hi John and Phillipe,

Perhaps this is the same problem I encountered with 3.05-03.  The symptom 
is identical, ie, rootcint aborts when generating a dictionary without 
saying much.

I traced this problem to a new glibc on my system.  After recompiling 
3.05-03 from sources, it is now working.

Ken


On Thu, 24 Apr 2003, Philippe Canal wrote:

  
Hi John,

Could you provide me with more information so that I can analyze the
problem.  A stack trace of the rootcint crash would help, or a tar file
containing all necessary file (and the rootcint command line) would be
another way.


    
I also tried the binary for gcc-2.96 on a RedHat 7.3 machine - in this
      
case
    
I got slightly more information:
[franklan@ganp609 ~/KVMultiDet]$ make
Generating dictionary KVMultiDetDict.cpp...
Error: 'long long' not ready. Go to $CINTSYSDIR/lib/longlong and run
      
This message should have disappear in root v3_05_04.  Did you really try
with that version?

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of j.d. frankland
Sent: Thursday, April 24, 2003 10:44 AM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] ROOT v3.05/xx - rootcint no longer generates dictionary
as before


Bonjour René and hello all,

After having a look through the digest and development notes, I would
like to
know if the following is a known problem, because if not I think it will
take me a
long time to work out what is wrong.

We have quite a large project under development for nearly 12 months
which is
based on the ROOT framework. Up until ROOT v3.04/xx everything worked fine,
from v3.05/00 rootcint no longer generates the dictionary file for our
shared library
as it used to do.
With option "-v" the error messages consist only in warnings that
some header files have been loaded already, before aborting the generation:

[john@ganp571 KVMultiDet]$ make
Generating dictionary KVMultiDetDict.cpp...
Note: File "KVList.h" already loaded
Note: File "KVRList.h" already loaded
Note: File "KVNucleus.h" already loaded
Note: File "KVParticle.h" already loaded
Note: File "KVTelescope.h" already loaded
Note: File "KVLayer.h" already loaded
Note: File "KVReconstructedNucleus.h" already loaded
Note: File "KVRingBrowser.h" already loaded
Note: File "KVBrowserWidget.h" already loaded
Note: File "KVDBKey.h" already loaded
Info: Class KVDetector: Do not generate Streamer() [*** custom streamer ***]
make: *** [KVMultiDetDict.cpp] Aborted
make: *** Deleting file `KVMultiDetDict.cpp'

(note that with or without customised streamer, this does not work for
ROOT v3.05/xx,
but still works fine for ROOT <=v3.04 - with exactly the same warnings
in "-v" verbose mode)

That was with v3.05/04 precompiled binary for gcc-3.2 running on a
RedHat 8.0 machine.
I also tried the binary for gcc-2.96 on a RedHat 7.3 machine - in this case
I got slightly more information:

[franklan@ganp609 ~/KVMultiDet]$ make
Generating dictionary KVMultiDetDict.cpp...
Error: 'long long' not ready. Go to $CINTSYSDIR/lib/longlong and run
setup FILE:/usr/local/root/include/Rtypes.h LINE:80
Note: File "KVList.h" already loaded
Note: File "KVRList.h" already loaded
Note: File "KVNucleus.h" already loaded
Note: File "KVParticle.h" already loaded
Note: File "KVTelescope.h" already loaded
Note: File "KVLayer.h" already loaded
Note: File "KVReconstructedNucleus.h" already loaded
Note: File "KVRingBrowser.h" already loaded
Note: File "KVBrowserWidget.h" already loaded
Note: File "KVDBKey.h" already loaded
Warning: Error occured during reading source files
Internal error: G__mark_linked_tagnum() Illegal tagnum -1

Unfortunately I cannot follow the helpful instructions as CINTSYSDIR is
not defined....

Thankyou for any help

John Frankland
GANIL
Caen
France




    



  



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