[ROOT] icc fails to compile root 3.05/05

From: Alexandr Malusek (Alexandr.Malusek@imv.liu.se)
Date: Sat May 31 2003 - 20:27:25 MEST


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



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