|
Following a server crash today and an upgrade from SuSE 6.4 to SuSE 7.2, I found an compile error in
iDirt cause by the upgrade.
Since the gcc version was changing, as were many of the libraries, I decided to recompile the system. When the recompile hit timing.c, errors were thrown up everywhere relating to "struct tm". This struct is defined in time.h and a check of the system found several (use the locate command). The iDirt file, timing.c, was referring to <sys/time.h>, which referred to /usr/include/sys/time.h. A check of this file did not find the struct defined in it. A check of the time.h just below it (/usr/include/time.h) did have the struct defined. This is a simple change to make in timing.c that should only be necessary if you encounter the problem I did. |