Hi Konstantin, note that icc v7.1 is not supposed to work with RH8. You need icc v8beta on RH >=8. Cheers, Fons. On Fri, 2003-08-22 at 18:39, Konstantin Olchanski wrote: > > On Fri, 2003-08-22 at 05:53, Konstantin Olchanski wrote: > > > FWIW, I had to make these changes to ROOT v3-05-07 to compile it with > > > Intel compiler icc "Version 7.1 Build 20030813Z": > > Forgot to specify- this is on Red Hat Linux 8.0 with current errata. > > > > add #include <sys/types.h> and <sys/time.h> for "struct timespec" > > > add #define __SWORD_TYPE int for #include <sys/vfs.h> > > > manually define setresuid() and setresgid() > > > > > > I do not quite understand why these changes are required- the /usr/include > > > headers appear to have all the right definitions. Maybe intel are playing > > > games with header files? > > > > > > Anyway, here is a pseudo cvs diff of changed files: > > > > > > Index: gui/src/TGFSContainer.cxx > > > =================================================================== > > > RCS file: /user/cvs/root/gui/src/TGFSContainer.cxx,v > > > retrieving revision 1.12 > > > diff -r1.12 TGFSContainer.cxx > > > > #include <sys/time.h> > > > Index: net/src/TAuthenticate.cxx > > > =================================================================== > > > RCS file: /user/cvs/root/net/src/TAuthenticate.cxx,v > > > retrieving revision 1.9 > > > diff -r1.9 TAuthenticate.cxx > > > > #include <sys/types.h> > > > Index: proofd/src/proofd.cxx > > > =================================================================== > > > RCS file: /user/cvs/root/proofd/src/proofd.cxx,v > > > retrieving revision 1.32 > > > diff -r1.32 proofd.cxx > > > > // Kludge the definition of setresuid() and setresgid() > > > > #include <unistd.h> > > > > extern "C" int setresuid (__uid_t __euid, __uid_t __ruid, __uid_t __suid); > > > > extern "C" int setresgid (__gid_t __egid, __gid_t __rgid, __gid_t __sgid); > > > Index: rootd/src/rootd.cxx > > > =================================================================== > > > RCS file: /user/cvs/root/rootd/src/rootd.cxx,v > > > retrieving revision 1.51 > > > diff -r1.51 rootd.cxx > > > > // Kludge the definition of setresuid() and setresgid() > > > > #include <unistd.h> > > > > extern "C" int setresuid (__uid_t __euid, __uid_t __ruid, __uid_t __suid); > > > > extern "C" int setresgid (__gid_t __egid, __gid_t __rgid, __gid_t __sgid); > > > > // Why does the __SWORD_TYPE definition from bits/types.h not work? > > > > #define __SWORD_TYPE int > > > Index: unix/src/TUnixSystem.cxx > > > =================================================================== > > > RCS file: /user/cvs/root/unix/src/TUnixSystem.cxx,v > > > retrieving revision 1.66 > > > diff -r1.66 TUnixSystem.cxx > > > > // Why does __SWORD_TYPE definition in /usr/include/bits/types.h not work? > > > > # define __SWORD_TYPE int > > > .... > > > < const char *cppfiltarg = "--format=gnu-new-abi"; > > > > const char *cppfiltarg = ""; > > -- > > 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 -- 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:15 MET