Compilation error /usr/include/bits/stat.h(70): error: incomplete type is not allowed

Compilation error /usr/include/bits/stat.h(70): error: incomplete type is not allowed

Hi all,

I'm getting the following error during compilation.
/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. */
^

/usr/include/sys/errno.h(1): catastrophic error: #include file "/usr/include/sys/errno.h" includes itself
#include
Glibc Version : glibc-2.3.2-95.30
Icc Version 8

Can any one tell me what i'm doing wrong.Whether i need to install any patch to fix this.I saw some posts in this mailing list which sayssimilar problems will be fixed in version 8.But i'm currently running under version 8.

Thanks for your time and effort
Cheers
Angay

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.