Re: [ROOT] icc compile error??

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Sat May 25 2002 - 00:32:44 MEST


The icc v6 compiler as currently released miss compiles one CINT routine
in optimization mode. Take ROOT from CVS where in the makefile this
routine is compiled with -O0 and thereby avoids the problem you observe.

The problem has been reported to Intel and I expect soon an update to
the compiler that fixes this issue.


Cheers, Fons.


PS: the CINT file in question is cint/src/struct.c



On Fri, 2002-05-24 at 23:55, Ahmet Sedat Ayan wrote:
> 
> Hi,
> I am getting the following error while compiling ROOT with "icc"
> Anyone has any idea what the problem might be??
> 
> thanks a lot...
> 
> cheers,
> ahmet
> 
> -----------------8<-------------------------------------------
> ...
> ...
> ....
> Generating dictionary unix/src/G__Unix.cxx...
> utils/src/rootcint_tmp -f unix/src/G__Unix.cxx -c unix/inc/TUnixSystem.h
> unix/inc/LinkDef.h
> build/unix/depend.sh unix/src/G__Unix.d "-KPIC -Iinclude "
> unix/src/G__Unix.cxx > unix/src/G__Unix.d
> Generating dictionary eg/src/G__EG.cxx...
> utils/src/rootcint_tmp -f eg/src/G__EG.cxx -c eg/inc/TAttParticle.h
> eg/inc/TDatabasePDG.h eg/inc/TDecayChann
> el.h eg/inc/TGenerator.h eg/inc/TParticleClassPDG.h eg/inc/TParticle.h
> eg/inc/TParticlePDG.h eg/inc/TPrimary
> .h eg/inc/LinkDef.h
> Note: File "eg/inc/TParticleClassPDG.h" already loaded
> Error: class,struct,union or type TRotation: not defined
> FILE:include/TRotation.h LINE:144
> Error: class,struct,union or type TRotation: not defined
> FILE:include/TRotation.h LINE:144
> Error: class,struct,union or type [] not defined  FILE:include/TRotation.h
> LINE:144
> Note: File "eg/inc/TParticlePDG.h" already loaded
> Warning: Error occured during reading source files
> Warning: Error occured during dictionary source generation
> !!!Removing eg/src/G__EG.cxx eg/src/G__EG.h !!!
> utils/src/rootcint_tmp: error loading headers...
> gmake: *** [eg/src/G__EG.cxx] Error 1
> ------------------------------8<-----------------------
> 
> ***************
> 
> Ahmet Sedat Ayan		
> 
> Physics & Astronomy Dept.
> Van Allen Hall    
> University of Iowa
> Iowa City, IA, 52242
>   
> Voice      : (++ 1 319) 335-1941 (W) (GMT-6)      
> Occupation : Ph.D Candidate (But still dreamer!)	
> e-mail     : ayan@cms.physics.uiowa.edu
> web        : http://jazz.physics.uiowa.edu/~ayan
> 
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:53 MET