After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 605337 - check_log.c:44: error: static declaration of ‘localtime_r’ follows non-static declaration
check_log.c:44: error: static declaration of ‘localtime_r’ follows non-static...
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
unspecified
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-12-23 21:29 UTC by Tristan Matthews
Modified: 2010-01-04 16:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tristan Matthews 2009-12-23 21:29:09 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.
Comment 1 Tim-Philipp Müller 2009-12-25 13:39:21 UTC
So (just curious) what was the problem then?
Comment 2 Tristan Matthews 2009-12-26 04:58:10 UTC
it went away after i touched config.h, where the macro in question was defined.
Comment 3 Thiago Sousa Santos 2010-01-04 16:05:15 UTC
Just for the record, it also happened here in a fresh ubuntu 9.10 install and disappeared after re-running configure.
Comment 4 Tim-Philipp Müller 2010-01-04 16:19:19 UTC
Also see bug #605930 - seems to be something to do with shave.