?cause of error? /usr/include/bits/stat.h field 'st_atim' has incomplete type
What is the cause of the following compile errors?
/usr/include/bits/stat.h field 'st_atim' has incomplete type
/usr/include/bits/stat.h field 'st_ctim' has incomplete type
/usr/include/bits/stat.h field 'st_mtim' has incomplete type
7 instances of these 3 errors are reported during the compile process.
----- background -----
I want to continue developing a C/C++ program that compiled and worked correctly on fedora8 with old eclipse IDE/CDT several months ago. I built a new computer with a quad-core phenom 9850 and installed the latest version of 32-bit ubuntu (8.04.1 LTS) and the latest version of the eclipse IDE/CDT (ganymede) and the latest version of java (1.6.0_06-b02) - which eclipse needs to function.
My code includes <time.h> and <sys/time.h>, but not much else that seems likely to cause such a problem. Besides, the errors imply (to me) some kind of internal inconsistency in the system headers (and/or the symbols they #define).
I am far from being a guru in these areas, but I know lots of you are. So, "please help!". Thanks. (I'm probably wrong, but the problem might be with "timespec").
|