GNOME Bugzilla – Bug 605337
check_log.c:44: error: static declaration of ‘localtime_r’ follows non-static declaration
Last modified: 2010-01-04 16:19:19 UTC
Compilation from latest git is broken with the following errors: Making all in libcheck CC check_log.o check_log.c:44: error: static declaration of ‘localtime_r’ follows non-static declaration /usr/include/time.h:248: note: previous declaration of ‘localtime_r’ was here make[6]: *** [libcheckinternal_la-check_log.lo] Error 1 It seems that HAVE_LOCALTIME_R is supposed to be defined, given my platform, but isn't.
So (just curious) what was the problem then?
it went away after i touched config.h, where the macro in question was defined.
Just for the record, it also happened here in a fresh ubuntu 9.10 install and disappeared after re-running configure.
Also see bug #605930 - seems to be something to do with shave.