Re: [ROOT] icc fails to compile root 3.05/05

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Mon Jun 02 2003 - 17:18:26 MEST


Hi Alexandr,

  I run with the same patch level of the icc compiler on RH 7.2 and
RH7.3 and I've not this problem.

Cheers, Fons.


On Sat, 2003-05-31 at 20:27, Alexandr Malusek wrote:
> Hi,
> 
> icc (intel-icc7-7.1-14, Version 7.1 Build 20030507Z) fails to compile
> root 3.05/05 on my system:
> 
> $ gmake
> icc -O -Iinclude  -D_REENTRANT -o net/src/TAuthenticate.o -c net/src/TAuthenticate.cxx
> /usr/include/bits/stat.h(70): error: incomplete type is not allowed
>       struct timespec st_atim;          /* Time of last access.  */
>                       ^
> 
> /usr/include/bits/stat.h(71): error: incomplete type is not allowed
>       struct timespec st_mtim;          /* Time of last modification.  */
>                       ^
> 
> /usr/include/bits/stat.h(72): error: incomplete type is not allowed
>       struct timespec st_ctim;          /* Time of last status change.  */
>                       ^
> 
> compilation aborted for net/src/TAuthenticate.cxx (code 2)
> gmake: *** [net/src/TAuthenticate.o] Error 2
> 
> 
> My configuration:
> SuSE Linux 8.2 (with current updates), IA32.
> $ export ROOTSYS=/usr/local/sci/root-3.05.05_icc/
> $ cd $ROOTSYS
> $ ./configure linuxicc
> $ gmake
> 
> gcc (3.3) compiles root 3.05/05 OK.  Is there a bug in the icc
> compiler or is there a problem with my configuration?
> 
> Thanks,
> Alexandr Malusek
-- 
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 : Thu Jan 01 2004 - 17:50:12 MET